diff options
author | alecpl <alec@alec.pl> | 2012-03-04 07:59:46 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2012-03-04 07:59:46 +0000 |
commit | 66d2152ab57b1267552c75243919945b1ffc49bb (patch) | |
tree | 57ac9ca0c3147ab1247dbb5396debafee53f7356 /program/include/html.php | |
parent | 54d074613fede481758049c445c502acfe0ebe6a (diff) |
Exclude E_STRICT from error_reporting for PHP 5.4
Diffstat (limited to 'program/include/html.php')
-rw-r--r-- | program/include/html.php | 9 |
1 files changed, 3 insertions, 6 deletions
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 |