From fd6f6e27c4c727c1485674147e997eb9ce6118d6 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Wed, 01 Feb 2012 03:09:30 -0500
Subject: [PATCH] Allow placeholder attributes for input fields

---
 program/include/html.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/program/include/html.php b/program/include/html.php
index 34874df..d4c925c 100644
--- a/program/include/html.php
+++ b/program/include/html.php
@@ -318,8 +318,8 @@
     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

--
Gitblit v1.9.1