From 91475ca33f27be5116268415d80513bba6cfbd13 Mon Sep 17 00:00:00 2001 From: sarven Date: Sat, 17 Jan 2009 21:09:42 +0000 Subject: Update. Added separate $title param for input submit --- lib/htmloutputter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/htmloutputter.php') 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)); } /** -- cgit v1.2.3-54-g00ecf