diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-02-06 15:38:10 -0500 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-02-06 15:38:10 -0500 |
commit | 02d7167906b63d490db3b5c3848accc5235b220f (patch) | |
tree | 92323dec8d456fdc737ee3a74c48dedf4cb92bcd /actions/deletenotice.php | |
parent | d260d841ebae71acf7bf726f52acaa6391ce1824 (diff) | |
parent | 60f737dc1eb2f126bae28ce095bc2d17a22bd7d9 (diff) |
Merge branch '0.7.x' into 0.8.x
Diffstat (limited to 'actions/deletenotice.php')
-rw-r--r-- | actions/deletenotice.php | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/actions/deletenotice.php b/actions/deletenotice.php index d4b8e50e5..16e2df889 100644 --- a/actions/deletenotice.php +++ b/actions/deletenotice.php @@ -103,17 +103,18 @@ class DeletenoticeAction extends DeleteAction function showContent() { - $this->elementStart('form', array('id' => 'notice_delete_form', + $this->elementStart('form', array('id' => 'form_notice_delete', + 'class' => 'form_settings', 'method' => 'post', 'action' => common_local_url('deletenotice'))); + $this->elementStart('fieldset'); + $this->element('legend', null, _('Delete notice')); $this->hidden('token', common_session_token()); $this->hidden('notice', $this->trimmed('notice')); - $this->elementStart('p'); - $this->element('span', array('id' => 'confirmation_text'), - _('Are you sure you want to delete this notice?')); - $this->submit('yes', _('Yes')); - $this->submit('no', _('No')); - $this->elementEnd('p'); + $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->elementEnd('fieldset'); $this->elementEnd('form'); } |