Index: includes/bootstrap.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/bootstrap.inc,v
retrieving revision 1.130
diff -u -p -r1.130 bootstrap.inc
--- includes/bootstrap.inc	12 Nov 2006 19:16:09 -0000	1.130
+++ includes/bootstrap.inc	19 Nov 2006 22:35:04 -0000
@@ -26,10 +26,13 @@ define('DRUPAL_BOOTSTRAP_LATE_PAGE_CACHE
 define('DRUPAL_BOOTSTRAP_PATH', 6);
 define('DRUPAL_BOOTSTRAP_FULL', 7);
 
-// These values should match the 'role' table
+// These values should match the 'role' table.
 define('DRUPAL_ANONYMOUS_RID', 1);
 define('DRUPAL_AUTHENTICATED_RID', 2);
 
+// Common values for site wide variables.
+define('DRUPAL_DEFAULT_SITE_NAME', 'Drupal');
+
 /**
  * Start the timer with the specified name. If you start and stop
  * the same timer multiple times, the measured intervals will be
Index: includes/common.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/common.inc,v
retrieving revision 1.587
diff -u -p -r1.587 common.inc
--- includes/common.inc	16 Nov 2006 09:18:22 -0000	1.587
+++ includes/common.inc	19 Nov 2006 22:35:06 -0000
@@ -312,6 +312,8 @@ function drupal_goto($path = '', $query 
 function drupal_site_offline() {
   drupal_set_header('HTTP/1.0 503 Service unavailable');
   drupal_set_title(t('Site off-line'));
+  
+  // DRUPAL_DEFAULT_SITE_NAME deliberatley not used here for the default Drupal site name.
   print theme('maintenance_page', filter_xss_admin(variable_get('site_offline_message',
     t('@site is currently under maintenance. We should be back shortly. Thank you for your patience.', array('@site' => variable_get('site_name', t('This Drupal site')))))));
 }
Index: includes/locale.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/locale.inc,v
retrieving revision 1.95
diff -u -p -r1.95 locale.inc
--- includes/locale.inc	23 Oct 2006 15:52:35 -0000	1.95
+++ includes/locale.inc	19 Nov 2006 22:35:08 -0000
@@ -1124,7 +1124,7 @@ function _locale_export_po($language) {
   // Generating Portable Object file for a language
   if ($language) {
     $filename = $language .'.po';
-    $header .= "# $meta->name translation of ". variable_get('site_name', 'Drupal') ."\n";
+    $header .= "# $meta->name translation of ". variable_get('site_name', DRUPAL_DEFAULT_SITE_NAME) ."\n";
     $header .= '# Copyright (c) '. date('Y') .' '. $user->name .' <'. $user->mail .">\n";
     $header .= "#\n";
     $header .= "msgid \"\"\n";
Index: includes/theme.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/theme.inc,v
retrieving revision 1.321
diff -u -p -r1.321 theme.inc
--- includes/theme.inc	17 Nov 2006 06:53:31 -0000	1.321
+++ includes/theme.inc	19 Nov 2006 22:35:09 -0000
@@ -362,7 +362,7 @@ function theme_page($content) {
   $output = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n";
   $output .= '<html xmlns="http://www.w3.org/1999/xhtml">';
   $output .= '<head>';
-  $output .= ' <title>'. (drupal_get_title() ? strip_tags(drupal_get_title()) : variable_get('site_name', 'Drupal')) .'</title>';
+  $output .= ' <title>'. (drupal_get_title() ? strip_tags(drupal_get_title()) : variable_get('site_name', DRUPAL_DEFAULT_SITE_NAME)) .'</title>';
   $output .= drupal_get_html_head();
   $output .= drupal_get_css();
   $output .= drupal_get_js();
Index: modules/aggregator/aggregator.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/aggregator/aggregator.module,v
retrieving revision 1.313
diff -u -p -r1.313 aggregator.module
--- modules/aggregator/aggregator.module	17 Nov 2006 00:21:44 -0000	1.313
+++ modules/aggregator/aggregator.module	19 Nov 2006 22:35:11 -0000
@@ -1035,7 +1035,7 @@ function aggregator_admin_overview() {
  * Menu callback; displays the most recent items gathered from any feed.
  */
 function aggregator_page_last() {
-  drupal_add_feed(url('aggregator/rss'), variable_get('site_name', 'Drupal') . ' ' . t('aggregator'));
+  drupal_add_feed(url('aggregator/rss'), variable_get('site_name', DRUPAL_DEFAULT_SITE_NAME) . ' ' . t('aggregator'));
 
   return _aggregator_page_list('SELECT i.*, f.title AS ftitle, f.link AS flink FROM {aggregator_item} i INNER JOIN {aggregator_feed} f ON i.fid = f.fid ORDER BY i.timestamp DESC, i.iid DESC', arg(1));
 }
@@ -1056,7 +1056,7 @@ function aggregator_page_source() {
 function aggregator_page_category() {
   $category = db_fetch_object(db_query('SELECT cid, title FROM {aggregator_category} WHERE cid = %d', arg(2)));
 
-  drupal_add_feed(url('aggregator/rss/'. arg(2)), variable_get('site_name', 'Drupal') . ' ' . t('aggregator - @title', array('@title' => $category->title)));
+  drupal_add_feed(url('aggregator/rss/'. arg(2)), variable_get('site_name', DRUPAL_DEFAULT_SITE_NAME) . ' ' . t('aggregator - @title', array('@title' => $category->title)));
 
   return _aggregator_page_list('SELECT i.*, f.title AS ftitle, f.link AS flink FROM {aggregator_category_item} c LEFT JOIN {aggregator_item} i ON c.iid = i.iid LEFT JOIN {aggregator_feed} f ON i.fid = f.fid WHERE cid = '. $category->cid .' ORDER BY timestamp DESC, iid DESC', arg(3));
 }
@@ -1223,7 +1223,7 @@ function aggregator_page_rss() {
 
   $output .= "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n";
   $output .= "<rss version=\"2.0\">\n";
-  $output .= format_rss_channel(variable_get('site_name', t('Drupal')) . ' ' . t('aggregator'), url('aggregator' . $url, NULL, NULL, TRUE), variable_get('site_name', t('Drupal')) . ' - ' . t('aggregated feeds') . $title, $items, 'en');
+  $output .= format_rss_channel(variable_get('site_name', DRUPAL_DEFAULT_SITE_NAME) . ' ' . t('aggregator'), url('aggregator' . $url, NULL, NULL, TRUE), variable_get('site_name', DRUPAL_DEFAULT_SITE_NAME) . ' - ' . t('aggregated feeds') . $title, $items, 'en');
   $output .= "</rss>\n";
 
   drupal_set_header('Content-Type: application/rss+xml; charset=utf-8');
@@ -1244,7 +1244,7 @@ function aggregator_page_opml($cid = NUL
   $output = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n";
   $output .= "<opml version=\"1.1\">\n";
   $output .= "<head>\n";
-  $output .= '<title>'. check_plain(variable_get('site_name', 'Drupal')) ."</title>\n";
+  $output .= '<title>'. check_plain(variable_get('site_name', DRUPAL_DEFAULT_SITE_NAME)) ."</title>\n";
   $output .= '<dateModified>'. gmdate('r') ."</dateModified>\n";
   $output .= "</head>\n";
   $output .= "<body>\n";
Index: modules/blog/blog.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/blog/blog.module,v
retrieving revision 1.267
diff -u -p -r1.267 blog.module
--- modules/blog/blog.module	30 Oct 2006 11:21:33 -0000	1.267
+++ modules/blog/blog.module	19 Nov 2006 22:35:12 -0000
@@ -104,7 +104,7 @@ function blog_feed_user($uid = 0) {
  */
 function blog_feed_last() {
   $result = db_query_range(db_rewrite_sql("SELECT n.nid, n.created FROM {node} n WHERE n.type = 'blog' AND n.status = 1 ORDER BY n.created DESC"), 0, variable_get('feed_default_items', 10));
-  $channel['title'] = variable_get('site_name', 'Drupal') .' blogs';
+  $channel['title'] = variable_get('site_name', DRUPAL_DEFAULT_SITE_NAME) .' blogs';
   $channel['link'] = url('blog', NULL, NULL, TRUE);
   $channel['description'] = $term->description;
   node_feed($result, $channel);
Index: modules/contact/contact.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/contact/contact.module,v
retrieving revision 1.69
diff -u -p -r1.69 contact.module
--- modules/contact/contact.module	7 Nov 2006 12:09:55 -0000	1.69
+++ modules/contact/contact.module	19 Nov 2006 22:35:12 -0000
@@ -365,7 +365,7 @@ function contact_mail_user_submit($form_
   $account = user_load(array('uid' => arg(1), 'status' => 1));
   // Compose the body:
   $message[] = "$account->name,";
-  $message[] = t("!name (!name-url) has sent you a message via your contact form (!form-url) at !site.", array('!name' => $user->name, '!name-url' => url("user/$user->uid", NULL, NULL, TRUE), '!form-url' => url($_GET['q'], NULL, NULL, TRUE), '!site' => variable_get('site_name', 'Drupal')));
+  $message[] = t("!name (!name-url) has sent you a message via your contact form (!form-url) at !site.", array('!name' => $user->name, '!name-url' => url("user/$user->uid", NULL, NULL, TRUE), '!form-url' => url($_GET['q'], NULL, NULL, TRUE), '!site' => variable_get('site_name', DRUPAL_DEFAULT_SITE_NAME)));
   $message[] = t("If you don't want to receive such e-mails, you can change your settings at !url.", array('!url' => url("user/$account->uid", NULL, NULL, TRUE)));
   $message[] = t('Message:');
   $message[] = $form_values['message'];
@@ -380,7 +380,7 @@ function contact_mail_user_submit($form_
   $from = $user->mail;
 
   // Format the subject:
-  $subject = '['. variable_get('site_name', 'Drupal') .'] '. $form_values['subject'];
+  $subject = '['. variable_get('site_name', DRUPAL_DEFAULT_SITE_NAME) .'] '. $form_values['subject'];
 
   // Prepare the body:
   $body = implode("\n\n", $message);
Index: modules/drupal/drupal.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/drupal/drupal.module,v
retrieving revision 1.130
diff -u -p -r1.130 drupal.module
--- modules/drupal/drupal.module	22 Oct 2006 08:28:44 -0000	1.130
+++ modules/drupal/drupal.module	19 Nov 2006 22:35:13 -0000
@@ -48,13 +48,13 @@ print drupal_client_page();
       return t('<p>Using this your site can "call home" to another Drupal server. By calling home to drupal.org and sending a list of your installed modules and themes, you help rank projects on drupal.org and so assist all Drupal administrators to find the best components for meeting their needs. If you want to register with a different server, you can change the Drupal XML-RPC server setting -- but the server has to be able to handle Drupal XML. Some XML-RPC servers may present directories of all registered sites. To get all your site information listed, go to the <a href="@site-settings">site information settings page</a> and set the site name, the e-mail address, the slogan, and the mission statement.</p>', array('@site-settings' => url('admin/settings/site-information')));
     case 'user/help#drupal':
       return variable_get('drupal_authentication_service', 0) ? t("<p><a href=\"@Drupal\">Drupal</a> is the name of the software that powers %this-site. There are Drupal web sites all over the world, and many of them share their registration databases so that users may freely log in to any Drupal site using a single <strong>Drupal ID</strong>.</p>
-<p>So please feel free to log in to your account here at %this-site with a username from another Drupal site. The format of a Drupal ID is similar to an e-mail address: <strong>username</strong>@<em>server</em>. An example of a valid Drupal ID is <strong>mwlily</strong>@<em>drupal.org</em>.</p>", array('@Drupal' => 'http://drupal.org', '%this-site' => variable_get('site_name', 'this web site'))) : '';
+<p>So please feel free to log in to your account here at %this-site with a username from another Drupal site. The format of a Drupal ID is similar to an e-mail address: <strong>username</strong>@<em>server</em>. An example of a valid Drupal ID is <strong>mwlily</strong>@<em>drupal.org</em>.</p>", array('@Drupal' => 'http://drupal.org', '%this-site' => variable_get('site_name', DRUPAL_DEFAULT_SITE_NAME))) : '';
   }
 }
 
 function drupal_sites_registry_settings() {
   // Check if all required fields are present
-  if ((variable_get('site_name', 'Drupal') == 'Drupal') || (variable_get('site_name', 'Drupal') == '')) {
+  if ((variable_get('site_name', DRUPAL_DEFAULT_SITE_NAME) == DRUPAL_DEFAULT_SITE_NAME) || (variable_get('site_name', DRUPAL_DEFAULT_SITE_NAME) == '')) {
     form_set_error('drupal_directory', t('You must set the name of your site on the <a href="@url">administer &raquo; settings &raquo; site information</a> page.', array('@url' => url('admin/settings/site-information'))));
   }
   else if (variable_get('site_mail', ini_get('sendmail_from')) == '') {
Index: modules/filter/filter.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/filter/filter.module,v
retrieving revision 1.148
diff -u -p -r1.148 filter.module
--- modules/filter/filter.module	26 Oct 2006 05:31:14 -0000	1.148
+++ modules/filter/filter.module	19 Nov 2006 22:35:15 -0000
@@ -177,7 +177,7 @@ function filter_filter_tips($delta, $for
 <p>This site allows HTML content. While learning all of HTML may feel intimidating, learning how to use a very small number of the most basic HTML "tags" is very easy. This table provides examples for each tag that is enabled on this site.</p>
 <p>For more information see W3C\'s <a href="http://www.w3.org/TR/html/">HTML Specifications</a> or use your favorite search engine to find other sites that explain HTML.</p>');
               $tips = array(
-                'a' => array( t('Anchors are used to make links to other pages.'), '<a href="'. $base_url .'">'. variable_get('site_name', 'Drupal') .'</a>'),
+                'a' => array( t('Anchors are used to make links to other pages.'), '<a href="'. $base_url .'">'. variable_get('site_name', DRUPAL_DEFAULT_SITE_NAME) .'</a>'),
                 'br' => array( t('By default line break tags are automatically added, so use this tag to add additional ones. Use of this tag is different because it is not used with an open/close pair like all the others. Use the extra " /" inside the tag to maintain XHTML 1.0 compatibility'), t('Text with <br />line break')),
                 'p' => array( t('By default paragraph tags are automatically added, so use this tag to add additional ones.'), '<p>'. t('Paragraph one.') .'</p> <p>'. t('Paragraph two.') .'</p>'),
                 'strong' => array( t('Strong'), '<strong>'. t('Strong'). '</strong>'),
Index: modules/node/node.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/node/node.module,v
retrieving revision 1.731
diff -u -p -r1.731 node.module
--- modules/node/node.module	17 Nov 2006 07:01:38 -0000	1.731
+++ modules/node/node.module	19 Nov 2006 22:35:18 -0000
@@ -1800,7 +1800,7 @@ function node_feed($nodes = 0, $channel 
 
   $channel_defaults = array(
     'version'     => '2.0',
-    'title'       => variable_get('site_name', 'Drupal') .' - '. variable_get('site_slogan', ''),
+    'title'       => variable_get('site_name', DRUPAL_DEFAULT_SITE_NAME) .' - '. variable_get('site_slogan', ''),
     'link'        => $base_url,
     'description' => variable_get('site_mission', ''),
     'language'    => $locale
@@ -2323,7 +2323,7 @@ function node_page_default() {
 
   if (db_num_rows($result)) {
     $feed_url = url('rss.xml', NULL, NULL, TRUE);
-    drupal_add_feed($feed_url, variable_get('site_name', 'Drupal') .' '. t('RSS'));
+    drupal_add_feed($feed_url, variable_get('site_name', DRUPAL_DEFAULT_SITE_NAME) .' '. t('RSS'));
 
     $output = '';
     while ($node = db_fetch_object($result)) {
Index: modules/ping/ping.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/ping/ping.module,v
retrieving revision 1.44
diff -u -p -r1.44 ping.module
--- modules/ping/ping.module	7 Sep 2006 08:12:24 -0000	1.44
+++ modules/ping/ping.module	19 Nov 2006 22:35:19 -0000
@@ -34,9 +34,9 @@ function ping_help($section) {
 function ping_cron() {
   global $base_url;
 
-  if (variable_get('site_name', 0)) {
+  if (variable_get('site_name', DRUPAL_DEFAULT_SITE_NAME) != DRUPAL_DEFAULT_SITE_NAME) {
     if (db_num_rows(db_query("SELECT nid FROM {node} WHERE status = 1 AND (created > '". variable_get('cron_last', time()) ."' OR changed > '". variable_get('cron_last', time()) ."')"))) {
-      _ping_notify(variable_get('site_name', ''), $base_url);
+      _ping_notify(variable_get('site_name', DRUPAL_DEFAULT_SITE_NAME), $base_url);
     }
   }
 }
Index: modules/system/system.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.module,v
retrieving revision 1.398
diff -u -p -r1.398 system.module
--- modules/system/system.module	17 Nov 2006 17:22:45 -0000	1.398
+++ modules/system/system.module	19 Nov 2006 22:35:22 -0000
@@ -542,7 +542,7 @@ function system_site_information_setting
   $form['site_name'] = array(
     '#type' => 'textfield',
     '#title' => t('Name'),
-    '#default_value' => variable_get('site_name', 'Drupal'),
+    '#default_value' => variable_get('site_name', DRUPAL_DEFAULT_SITE_NAME),
     '#description' => t('The name of this web site.'),
     '#required' => TRUE
   );
@@ -844,6 +844,7 @@ function system_site_maintenance_setting
     '#description' => t('When set to "Online", all visitors will be able to browse your site normally. When set to "Off-line", only users with the "administer site configuration" permission will be able to access your site to perform maintenance; all other visitors will see the site off-line message configured below. Authorized users can log in during "Off-line" mode directly via the <a href="@user-login">user login</a> page.', array('@user-login' => url('user'))),
   );
 
+  // DRUPAL_DEFAULT_SITE_NAME deliberatley not used here for the default Drupal site name.
   $form['site_offline_message'] = array(
     '#type' => 'textarea',
     '#title' => t('Site off-line message'),
Index: modules/taxonomy/taxonomy.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/taxonomy/taxonomy.module,v
retrieving revision 1.323
diff -u -p -r1.323 taxonomy.module
--- modules/taxonomy/taxonomy.module	10 Nov 2006 19:40:23 -0000	1.323
+++ modules/taxonomy/taxonomy.module	19 Nov 2006 22:35:23 -0000
@@ -1324,7 +1324,7 @@ function taxonomy_term_page($str_tids = 
         case 'feed':
           $term = taxonomy_get_term($tids[0]);
           $channel['link'] = url('taxonomy/term/'. $str_tids .'/'. $depth, NULL, NULL, TRUE);
-          $channel['title'] = variable_get('site_name', 'Drupal') .' - '. $title;
+          $channel['title'] = variable_get('site_name', DRUPAL_DEFAULT_SITE_NAME) .' - '. $title;
           $channel['description'] = $term->description;
 
           $result = taxonomy_select_nodes($tids, $terms['operator'], $depth, FALSE);
Index: modules/user/user.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/user/user.module,v
retrieving revision 1.712
diff -u -p -r1.712 user.module
--- modules/user/user.module	17 Nov 2006 21:46:32 -0000	1.712
+++ modules/user/user.module	19 Nov 2006 22:35:27 -0000
@@ -897,10 +897,10 @@ function user_login($msg = '') {
     '#attributes' => array('tabindex' => '1'),
   );
   if (variable_get('drupal_authentication_service', FALSE) && count(user_auth_help_links()) > 0) {
-    $form['name']['#description'] = t('Enter your @s username, or an ID from one of our affiliates: !a.', array('@s' => variable_get('site_name', 'local'), '!a' => implode(', ', user_auth_help_links())));
+    $form['name']['#description'] = t('Enter your @s username, or an ID from one of our affiliates: !a.', array('@s' => variable_get('site_name', DRUPAL_DEFAULT_SITE_NAME), '!a' => implode(', ', user_auth_help_links())));
   }
   else {
-    $form['name']['#description'] = t('Enter your @s username.', array('@s' => variable_get('site_name', 'local')));
+    $form['name']['#description'] = t('Enter your @s username.', array('@s' => variable_get('site_name', DRUPAL_DEFAULT_SITE_NAME)));
   }
   $form['pass'] = array('#type' => 'password',
     '#title' => t('Password'),
@@ -1060,7 +1060,7 @@ function user_pass_submit($form_id, $for
   $from = variable_get('site_mail', ini_get('sendmail_from'));
 
   // Mail one time login URL and instructions.
-  $variables = array('!username' => $account->name, '!site' => variable_get('site_name', 'Drupal'), '!login_url' => user_pass_reset_url($account), '!uri' => $base_url, '!uri_brief' => substr($base_url, strlen('http://')), '!mailto' => $account->mail, '!date' => format_date(time()), '!login_uri' => url('user', NULL, NULL, TRUE), '!edit_uri' => url('user/'. $account->uid .'/edit', NULL, NULL, TRUE));
+  $variables = array('!username' => $account->name, '!site' => variable_get('site_name', DRUPAL_DEFAULT_SITE_NAME), '!login_url' => user_pass_reset_url($account), '!uri' => $base_url, '!uri_brief' => substr($base_url, strlen('http://')), '!mailto' => $account->mail, '!date' => format_date(time()), '!login_uri' => url('user', NULL, NULL, TRUE), '!edit_uri' => url('user/'. $account->uid .'/edit', NULL, NULL, TRUE));
   $subject = _user_mail_text('pass_subject', $variables);
   $body = _user_mail_text('pass_body', $variables);
   $mail_success = drupal_mail('user-pass', $account->mail, $subject, $body, $from);
@@ -1229,7 +1229,7 @@ function user_register_submit($form_id, 
   $account = user_save('', array_merge($form_values, array('pass' => $pass, 'init' => $mail, 'roles' => $roles, 'status' => ($admin || variable_get('user_register', 1) == 1))));
   watchdog('user', t('New user: %name %email.', array('%name' => $name, '%email' => '<'. $mail .'>')), WATCHDOG_NOTICE, l(t('edit'), 'user/'. $account->uid .'/edit'));
 
-  $variables = array('!username' => $name, '!site' => variable_get('site_name', 'Drupal'), '!password' => $pass, '!uri' => $base_url, '!uri_brief' => substr($base_url, strlen('http://')), '!mailto' => $mail, '!date' => format_date(time()), '!login_uri' => url('user', NULL, NULL, TRUE), '!edit_uri' => url('user/'. $account->uid .'/edit', NULL, NULL, TRUE), '!login_url' => user_pass_reset_url($account));
+  $variables = array('!username' => $name, '!site' => variable_get('site_name', DRUPAL_DEFAULT_SITE_NAME), '!password' => $pass, '!uri' => $base_url, '!uri_brief' => substr($base_url, strlen('http://')), '!mailto' => $mail, '!date' => format_date(time()), '!login_uri' => url('user', NULL, NULL, TRUE), '!edit_uri' => url('user/'. $account->uid .'/edit', NULL, NULL, TRUE), '!login_url' => user_pass_reset_url($account));
 
   // The first user may login immediately, and receives a customized welcome e-mail.
   if ($account->uid == 1) {
@@ -2340,6 +2340,7 @@ function user_help($section) {
     case 'admin/user/search':
       return t('<p>Enter a simple pattern ("*" may be used as a wildcard match) to search for a username. For example, one may search for "br" and Drupal might return "brian", "brad", and "brenda".</p>');
     case 'user/help#user':
+      // DRUPAL_DEFAULT_SITE_NAME deliberatley not used here for the default Drupal site name.
       $site = variable_get('site_name', 'this website');
 
       $affiliates = user_auth_help_links();
Index: themes/chameleon/chameleon.theme
===================================================================
RCS file: /cvs/drupal/drupal/themes/chameleon/chameleon.theme,v
retrieving revision 1.54
diff -u -p -r1.54 chameleon.theme
--- themes/chameleon/chameleon.theme	23 Oct 2006 21:06:19 -0000	1.54
+++ themes/chameleon/chameleon.theme	19 Nov 2006 22:35:27 -0000
@@ -47,7 +47,7 @@ function chameleon_page($content, $show_
     $output .= "  <a href=\"". base_path() ."\" title=\"". t('Home') ."\"><img src=\"$logo\" alt=\"". t('Home') ."\" /></a>";
   }
   if (theme_get_setting('toggle_name')) {
-    $output .= "  <h1 class=\"site-name title\">". l(variable_get('site_name', 'drupal'), ""). "</h1>";
+    $output .= "  <h1 class=\"site-name title\">". l(variable_get('site_name', DRUPAL_DEFAULT_SITE_NAME), ""). "</h1>";
   }
   if (theme_get_setting('toggle_slogan')) {
     $output .= "  <div class=\"site-slogan\">". variable_get('site_slogan', '') ."</div>";
Index: themes/engines/phptemplate/phptemplate.engine
===================================================================
RCS file: /cvs/drupal/drupal/themes/engines/phptemplate/phptemplate.engine,v
retrieving revision 1.50
diff -u -p -r1.50 phptemplate.engine
--- themes/engines/phptemplate/phptemplate.engine	23 Oct 2006 06:45:17 -0000	1.50
+++ themes/engines/phptemplate/phptemplate.engine	19 Nov 2006 22:35:28 -0000
@@ -186,10 +186,10 @@ function phptemplate_page($content, $sho
 
   // Construct page title
   if (drupal_get_title()) {
-    $head_title = array(strip_tags(drupal_get_title()), variable_get('site_name', 'Drupal'));
+    $head_title = array(strip_tags(drupal_get_title()), variable_get('site_name', DRUPAL_DEFAULT_SITE_NAME));
   }
   else {
-    $head_title = array(variable_get('site_name', 'drupal'));
+    $head_title = array(variable_get('site_name', DRUPAL_DEFAULT_SITE_NAME));
     if (variable_get('site_slogan', '')) {
       $head_title[] = variable_get('site_slogan', '');
     }
@@ -215,7 +215,7 @@ function phptemplate_page($content, $sho
     'secondary_links'     => menu_secondary_links(),
     'sidebar_left'        => $sidebar_left,
     'sidebar_right'       => $sidebar_right,
-    'site_name'           => (theme_get_setting('toggle_name') ? variable_get('site_name', 'Drupal') : ''),
+    'site_name'           => (theme_get_setting('toggle_name') ? variable_get('site_name', DRUPAL_DEFAULT_SITE_NAME) : ''),
     'site_slogan'         => (theme_get_setting('toggle_slogan') ? variable_get('site_slogan', '') : ''),
     'css'                 => drupal_add_css(),
     'styles'              => drupal_get_css(),
