diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-01-21 11:52:06 -0500 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-01-21 11:52:06 -0500 |
commit | 0824bb2e1df68fd6634ca915e4c87664ee2ef872 (patch) | |
tree | 690a016561e9c4012871dbad7434a7341ef33fdf /lib/nudgeform.php | |
parent | 4491e82762e498a02ec4f8a9f6c98cc194071e1f (diff) | |
parent | 92e2f3babc89863518b8711a1b62661752d806f5 (diff) |
Merge branch 'master' into groups
Diffstat (limited to 'lib/nudgeform.php')
-rw-r--r-- | lib/nudgeform.php | 31 |
1 files changed, 28 insertions, 3 deletions
diff --git a/lib/nudgeform.php b/lib/nudgeform.php index 7d04e11e4..7380462a7 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 +} |