improve select : add parameter size
This commit is contained in:
parent
599f52fce9
commit
b565a20101
1 changed files with 2 additions and 2 deletions
|
|
@ -36,10 +36,10 @@ class ISelect extends HtmlInput
|
|||
$this->id=($this->id=="")?$this->name:$this->id;
|
||||
|
||||
$disabled=($this->disabled==true)?"disabled":"";
|
||||
|
||||
$size = (isset ($this->size)) ? ' size = "'.$this->size.'"':"";
|
||||
$r="";
|
||||
|
||||
$a="<SELECT id=\"$this->id\" NAME=\"$this->name\" $style $this->javascript $disabled>";
|
||||
$a="<SELECT id=\"$this->id\" NAME=\"$this->name\" $style $this->javascript $disabled $size>";
|
||||
|
||||
if (empty($this->value)) return '';
|
||||
for ( $i=0;$i<sizeof($this->value);$i++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue