summaryrefslogtreecommitdiff
path: root/modules/aggregator
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 /modules/aggregator
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 'modules/aggregator')
-rw-r--r--modules/aggregator/aggregator.admin.inc3
-rw-r--r--modules/aggregator/aggregator.pages.inc3
2 files changed, 4 insertions, 2 deletions
diff --git a/modules/aggregator/aggregator.admin.inc b/modules/aggregator/aggregator.admin.inc
index 0856bd32b..9e1fdfbcb 100644
--- a/modules/aggregator/aggregator.admin.inc
+++ b/modules/aggregator/aggregator.admin.inc
@@ -470,7 +470,8 @@ function aggregator_admin_form($form, $form_state) {
// Implementing modules will expect an array at $form['modules'].
$form['modules'] = array();
- $form['submit'] = array(
+ $form['actions'] = array('#type' => 'container', '#attributes' => array('class' => array('form-actions')));
+ $form['actions']['submit'] = array(
'#type' => 'submit',
'#value' => t('Save configuration'),
);
diff --git a/modules/aggregator/aggregator.pages.inc b/modules/aggregator/aggregator.pages.inc
index 5690aa798..45e21e23a 100644
--- a/modules/aggregator/aggregator.pages.inc
+++ b/modules/aggregator/aggregator.pages.inc
@@ -184,7 +184,8 @@ function aggregator_categorize_items($items, $feed_source = '') {
'#multiple' => TRUE
);
}
- $form['submit'] = array('#type' => 'submit', '#value' => t('Save categories'));
+ $form['actions'] = array('#type' => 'container', '#attributes' => array('class' => array('form-actions')));
+ $form['actions']['submit'] = array('#type' => 'submit', '#value' => t('Save categories'));
return $form;
}