Skip navigation
Help

theme_update_page

6 theme.maintenance.inc theme_update_page($content, $show_messages = TRUE)
7 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.

1 theme call to theme_update_page()

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