From de68d30edb21f1b70c4f02afcb4d2b41a2da3f04 Mon Sep 17 00:00:00 2001 From: alec Date: Sun, 4 Mar 2012 07:59:46 +0000 Subject: Exclude E_STRICT from error_reporting for PHP 5.4 git-svn-id: https://svn.roundcube.net/trunk@5958 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/include/html.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'roundcubemail/program/include/html.php') diff --git a/roundcubemail/program/include/html.php b/roundcubemail/program/include/html.php index d4c925c54..27da2c340 100644 --- a/roundcubemail/program/include/html.php +++ b/roundcubemail/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