Changeset 491a6e2 in github for program/include/html.php


Ignore:
Timestamp:
Sep 16, 2008 9:58:17 AM (5 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
d734041f
Parents:
a47acc5
Message:
  • Allow and use spellcheck attribute for input/textarea fields (#1485060)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/include/html.php

    r36c236e r491a6e2  
    249249    protected $tagname = 'input'; 
    250250    protected $type = 'text'; 
    251     protected $allowed = array('type','name','value','size','tabindex','autocomplete','checked','onchange','onclick','disabled','readonly'); 
     251    protected $allowed = array('type','name','value','size','tabindex','autocomplete','checked','onchange','onclick','disabled','readonly','spellcheck'); 
    252252 
    253253    public function __construct($attrib = array()) 
     
    417417{ 
    418418    protected $tagname = 'textarea'; 
    419     protected $allowed = array('name','rows','cols','wrap','tabindex','onchange','disabled','readonly'); 
     419    protected $allowed = array('name','rows','cols','wrap','tabindex','onchange','disabled','readonly','spellcheck'); 
    420420 
    421421    /** 
Note: See TracChangeset for help on using the changeset viewer.