You are here

function update_selection_page in Drupal 5

Same name and namespace in other branches
  1. 4 update.php \update_selection_page()
  2. 6 update.php \update_selection_page()
  3. 7 update.php \update_selection_page()
1 call to update_selection_page()
update.php in ./update.php
Administrative page for handling updates from one Drupal version to another.

File

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

Code

function update_selection_page() {
  $output = '<p>The version of Drupal you are updating from has been automatically detected. You can select a different version, but you should not need to.</p>';
  $output .= '<p>Click Update to start the update process.</p>';
  drupal_set_title('Drupal database update');

  // Prevent browser from using cached drupal.js or update.js
  drupal_add_js('misc/update.js', 'core', 'header', FALSE, TRUE);
  $output .= drupal_get_form('update_script_selection_form');
  return $output;
}