summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-01-22 07:51:06 +0000
committerDries Buytaert <dries@buytaert.net>2006-01-22 07:51:06 +0000
commit14ae238973570697cd90c8c96a1fd89a7e4995f2 (patch)
tree207ba0822a21c008c03d230f0e300e49bfd93057 /modules
parent30acded3449ccd834ff07f68137a8181a4109449 (diff)
downloadbrdo-14ae238973570697cd90c8c96a1fd89a7e4995f2.tar.gz
brdo-14ae238973570697cd90c8c96a1fd89a7e4995f2.tar.bz2
- Patch #45320 by Zen: improved usability of off-line mode.
Diffstat (limited to 'modules')
-rw-r--r--modules/system.module10
-rw-r--r--modules/system/system.module10
2 files changed, 10 insertions, 10 deletions
diff --git a/modules/system.module b/modules/system.module
index bf2250d79..f96de2e92 100644
--- a/modules/system.module
+++ b/modules/system.module
@@ -442,7 +442,7 @@ function system_view_general() {
);
- // Site offline/maintenance settings
+ // Site off-line/maintenance settings
$form['site_status'] = array(
'#type' => 'fieldset',
'#title' => t('Site maintenance'),
@@ -453,15 +453,15 @@ function system_view_general() {
'#type' => 'radios',
'#title' => t('Site status'),
'#default_value' => variable_get('site_offline', 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.')
+ '#options' => array(t('Online'), t('Off-line')),
+ '#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'))),
);
$form['site_status']['site_offline_message'] = array(
'#type' => 'textarea',
- '#title' => t('Site offline message'),
+ '#title' => t('Site off-line message'),
'#default_value' => 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'))))),
- '#description' => t('Message to show visitors when site is offline.')
+ '#description' => t('Message to show visitors when the site is in off-line mode.')
);
// String handling: report status and errors.
diff --git a/modules/system/system.module b/modules/system/system.module
index bf2250d79..f96de2e92 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -442,7 +442,7 @@ function system_view_general() {
);
- // Site offline/maintenance settings
+ // Site off-line/maintenance settings
$form['site_status'] = array(
'#type' => 'fieldset',
'#title' => t('Site maintenance'),
@@ -453,15 +453,15 @@ function system_view_general() {
'#type' => 'radios',
'#title' => t('Site status'),
'#default_value' => variable_get('site_offline', 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.')
+ '#options' => array(t('Online'), t('Off-line')),
+ '#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'))),
);
$form['site_status']['site_offline_message'] = array(
'#type' => 'textarea',
- '#title' => t('Site offline message'),
+ '#title' => t('Site off-line message'),
'#default_value' => 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'))))),
- '#description' => t('Message to show visitors when site is offline.')
+ '#description' => t('Message to show visitors when the site is in off-line mode.')
);
// String handling: report status and errors.