Improve Mandarine

Remove hardcoded stye in class_idate.php
This commit is contained in:
Dany De Bontridder 2014-03-02 14:01:56 +01:00
parent d39d7a1dc5
commit 9f91396ab9
2 changed files with 8 additions and 7 deletions

View file

@ -34,12 +34,12 @@ class IDate extends HtmlInput
if( $this->id=="")
$this->id=self::generate_id($this->name);
$r='<input type="text" name="'.$this->name.'" id="'.$this->id.'" '.
'style="border:solid 1px blue;" '.
' class="input_text" '.
'size="8" '.
' value ="'.$this->value.'" '.
'/>'.
'<img src="image/x-office-calendar.png" id="'.$this->id.'_trigger"'.
' style="cursor: pointer; border: 1px solid red;" '.
' style="cursor: pointer" '.
'onmouseover="this.style.background=\'red\';" onmouseout="this.style.background=\'\'" />';
$r.='<script type="text/javascript">'.
'Calendar.setup({'.