Same name and namespace in other branches
  1. 6.x includes/theme.maintenance.inc \theme_update_page()

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 ./authorize.php
Administrative script for running authorized file operations.
update_check_requirements in ./update.php
Checks update requirements and reports errors and (optionally) warnings.

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