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'); }