From ba6ef3017eb8ac1e6ccfd1ffebf97a476859315d Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sun, 3 Jan 2010 21:01:04 +0000 Subject: #482816 by sun and Rob Loach: Add a consistent wrapper around submit buttons. --- install.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'install.php') diff --git a/install.php b/install.php index e5b6500fb..f502272ed 100644 --- a/install.php +++ b/install.php @@ -918,7 +918,8 @@ function install_settings_form($form, &$form_state, &$install_state) { '#description' => st('If more than one application will be sharing this database, enter a table prefix such as %prefix for your @drupal site here.', array('@drupal' => drupal_install_profile_distribution_name(), '%prefix' => $db_prefix)), ); - $form['save'] = array( + $form['actions'] = array('#type' => 'container', '#attributes' => array('class' => array('form-actions'))); + $form['actions']['save'] = array( '#type' => 'submit', '#value' => st('Save and continue'), ); @@ -1130,7 +1131,8 @@ function install_select_profile_form($form, &$form_state, $profile_files) { '#parents' => array('profile'), ); } - $form['submit'] = array( + $form['actions'] = array('#type' => 'container', '#attributes' => array('class' => array('form-actions'))); + $form['actions']['submit'] = array( '#type' => 'submit', '#value' => st('Save and continue'), ); @@ -1260,7 +1262,8 @@ function install_select_locale_form($form, &$form_state, $locales, $profilename '#markup' => '

' . st('Learn how to install Drupal in other languages') . '

', ); } - $form['submit'] = array( + $form['actions'] = array('#type' => 'container', '#attributes' => array('class' => array('form-actions'))); + $form['actions']['submit'] = array( '#type' => 'submit', '#value' => st('Save and continue'), ); @@ -1668,7 +1671,8 @@ function _install_configure_form($form, &$form_state, &$install_state) { '#weight' => 15, ); - $form['submit'] = array( + $form['actions'] = array('#type' => 'container', '#attributes' => array('class' => array('form-actions'))); + $form['actions']['submit'] = array( '#type' => 'submit', '#value' => st('Save and continue'), '#weight' => 15, -- cgit v1.2.3