You are here

function update_progress_page in Drupal 5

Same name and namespace in other branches
  1. 4 update.php \update_progress_page()
1 call to update_progress_page()
update_update_page in ./update.php

File

./update.php, line 405
Administrative page for handling updates from one Drupal version to another.

Code

function update_progress_page() {

  // Prevent browser from using cached drupal.js or update.js
  drupal_add_js('misc/progress.js', 'core', 'header', FALSE, TRUE);
  drupal_add_js('misc/update.js', 'core', 'header', FALSE, TRUE);
  drupal_set_title('Updating');
  $output = '<div id="progress"></div>';
  $output .= '<p id="wait">Please wait while your site is being updated.</p>';
  return $output;
}