diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2012-03-04 07:59:46 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2012-03-04 07:59:46 +0000 |
| commit | de68d30edb21f1b70c4f02afcb4d2b41a2da3f04 (patch) | |
| tree | 25a818ef450b74d26ced63d687159d859e1c4af9 /roundcubemail/program/include/html.php | |
| parent | fc1b6ff6c567675c0200cbc835380b5b87a2aa7d (diff) | |
Exclude E_STRICT from error_reporting for PHP 5.4
git-svn-id: https://svn.roundcube.net/trunk@5958 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/html.php')
| -rw-r--r-- | roundcubemail/program/include/html.php | 9 |
1 files changed, 3 insertions, 6 deletions
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 |
