update_manager_update_ready_form($form, &$form_state)Build the form when the site is ready to update (after downloading).
This form is an intermediary step in the automated update workflow. It is presented to the site administrator after all the required updates have been downloaded and verified. The point of this page is to encourage the user to backup their site, gives them the opportunity to put the site offline, and then asks them to confirm that the update should continue. After this step, the user is redirected to authorize.php to enter their file transfer credentials and attempt to complete the update.
modules/update/update.manager.inc, line 356
<?php
function update_manager_update_ready_form($form, &$form_state) {
$form['backup'] = array(
'#prefix' => '<strong>',
'#markup' => t('Back up your database and site before you continue. <a href="@backup_url">Learn how</a>.', array('@backup_url' => url('http://drupal.org/node/22281'))),
'#suffix' => '</strong>',
);
$form['site_offline'] = array(
'#title' => t('Perform updates with site in maintenance mode (strongly recommended)'),
'#type' => 'checkbox',
'#default_value' => TRUE,
);
$form['submit'] = array(
'#type' => 'submit',
'#value' => t('Continue'),
'#weight' => 100,
);
return $form;
}
?>