Changeset 1518702 in github


Ignore:
Timestamp:
Sep 4, 2008 8:10:36 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:
30694e4
Parents:
510ca28
Message:

#1485312: added 'readonly' attribute for input and textarea objects

File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/include/html.php

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