From afc02bc1c3db9ffe8c9bf660c8aa08666752edfb Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Sun, 8 May 2011 15:26:22 +0000 Subject: h-source:added new EasyGiant SVN version --- h-source/Library/Html/Form.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'h-source/Library/Html') diff --git a/h-source/Library/Html/Form.php b/h-source/Library/Html/Form.php index e3148cd..501e2a2 100644 --- a/h-source/Library/Html/Form.php +++ b/h-source/Library/Html/Form.php @@ -89,6 +89,19 @@ class Html_Form { return $returnString; } + //return the HTML of an + //$name: the name of the input + //$className: the class name of the input + //$idName: name of the id + static public function fileUpload($name, $value, $className = null, $idName = null) + { + $strClass = isset($className) ? "class='".$className."'" : null; + $idStr = isset($idName) ? "id='".$idName."'" : null; + + $returnString ="\n"; + return $returnString; + } + //return the HTML of a checkBox //$name: name of the checkBox (string) //$value: the value of the checkBox (string or number) -- cgit v1.2.3