summaryrefslogtreecommitdiff
path: root/lib/nudgeform.php
diff options
context:
space:
mode:
authorsarven <csarven@plantard.controlezvous.ca>2009-01-21 07:14:43 +0000
committersarven <csarven@plantard.controlezvous.ca>2009-01-21 07:14:43 +0000
commit92e2f3babc89863518b8711a1b62661752d806f5 (patch)
tree125858c9f6520508de0fd8e0cf12778d185eb152 /lib/nudgeform.php
parent27b627c09451c099b18a7cde90f6a028f820046c (diff)
Added @title to user_action inputs and anchor and form legends
Diffstat (limited to 'lib/nudgeform.php')
-rw-r--r--lib/nudgeform.php14
1 files changed, 13 insertions, 1 deletions
diff --git a/lib/nudgeform.php b/lib/nudgeform.php
index 6374a7698..7380462a7 100644
--- a/lib/nudgeform.php
+++ b/lib/nudgeform.php
@@ -105,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
*
@@ -113,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'));
}
}