? test.patch
? sites/default/settings.php
Index: modules/system/system.admin.inc
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.admin.inc,v
retrieving revision 1.158
diff -u -p -r1.158 system.admin.inc
--- modules/system/system.admin.inc	19 Jun 2009 20:35:05 -0000	1.158
+++ modules/system/system.admin.inc	2 Jul 2009 05:26:40 -0000
@@ -1715,14 +1715,20 @@ function system_date_time_lookup() {
  * @see system_settings_form()
  */
 function system_site_maintenance_mode() {
-
+  global $user;
+  global $base_url;
+  
   $form['site_offline'] = array(
     '#type' => 'radios',
     '#title' => t('Site status'),
     '#default_value' => 0,
     '#options' => array(t('Online'), t('Offline')),
-    '#description' => t('When set to "Online", all visitors will be able to browse your site normally. When set to "Offline", 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 offline message configured below. Authorized users can log in during "Offline" mode directly via the <a href="@user-login">user login</a> page.', array('@user-login' => url('user'))),
+    '#description' => t('<p>When set to "Online", all visitors will be able to browse your site normally. When set to "Offline", 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 offline message configured below. Authorized users can log in during "Offline" mode directly via the <a href="@user-login">user login</a> page.</p>', array('@user-login' => url('user'))),
   );
+  
+  if($user->uid == 1){
+    $form['site_offline']['#description'] .= t('<p>If you are upgrading to a newer version of Drupal or upgrading contributed modules or themes you may need to run <a href="@update-php">update.php</a>.</p>',array('@update-php' => $base_url . '/update.php'));
+  }
 
   $form['site_offline_message'] = array(
     '#type' => 'textarea',
