You are here

function update_progress_page in Drupal 4

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

File

./update.php, line 384
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', TRUE);
  drupal_add_js('misc/update.js', 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;
}