From 66d2152ab57b1267552c75243919945b1ffc49bb Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Sun, 04 Mar 2012 02:59:46 -0500
Subject: [PATCH] Exclude E_STRICT from error_reporting for PHP 5.4

---
 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 d4c925c..27da2c3 100644
--- a/program/include/html.php
+++ b/program/include/html.php
@@ -335,10 +335,6 @@
         if ($attrib['type']) {
             $this->type = $attrib['type'];
         }
-
-        if ($attrib['newline']) {
-            $this->newline = true;
-        }
     }
 
     /**
@@ -381,11 +377,12 @@
  * @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

--
Gitblit v1.9.1