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. --- modules/aggregator/aggregator.admin.inc | 3 ++- modules/aggregator/aggregator.pages.inc | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'modules/aggregator') 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; } -- cgit v1.2.3