From 20864d98ebcc1dd79a5adfbd69f5d5aa89cf74f2 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 4 Oct 2001 00:34:33 +0000 Subject: [PATCH] some extra param (with defaults) for submit_button and file --- infolog/inc/class.html.inc.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/infolog/inc/class.html.inc.php b/infolog/inc/class.html.inc.php index 105782d42f..c052a743da 100644 --- a/infolog/inc/class.html.inc.php +++ b/infolog/inc/class.html.inc.php @@ -40,9 +40,10 @@ class html return $html; } - function submit_button($name,$lang) + function submit_button($name,$lang,$onClick='') { - return "\n"; + return "\n"; } /* @@ -75,7 +76,8 @@ class html return "\n"; } - function file($name) + + function file($name,$value='') { return "\n"; }