summaryrefslogtreecommitdiff
path: root/install.php
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-03 21:01:04 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-03 21:01:04 +0000
commitba6ef3017eb8ac1e6ccfd1ffebf97a476859315d (patch)
tree8d9f52358a4c0118b07a03d437c7d5dfe290999c /install.php
parent8c4b6239b48a46e754e23a803f4a28745b4eb027 (diff)
downloadbrdo-ba6ef3017eb8ac1e6ccfd1ffebf97a476859315d.tar.gz
brdo-ba6ef3017eb8ac1e6ccfd1ffebf97a476859315d.tar.bz2
#482816 by sun and Rob Loach: Add a consistent wrapper around submit buttons.
Diffstat (limited to 'install.php')
-rw-r--r--install.php12
1 files changed, 8 insertions, 4 deletions
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' => '<p><a href="install.php?profile=' . $profilename . '&amp;localize=true">' . st('Learn how to install Drupal in other languages') . '</a></p>',
);
}
- $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,