diff options
author | Zach Copley <zach@controlyourself.ca> | 2009-05-21 05:46:38 +0000 |
---|---|---|
committer | Zach Copley <zach@controlyourself.ca> | 2009-05-21 05:46:38 +0000 |
commit | 07de94ca99c5541b26da9292c4eaa3d80bee3dbe (patch) | |
tree | b539b139198720edbf7859dce59d7187f65f65c5 /actions | |
parent | 54cd0a2046c417fd072bb4cf79aeda163cf760af (diff) | |
parent | 689dd9ee5f81e3e2472e92b10248fecd39638160 (diff) |
Merge branch '0.8.x' into fbconnect
Diffstat (limited to 'actions')
-rw-r--r-- | actions/deletenotice.php | 4 | ||||
-rw-r--r-- | actions/designsettings.php | 8 |
2 files changed, 7 insertions, 5 deletions
diff --git a/actions/deletenotice.php b/actions/deletenotice.php index 6c350b33a..e733f9650 100644 --- a/actions/deletenotice.php +++ b/actions/deletenotice.php @@ -112,8 +112,8 @@ class DeletenoticeAction extends DeleteAction $this->hidden('token', common_session_token()); $this->hidden('notice', $this->trimmed('notice')); $this->element('p', null, _('Are you sure you want to delete this notice?')); - $this->submit('form_action-yes', _('Yes'), 'submit form_action-primary', 'yes'); - $this->submit('form_action-no', _('No'), 'submit form_action-secondary', 'no'); + $this->submit('form_action-no', _('No'), 'submit form_action-primary', 'no', _("Do not delete this notice")); + $this->submit('form_action-yes', _('Yes'), 'submit form_action-secondary', 'yes', _('Delete this notice')); $this->elementEnd('fieldset'); $this->elementEnd('form'); } diff --git a/actions/designsettings.php b/actions/designsettings.php index a85b36a25..315e5a199 100644 --- a/actions/designsettings.php +++ b/actions/designsettings.php @@ -140,10 +140,12 @@ class DesignsettingsAction extends AccountSettingsAction $this->elementEnd('ul'); $this->elementEnd('fieldset'); - $this->submit('save', _('Save')); - $this->element('input', array('type' => 'reset', + $this->element('input', array('id' => 'settings_design_reset', + 'type' => 'reset', 'value' => 'Reset', - 'class' => 'form_action-secondary')); + 'class' => 'submit form_action-primary', + 'title' => _('Reset back to default'))); + $this->submit('save', _('Save'), 'submit form_action-secondary', 'save', _('Save design')); /*TODO: Check submitted form values: json_encode(form values) |