summaryrefslogtreecommitdiff
path: root/lib/htmloutputter.php
diff options
context:
space:
mode:
authorsarven <csarven@plantard.controlezvous.ca>2009-01-17 21:09:42 +0000
committersarven <csarven@plantard.controlezvous.ca>2009-01-17 21:09:42 +0000
commit91475ca33f27be5116268415d80513bba6cfbd13 (patch)
tree442e4fe3afc7f140986d753aec2a6f5f7c790665 /lib/htmloutputter.php
parent5a81b6d04ea7e2f7c5e5799ada8a611ec9406317 (diff)
Update. Added separate $title param for input submit
Diffstat (limited to 'lib/htmloutputter.php')
-rw-r--r--lib/htmloutputter.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/htmloutputter.php b/lib/htmloutputter.php
index f83998bc2..1e164933c 100644
--- a/lib/htmloutputter.php
+++ b/lib/htmloutputter.php
@@ -313,14 +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,
- 'title' => $label));
+ 'title' => $title));
}
/**