Revision 46bc75c8
Von Thomas Heck vor etwa 12 Jahren hinzugefügt
templates/webpages/ap/search.html | ||
---|---|---|
1 | 1 |
[%- USE T8 %] |
2 |
[%- USE L %] |
|
2 | 3 |
<body> |
3 | 4 |
|
4 | 5 |
<form method=post name="search" action=[% script %]> |
... | ... | |
70 | 71 |
<tr> |
71 | 72 |
<th align=right nowrap>[% 'From' | $T8 %]</th> |
72 | 73 |
<td> |
73 |
<input name=transdatefrom id=transdatefrom size=11 title="dateformat | html %]" onBlur=\"check_right_date_format(this)\"> |
|
74 |
<input type=button name=transdatefrom id="trigger1" value=[% 'button' | $T8 %]> |
|
74 |
[% L.date_tag('transdatefrom') %] |
|
75 | 75 |
</td> |
76 | 76 |
<th align=right>[% 'Bis' | $T8 %]</th> |
77 | 77 |
<td> |
78 |
<input name=transdateto id=transdateto size=11 title="[% dateformat | html %]" onBlur=\"check_right_date_format(this)\"> |
|
79 |
<input type=button name=transdateto name=transdateto id="trigger2" value=[% 'button' | $T8 %]> |
|
78 |
[% L.date_tag('transdateto') %] |
|
80 | 79 |
</td> |
81 | 80 |
</tr> |
82 | 81 |
<input type=hidden name=sort value=transdate> |
... | ... | |
176 | 175 |
</body> |
177 | 176 |
<script type="text/javascript"> |
178 | 177 |
<!-- |
179 |
Calendar.setup( { inputField : "transdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger1" }); |
|
180 |
Calendar.setup( { inputField : "transdateto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger2" }); |
|
181 | 178 |
$(document).ready(function(){ |
182 | 179 |
focus(); |
183 | 180 |
setupDateFormat('[% dateformat | html %]','[% 'Falsches Datumsformat!' | $T8 %]'); |
Auch abrufbar als: Unified diff
Date-Input-Felder durch 'L.date_tag's ersetzt