Hi all,
I'm working on a zen sub theme, currently the maintenance page. I came along with the idea to translate and add/or replace the text "Site under maintenance" to for example "Site tijdelijk offline wegens onderhoudswerken". The common or main language of my site is Dutch, aside English will come along later...
I was wondering if I can (or have to) override entries from in files such as $DRUPALROOT/includes/common.inc:
case MENU_SITE_OFFLINE:
// Print a 503 page.
drupal_maintenance_theme();
drupal_add_http_header('Status', '503 Service unavailable');
drupal_set_title(t('Site under maintenance'));
print theme('maintenance_page', array('content' => filter_xss_admin(variable_get('maintenance_mode_message',
t('@site is currently under maintenance. We should be back shortly. Thank you for your patience.', array('@site' => variable_get('site_name', 'Drupal')))))));
break;
$DRUPALROOT/sites/FQDN/themes/my_zen_sub_theme/css/maintenance-page.css:
.maintenance-page #header div.section,
.maintenance-page #main {
width: 900px;
color: #fffc17;
}
I like to avoid being worried about include files when upgrading drupal sub releases (7.x.x), which would obviously erase all my customizations (outside $DRUPALROOT/sites/)...