summaryrefslogtreecommitdiff
path: root/lib/subscribeform.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/subscribeform.php
parent4491e82762e498a02ec4f8a9f6c98cc194071e1f (diff)
parent92e2f3babc89863518b8711a1b62661752d806f5 (diff)
Merge branch 'master' into groups
Diffstat (limited to 'lib/subscribeform.php')
-rw-r--r--lib/subscribeform.php13
1 files changed, 12 insertions, 1 deletions
diff --git a/lib/subscribeform.php b/lib/subscribeform.php
index 231e740a7..c65134e46 100644
--- a/lib/subscribeform.php
+++ b/lib/subscribeform.php
@@ -104,6 +104,17 @@ class SubscribeForm extends Form
return common_local_url('subscribe');
}
+
+ /**
+ * Legend of the Form
+ *
+ * @return void
+ */
+ function formLegend()
+ {
+ $this->out->element('legend', null, _('Subscribe to this user'));
+ }
+
/**
* Data elements of the form
*
@@ -125,6 +136,6 @@ class SubscribeForm extends Form
function formActions()
{
- $this->out->submit('submit', _('Subscribe'));
+ $this->out->submit('submit', _('Subscribe'), 'submit', null, _('Subscribe to this user'));
}
}