summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-04-19 19:10:08 +0000
committerDries Buytaert <dries@buytaert.net>2009-04-19 19:10:08 +0000
commit2f9af75438c58b1aab3e66a8eee81d0168488ed6 (patch)
tree13c371942fd38d496921eae9fcbaf6e0b1b8424b /includes
parent680979845ad9c1648a1b262c0fff242ef219c18f (diff)
downloadbrdo-2f9af75438c58b1aab3e66a8eee81d0168488ed6.tar.gz
brdo-2f9af75438c58b1aab3e66a8eee81d0168488ed6.tar.bz2
- Patch #430342 by kkaefer et al: usability improvement: changed 'site maintenance' to 'maintenance mode'.
Diffstat (limited to 'includes')
-rw-r--r--includes/bootstrap.inc2
-rw-r--r--includes/menu.inc6
-rw-r--r--includes/theme.maintenance.inc2
3 files changed, 5 insertions, 5 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index a77343adf..19231cb7e 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -1246,7 +1246,7 @@ function _drupal_bootstrap($phase) {
* Enables use of the theme system without requiring database access.
*
* Loads and initializes the theme system for site installs, updates and when
- * the site is in offline mode. This also applies when the database fails.
+ * the site is in maintenance mode. This also applies when the database fails.
*
* @see _drupal_maintenance_theme()
*/
diff --git a/includes/menu.inc b/includes/menu.inc
index d045ca186..a935003bf 100644
--- a/includes/menu.inc
+++ b/includes/menu.inc
@@ -2719,15 +2719,15 @@ function menu_path_is_external($path) {
* TRUE for anonymous users not on the login page if the site is offline.
*/
function _menu_site_is_offline() {
- // Check if site is set to offline mode.
+ // Check if site is set to maintenance mode.
if (variable_get('site_offline', 0)) {
// Check if the user has administration privileges.
if (user_access('administer site configuration')) {
// Ensure that the offline message is displayed only once [allowing for
// page redirects], and specifically suppress its display on the site
// maintenance page.
- if (drupal_get_normal_path($_GET['q']) != 'admin/settings/site-maintenance') {
- drupal_set_message(t('Operating in offline mode. <a href="@url">Go online.</a>', array('@url' => url('admin/settings/site-maintenance'))), 'status', FALSE);
+ if (drupal_get_normal_path($_GET['q']) != 'admin/settings/maintenance-mode') {
+ drupal_set_message(t('Operating in maintenance mode. <a href="@url">Go online.</a>', array('@url' => url('admin/settings/maintenance-mode'))), 'status', FALSE);
}
}
else {
diff --git a/includes/theme.maintenance.inc b/includes/theme.maintenance.inc
index 02e4f492b..f2278d670 100644
--- a/includes/theme.maintenance.inc
+++ b/includes/theme.maintenance.inc
@@ -8,7 +8,7 @@
/**
* Sets up the theming system for site installs, updates and when the site is
- * in offline mode. It also applies when the database is unavailable.
+ * in maintenance mode. It also applies when the database is unavailable.
*
* Minnelli is always used for the initial install and update operations. In
* other cases, "settings.php" must have a "maintenance_theme" key set for the