X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fnudgeform.php;h=7380462a7d9d0e129f3446fed640e2bd702ed592;hb=e670e4306bf3e0e7e90523bcbfa2eb8060f4ed67;hp=7d04e11e46649831bb3abfe4cbc94b1b35f6f417;hpb=4b9df58c90e25ea79aeec64c6e96f828fe06d7df;p=quix0rs-gnu-social.git diff --git a/lib/nudgeform.php b/lib/nudgeform.php index 7d04e11e46..7380462a7d 100644 --- a/lib/nudgeform.php +++ b/lib/nudgeform.php @@ -77,9 +77,22 @@ class NudgeForm extends Form function id() { - return 'nudge'; + return 'form_user_nudge'; } + + /** + * class of the form + * + * @return string of the form class + */ + + function formClass() + { + return 'form_user_nudge'; + } + + /** * Action of the form * @@ -92,6 +105,18 @@ class NudgeForm extends Form array('nickname' => $this->profile->nickname)); } + + /** + * Legend of the Form + * + * @return void + */ + function formLegend() + { + $this->out->element('legend', null, _('Nudge this user')); + } + + /** * Action elements * @@ -100,6 +125,6 @@ class NudgeForm extends Form function formActions() { - $this->out->submit('submit', _('Send a nudge')); + $this->out->submit('submit', _('Nudge'), 'submit', null, _('Send a nudge to this user')); } -} \ No newline at end of file +}