add submit class to all buttons

darcs-hash:20080618163516-84dde-ab4d9daa4180d75da0813bed03f6c824577a87a0.gz
This commit is contained in:
Evan Prodromou 2008-06-18 12:35:16 -04:00
parent d9b7f0b706
commit d4341f03c2
3 changed files with 6 additions and 3 deletions

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

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

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