Commit 659c4867 authored by Dries's avatar Dries
Browse files

- Patch #320146 by pwolanin: when in offline mode, link to the admin page to...

- Patch #320146 by pwolanin: when in offline mode, link to the admin page to take the site online again.
parent de99844c
......@@ -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 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment