diff options
Diffstat (limited to 'lib/disfavorform.php')
-rw-r--r-- | lib/disfavorform.php | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/lib/disfavorform.php b/lib/disfavorform.php index d0c3b1832..45a9ddb1d 100644 --- a/lib/disfavorform.php +++ b/lib/disfavorform.php @@ -103,6 +103,18 @@ class DisfavorForm extends Form common_session_token()); } + + /** + * Legend of the Form + * + * @return void + */ + function formLegend() + { + $this->out->element('legend', null, _('Disfavor this notice')); + } + + /** * Data elements * @@ -125,7 +137,7 @@ class DisfavorForm extends Form function formActions() { $this->out->submit('disfavor-submit-' . $this->notice->id, - _('Disfavor favorite')); + _('Disfavor favorite'), 'submit', null, _('Disfavor this notice')); } /** |