From 66d2152ab57b1267552c75243919945b1ffc49bb Mon Sep 17 00:00:00 2001 From: alecpl Date: Sun, 4 Mar 2012 07:59:46 +0000 Subject: Exclude E_STRICT from error_reporting for PHP 5.4 --- program/include/html.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'program/include/html.php') diff --git a/program/include/html.php b/program/include/html.php index d4c925c54..27da2c340 100644 --- a/program/include/html.php +++ b/program/include/html.php @@ -335,10 +335,6 @@ class html_inputfield extends html if ($attrib['type']) { $this->type = $attrib['type']; } - - if ($attrib['newline']) { - $this->newline = true; - } } /** @@ -381,11 +377,12 @@ class html_passwordfield extends html_inputfield * @package HTML */ -class html_hiddenfield extends html_inputfield +class html_hiddenfield extends html { + protected $tagname = 'input'; protected $type = 'hidden'; protected $fields_arr = array(); - protected $newline = true; + protected $allowed = array('type','name','value','onchange','disabled','readonly'); /** * Constructor -- cgit v1.2.3