From fd6f6e27c4c727c1485674147e997eb9ce6118d6 Mon Sep 17 00:00:00 2001 From: thomascube Date: Wed, 1 Feb 2012 08:09:30 +0000 Subject: Allow placeholder attributes for input fields --- program/include/html.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/program/include/html.php b/program/include/html.php index 34874df6b..d4c925c54 100644 --- a/program/include/html.php +++ b/program/include/html.php @@ -318,8 +318,8 @@ class html_inputfield extends html protected $tagname = 'input'; protected $type = 'text'; protected $allowed = array('type','name','value','size','tabindex', - 'autocomplete','checked','onchange','onclick','disabled','readonly', - 'spellcheck','results','maxlength','src','multiple'); + 'autocomplete','checked','onchange','onclick','disabled','readonly', + 'spellcheck','results','maxlength','src','multiple','placeholder'); /** * Object constructor -- cgit v1.2.3