diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-10-13 12:30:09 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-10-13 12:30:09 +0000 |
commit | 659c4867bd312186b93f83534d78139d5161b4f3 (patch) | |
tree | 7cb58b754609cd8515fa34f72e8d3c5e494244f2 /includes | |
parent | de99844cbb766b32073ba6b98324219b66ad94ee (diff) | |
download | brdo-659c4867bd312186b93f83534d78139d5161b4f3.tar.gz brdo-659c4867bd312186b93f83534d78139d5161b4f3.tar.bz2 |
- Patch #320146 by pwolanin: when in offline mode, link to the admin page to take the site online again.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/menu.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/menu.inc b/includes/menu.inc index e6d96c392..8b073d111 100644 --- a/includes/menu.inc +++ b/includes/menu.inc @@ -2462,7 +2462,7 @@ function _menu_site_is_offline() { // 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.'), 'status', FALSE); + drupal_set_message(t('Operating in offline mode. <a href="@url">Go online.</a>', array('@url' => url('admin/settings/site-maintenance'))), 'status', FALSE); } } else { |