Fix cosmetic and typo
This commit is contained in:
parent
c12b3f14d1
commit
3eaa95387b
6 changed files with 7 additions and 8 deletions
|
|
@ -56,7 +56,6 @@ class IDate extends HtmlInput
|
|||
if ($this->readOnly==true)
|
||||
return $this->display();
|
||||
if ($this->id=="") $this->id=self::generate_id($this->name);
|
||||
$t= 'title="'.$this->title.'" ';
|
||||
$autofocus=($this->autofocus)?" autofocus ":"";
|
||||
|
||||
$r=sprintf('
|
||||
|
|
@ -66,7 +65,6 @@ class IDate extends HtmlInput
|
|||
value ="%s"
|
||||
placeholder="%s"
|
||||
title="%s"
|
||||
%s
|
||||
pattern="[0-9]{1,2}.[0-9]{1,2}.[0-9]{4}"
|
||||
/>
|
||||
<span class="smallbutton icon"
|
||||
|
|
@ -74,7 +72,7 @@ class IDate extends HtmlInput
|
|||
/>
|
||||

|
||||
</span>
|
||||
',$this->name,$this->id,$this->value,$this->placeholder,$this->title,$t,$this->id
|
||||
',$this->name,$this->id,$this->value,$this->placeholder,$this->title,$this->id
|
||||
);
|
||||
|
||||
$r.=sprintf('<script type="text/javascript">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue