cosmetic : length text + select in display card

This commit is contained in:
Dany De Bontridder 2012-01-06 16:31:55 +00:00
parent d11c558c8c
commit 19909b99b5
2 changed files with 5 additions and 7 deletions

View file

@ -32,16 +32,13 @@ class ISelect extends HtmlInput
$this->name=($p_name==null)?$this->name:$p_name;
$this->value=($p_value==null)?$this->value:$p_value;
if ( $this->readOnly==true) return $this->display();
$style=(isset($this->style))?$this->style:"";
$disabled=($this->disabled==true)?"disabled":"";
//echo "<b>Selected <b>".$this->selected;
//$r=(isset($this->label))?$this->label:'';
$r="";
// if ( $this->table == 1 ) $r=td($r);
$a="<SELECT id=\"$this->name\" NAME=\"$this->name\" $this->javascript $disabled>";
$a="<SELECT id=\"$this->name\" NAME=\"$this->name\" $this->style $this->javascript $disabled>";
if (empty($this->value)) return '';
for ( $i=0;$i<sizeof($this->value);$i++)