Correction of small presentation bugs

This commit is contained in:
Dany De Bontridder 2010-07-09 21:50:50 +00:00
parent 72f61b0a87
commit 051bd86b37
2 changed files with 3 additions and 3 deletions

View file

@ -34,7 +34,7 @@ require_once('class_html_input.php');
if ( $this->readOnly==true) return $this->display();
$r='<input type="text" name="'.$this->name.'" id="'.$this->name.'"'.
'style="border:solid 1px blue;"'.
'size="10"'.
'size="8"'.
' value ="'.$this->value.'"'.
'/>'.
'<img src="image/x-office-calendar.png" id="'.$this->name.'_trigger"'.

View file

@ -42,9 +42,9 @@ class INum extends IText
public function display()
{
$this->size=9;
$readonly=" readonly ";$this->style='style="border:solid 1px blue;color:black;background:#EDEDED;text-align:right"';
$readonly=" readonly ";$style='style="border:solid 1px blue;color:black;background:#EDEDED;text-align:right"';
$this->value=str_replace('"','',$this->value);
$r='<INPUT '.$this->style.' TYPE="TEXT" id="'.
$r='<INPUT '.$style.' TYPE="TEXT" id="'.
$this->name.'"'.
'NAME="'.$this->name.'" VALUE="'.$this->value.'" '.
'SIZE="'.$this->size.'" '.$this->javascript." $readonly $this->extra >";