summaryrefslogtreecommitdiff
path: root/actions/deletenotice.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2009-05-21 00:12:48 +0000
committerSarven Capadisli <csarven@controlyourself.ca>2009-05-21 00:12:48 +0000
commit56a8a255fff0037c29db09d4abf6631e9c45c730 (patch)
tree4ce558b1dd243ab239967a185c9282af91a68d86 /actions/deletenotice.php
parent7ae2ed7cfcc78992c6f6ad02be646fb935c7f6dc (diff)
Changed No/Yes and Reset/Save locations. They are now a little more
usable by first offering the option to undo and than do.
Diffstat (limited to 'actions/deletenotice.php')
-rw-r--r--actions/deletenotice.php4
1 files changed, 2 insertions, 2 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');
}