From d4341f03c27b59695d4b2829e1d328c2af0475eb Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 18 Jun 2008 12:35:16 -0400 Subject: [PATCH] add submit class to all buttons darcs-hash:20080618163516-84dde-ab4d9daa4180d75da0813bed03f6c824577a87a0.gz --- actions/openidsettings.php | 2 ++ actions/showstream.php | 6 +++--- lib/util.php | 1 + 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/actions/openidsettings.php b/actions/openidsettings.php index 91f9ab4c75..0737f21484 100644 --- a/actions/openidsettings.php +++ b/actions/openidsettings.php @@ -53,6 +53,7 @@ class OpenidsettingsAction extends SettingsAction { common_element('input', array('type' => 'submit', 'id' => 'add', 'name' => 'add', + 'class' => 'submit', 'value' => _t('Add'))); common_element_end('p'); common_element_end('form'); @@ -83,6 +84,7 @@ class OpenidsettingsAction extends SettingsAction { common_element('input', array('type' => 'submit', 'id' => 'remove'.$idx, 'name' => 'remove', + 'class' => 'submit', 'value' => _t('Remove'))); common_element_end('p'); common_element_end('form'); diff --git a/actions/showstream.php b/actions/showstream.php index a9073df86a..49a44b274c 100644 --- a/actions/showstream.php +++ b/actions/showstream.php @@ -164,7 +164,7 @@ class ShowstreamAction extends StreamAction { 'type' => 'hidden', 'value' => $profile->nickname)); common_element('input', array('type' => 'submit', - 'class' => 'button', + 'class' => 'submit', 'value' => _t('Subscribe'))); common_element_end('form'); } @@ -182,7 +182,7 @@ class ShowstreamAction extends StreamAction { 'id' => 'submit', 'name' => 'submit', 'value' => _t('Subscribe'), - 'class' => 'button')); + 'class' => 'submit')); common_element_end('form'); } @@ -194,7 +194,7 @@ class ShowstreamAction extends StreamAction { 'type' => 'hidden', 'value' => $profile->nickname)); common_element('input', array('type' => 'submit', - 'class' => 'button', + 'class' => 'submit', 'value' => _t('Unsubscribe'))); common_element_end('form'); } diff --git a/lib/util.php b/lib/util.php index aa4f877394..1a29fcda97 100644 --- a/lib/util.php +++ b/lib/util.php @@ -338,6 +338,7 @@ function common_submit($id, $label) { common_element('input', array('type' => 'submit', 'id' => $id, 'name' => $id, + 'class' => 'submit', 'value' => $label)); common_element_end('p'); } -- 2.39.5