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/blockform.php | |
parent | 4491e82762e498a02ec4f8a9f6c98cc194071e1f (diff) | |
parent | 92e2f3babc89863518b8711a1b62661752d806f5 (diff) |
Merge branch 'master' into groups
Diffstat (limited to 'lib/blockform.php')
-rw-r--r-- | lib/blockform.php | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/lib/blockform.php b/lib/blockform.php index b7790681d..ea22c1cec 100644 --- a/lib/blockform.php +++ b/lib/blockform.php @@ -112,6 +112,18 @@ class BlockForm extends Form return common_local_url('block'); } + + /** + * Legend of the Form + * + * @return void + */ + function formLegend() + { + $this->out->element('legend', null, _('Block this user')); + } + + /** * Data elements of the form * @@ -138,6 +150,6 @@ class BlockForm extends Form function formActions() { - $this->out->submit('submit', _('Block')); + $this->out->submit('submit', _('block'), 'submit', null, _('Block this user')); } } |