]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add submit class to all buttons
authorEvan Prodromou <evan@prodromou.name>
Wed, 18 Jun 2008 16:35:16 +0000 (12:35 -0400)
committerEvan Prodromou <evan@prodromou.name>
Wed, 18 Jun 2008 16:35:16 +0000 (12:35 -0400)
darcs-hash:20080618163516-84dde-ab4d9daa4180d75da0813bed03f6c824577a87a0.gz

actions/openidsettings.php
actions/showstream.php
lib/util.php

index 91f9ab4c75da1eae14fcb6626949ddd75dae5e85..0737f214848d2fb56db3ab89aec98663f1ce40c3 100644 (file)
@@ -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');
index a9073df86a95b68ab3c4bed266ea1ce323ef3dde..49a44b274c819674dcc0b8ccefc623211f0413df 100644 (file)
@@ -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');
        }
index aa4f8773942b39e68cf9ca3fc888de30c118e53a..1a29fcda97402709d5b36ac13d51c8d32294473c 100644 (file)
@@ -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');
 }