diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-04-24 14:49:14 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-04-24 14:49:14 +0000 |
commit | 45f4a1e166d090e23cb385c3238835fce61d1607 (patch) | |
tree | 63384d78144e0caee7c6700c44e444a70fc58845 /includes/install.core.inc | |
parent | 3e547ae045849264745f8cc456a0f379246060ea (diff) | |
download | drupal-45f4a1e166d090e23cb385c3238835fce61d1607.tar.gz drupal-45f4a1e166d090e23cb385c3238835fce61d1607.zip |
- Patch #482816 by sun, Rob Loach: make a consistent wrapper around submit buttons.
Diffstat (limited to 'includes/install.core.inc')
-rw-r--r-- | includes/install.core.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/install.core.inc b/includes/install.core.inc index 5078f76c9a31..7e0b91c0c13b 100644 --- a/includes/install.core.inc +++ b/includes/install.core.inc @@ -928,7 +928,7 @@ 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['actions'] = array('#type' => 'container', '#attributes' => array('class' => array('form-actions'))); + $form['actions'] = array('#type' => 'actions'); $form['actions']['save'] = array( '#type' => 'submit', '#value' => st('Save and continue'), @@ -1146,7 +1146,7 @@ function install_select_profile_form($form, &$form_state, $profile_files) { '#parents' => array('profile'), ); } - $form['actions'] = array('#type' => 'container', '#attributes' => array('class' => array('form-actions'))); + $form['actions'] = array('#type' => 'actions'); $form['actions']['submit'] = array( '#type' => 'submit', '#value' => st('Save and continue'), @@ -1280,7 +1280,7 @@ function install_select_locale_form($form, &$form_state, $locales, $profilename '#markup' => '<p><a href="install.php?profile=' . $profilename . '&localize=true">' . st('Learn how to install Drupal in other languages') . '</a></p>', ); } - $form['actions'] = array('#type' => 'container', '#attributes' => array('class' => array('form-actions'))); + $form['actions'] = array('#type' => 'actions'); $form['actions']['submit'] = array( '#type' => 'submit', '#value' => st('Save and continue'), @@ -1689,7 +1689,7 @@ function _install_configure_form($form, &$form_state, &$install_state) { '#weight' => 15, ); - $form['actions'] = array('#type' => 'container', '#attributes' => array('class' => array('form-actions'))); + $form['actions'] = array('#type' => 'actions'); $form['actions']['submit'] = array( '#type' => 'submit', '#value' => st('Save and continue'), |