Index: update.php =================================================================== RCS file: /cvs/drupal/drupal/update.php,v retrieving revision 1.156 diff -u -r1.156 update.php --- update.php 31 Aug 2005 17:56:07 -0000 1.156 +++ update.php 17 Sep 2005 08:19:34 -0000 @@ -54,11 +54,11 @@ $dates[$i] = "No updates available"; // make update form and output it. - $form = form_select("Perform updates from", "start", (isset($selected) ? $selected : -1), $dates, "This defaults to the first available update since the last update you performed."); - $form .= form_submit("Update"); + $form['start'] = array(type => 'select', title => t('Perform updates from'), default_value => (isset($selected) ? $selected : -1), options => $dates, description => t('This defaults to the first available update since the last update you performed.')); + $form['submit'] = array(type => 'submit', value => t('Update')); drupal_set_title('Drupal database update'); - return form($form); + return drupal_get_form('update_script_selection_form', $form); } function update_do_updates() {