Index: node.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/node/node.module,v
retrieving revision 1.950
diff -u -p -r1.950 node.module
--- node.module 20 Feb 2008 13:46:40 -0000 1.950
+++ node.module 12 Mar 2008 00:58:41 -0000
@@ -1736,8 +1736,13 @@ function node_page_default() {
else {
$default_message = t('
Welcome to your new Drupal website!
Please follow these steps to set up and start using your website:
');
$default_message .= '';
-
- $default_message .= '- '. t('Configure your website Once logged in, visit the administration section, where you can customize and configure all aspects of your website.', array('@admin' => url('admin'), '@config' => url('admin/settings'))) .'
';
+ global $user;
+ if ($user->uid == 1) {
+ $default_message .= '- '. t('Configure your website Visit the administration section, where you can customize and configure all aspects of your website.', array('@admin' => url('admin'), '@config' => url('admin/settings'))) .'
';
+ }
+ else {
+ $default_message .= '- '. t('Configure your website Once logged in, visit the administration section, where you can customize and configure all aspects of your website.', array('@admin' => url('admin'), '@config' => url('admin/settings'))) .'
';
+ }
$default_message .= '- '. t('Enable additional functionality Next, visit the module list and enable features which suit your specific needs. You can find additional modules in the Drupal modules download section.', array('@modules' => url('admin/build/modules'), '@download_modules' => 'http://drupal.org/project/modules')) .'
';
$default_message .= '- '. t('Customize your website design To change the "look and feel" of your website, visit the themes section. You may choose from one of the included themes or download additional themes from the Drupal themes download section.', array('@themes' => url('admin/build/themes'), '@download_themes' => 'http://drupal.org/project/themes')) .'
';
$default_message .= '- '. t('Start posting content Finally, you can create content for your website. This message will disappear once you have promoted a post to the front page.', array('@content' => url('node/add'))) .'
';