This commit is contained in:
Dany De Bontridder 2013-12-20 15:50:39 +00:00
parent 898d2f3fbf
commit ca784a6019

View file

@ -33,7 +33,7 @@ class IButton extends HtmlInput
$this->name=($p_name==null)?$this->name:$p_name;
$this->value=($p_value==null)?$this->value:$p_value;
$this->label=(trim($this->label) != '')?$this->label:$this->value;
$class=($p_class="")?" button ":$this->class;
$class=($p_class=="")?" button ":$this->class;
if ( $this->readOnly==true) return $this->display();
$extra= ( isset($this->extra))?$this->extra:"";
$this->id=($this->id=="")?$this->name:$this->id;