summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2012-02-01 08:09:30 +0000
committerthomascube <thomas@roundcube.net>2012-02-01 08:09:30 +0000
commitfd6f6e27c4c727c1485674147e997eb9ce6118d6 (patch)
treeca3234cd2dc9079a53f1126133f7ca9cc1da4a82
parent3a86e26768108bcd350a81582b8d631d307dd1c2 (diff)
Allow placeholder attributes for input fields
-rw-r--r--program/include/html.php4
1 files 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