1 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.

File

core/includes/theme.maintenance.inc, line 179
Theme the maintenance pages.

Code

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