summaryrefslogtreecommitdiff
path: root/includes/install.core.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-04-24 14:49:14 +0000
committerDries Buytaert <dries@buytaert.net>2010-04-24 14:49:14 +0000
commit45f4a1e166d090e23cb385c3238835fce61d1607 (patch)
tree63384d78144e0caee7c6700c44e444a70fc58845 /includes/install.core.inc
parent3e547ae045849264745f8cc456a0f379246060ea (diff)
downloadbrdo-45f4a1e166d090e23cb385c3238835fce61d1607.tar.gz
brdo-45f4a1e166d090e23cb385c3238835fce61d1607.tar.bz2
- 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.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/install.core.inc b/includes/install.core.inc
index 5078f76c9..7e0b91c0c 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 . '&amp;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'),