diff --git a/template.php b/template.php index a9eb163e3a7b683caa35f736b1eb68af2fc4f485..95da622cd541c8cc952c378d7974b1dbe4fe422c 100644 --- a/template.php +++ b/template.php @@ -25,6 +25,15 @@ function shiny_preprocess_maintenance_page(&$vars) { // shiny_preprocess_html() also happen on the maintenance page, it has to be // called here. shiny_preprocess_html($vars); + if (variable_get('install_task') != 'done') { + $footer_markup = '
' . t('Proudly built by') . '
'; + $footer_markup .= ''; + $vars['footer'] = array( + '#prefix' => '
', + '#markup' => $footer_markup, + '#suffix' => '
', + ); + } } /** diff --git a/templates/maintenance-page.tpl.php b/templates/maintenance-page.tpl.php index 3e20c1ad3a76f0b60ed24510dc95b6f082fce2ca..04cda7b20f25c982a9aee1f97c3db365c6c83ca1 100644 --- a/templates/maintenance-page.tpl.php +++ b/templates/maintenance-page.tpl.php @@ -43,12 +43,11 @@ - + + +