summaryrefslogtreecommitdiff
path: root/lib/unsubscribeform.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/unsubscribeform.php
parent27b627c09451c099b18a7cde90f6a028f820046c (diff)
Added @title to user_action inputs and anchor and form legends
Diffstat (limited to 'lib/unsubscribeform.php')
-rw-r--r--lib/unsubscribeform.php12
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/unsubscribeform.php b/lib/unsubscribeform.php
index 092369db7..ce91a1340 100644
--- a/lib/unsubscribeform.php
+++ b/lib/unsubscribeform.php
@@ -104,6 +104,16 @@ class UnsubscribeForm extends Form
}
/**
+ * Legend of the Form
+ *
+ * @return void
+ */
+ function formLegend()
+ {
+ $this->out->element('legend', null, _('Unsubscribe from this user'));
+ }
+
+ /**
* Data elements of the form
*
* @return void
@@ -124,6 +134,6 @@ class UnsubscribeForm extends Form
function formActions()
{
- $this->out->submit('submit', _('Unsubscribe'));
+ $this->out->submit('submit', _('Unsubscribe'), 'submit', null, _('Unsubscribe from this user'));
}
}