function theme_update_page

7.x theme.maintenance.inc 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.
2 theme calls to theme_update_page()
authorize.php in drupal/authorize.php
Administrative script for running authorized file operations.
update_check_requirements in drupal/update.php
Checks update requirements and reports errors and (optionally) warnings.

File

drupal/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);
}