summaryrefslogtreecommitdiff
path: root/lib/unsubscribeform.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-01-21 11:52:06 -0500
committerEvan Prodromou <evan@controlyourself.ca>2009-01-21 11:52:06 -0500
commit0824bb2e1df68fd6634ca915e4c87664ee2ef872 (patch)
tree690a016561e9c4012871dbad7434a7341ef33fdf /lib/unsubscribeform.php
parent4491e82762e498a02ec4f8a9f6c98cc194071e1f (diff)
parent92e2f3babc89863518b8711a1b62661752d806f5 (diff)
Merge branch 'master' into groups
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'));
}
}