select add rowsize

This commit is contained in:
Dany De Bontridder 2013-09-15 21:55:57 +00:00
parent 27783ce83d
commit 12e8d4047c

View file

@ -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.'"':"";
$rowsize = (isset ($this->rowsize)) ? ' size = "'.$this->rowsize.'"':"";
$r="";
$a="<SELECT id=\"$this->id\" NAME=\"$this->name\" $style $this->javascript $disabled $size>";
$a="<SELECT id=\"$this->id\" NAME=\"$this->name\" $style $this->javascript $disabled $rowsize>";
if (empty($this->value)) return '';
for ( $i=0;$i<sizeof($this->value);$i++)