diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-01-17 21:12:20 +0000 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-01-17 21:12:20 +0000 |
commit | 3ce45acfa8488a050cf7d68c8e980166f56c5d43 (patch) | |
tree | 442e4fe3afc7f140986d753aec2a6f5f7c790665 /lib/htmloutputter.php | |
parent | e019a55a83b70684f629bcd179ec938d735b4a57 (diff) | |
parent | 91475ca33f27be5116268415d80513bba6cfbd13 (diff) |
Merge branch 'uiredesign' of /var/www/trunk into uiredesign
Diffstat (limited to 'lib/htmloutputter.php')
-rw-r--r-- | lib/htmloutputter.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/htmloutputter.php b/lib/htmloutputter.php index 71f17604b..1e164933c 100644 --- a/lib/htmloutputter.php +++ b/lib/htmloutputter.php @@ -313,13 +313,14 @@ class HTMLOutputter extends XMLOutputter * @todo add a $name parameter */ - function submit($id, $label, $cls='submit', $name=null) + function submit($id, $label, $cls='submit', $name=null, $title=null) { $this->element('input', array('type' => 'submit', 'id' => $id, 'name' => ($name) ? $name : $id, 'class' => $cls, - 'value' => $label)); + 'value' => $label, + 'title' => $title)); } /** |