function theme_update_page

theme_update_page($variables)

Returns HTML for the update page.

Note: this function is not themeable.

Parameters

$variables: An associative array containing:

  • content: The page content to show.
  • show_messages: Whether to output status and error messages. FALSE can be useful to postpone the messages to a subsequent page.

File

includes/theme.maintenance.inc, line 157
Theming for maintenance pages.

Code

function theme_update_page($variables) {
  drupal_add_http_header('Content-Type', 'text/html; charset=utf-8');
  return theme('maintenance_page', $variables);
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!theme.maintenance.inc/function/theme_update_page/7.x