summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-18 12:35:16 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-18 12:35:16 -0400
commitd4341f03c27b59695d4b2829e1d328c2af0475eb (patch)
tree669b1be50b8bc35bbb3b3d88cf406d9424f7f07b
parentd9b7f0b7065ab94bb567e0b2cbb0699ace1a6f9f (diff)
add submit class to all buttons
darcs-hash:20080618163516-84dde-ab4d9daa4180d75da0813bed03f6c824577a87a0.gz
-rw-r--r--actions/openidsettings.php2
-rw-r--r--actions/showstream.php6
-rw-r--r--lib/util.php1
3 files changed, 6 insertions, 3 deletions
diff --git a/actions/openidsettings.php b/actions/openidsettings.php
index 91f9ab4c7..0737f2148 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 a9073df86..49a44b274 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 aa4f87739..1a29fcda9 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');
}