Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 46bc75c8

Von Thomas Heck vor etwa 12 Jahren hinzugefügt

  • ID 46bc75c8079099de22ccbc6281b04f42ade67f1a
  • Vorgänger 2465e851
  • Nachfolger 6cbad8aa

Date-Input-Felder durch 'L.date_tag's ersetzt

Unterschiede anzeigen:

templates/webpages/oe/search.html
82 82
    <tr>
83 83
     <th align="right">[% IF is_order %][% 'Order Date' | $T8 %][% ELSE %][% 'Quotation Date' | $T8 %][% END %] [% 'From' | $T8 %]</th>
84 84
     <td>
85
      <input name="transdatefrom" id="transdatefrom" size="11" title="[% dateformat | html %]" onBlur="check_right_date_format(this)">
86
      <input type="button" name="transdatefrom" id="trigger3" value="?">
85
       [% L.date_tag('transdatefrom') %]
87 86
     </td>
88 87
     <th align="right">[% 'Bis' | $T8 %]</th>
89 88
     <td>
90
      <input name="transdateto" id="transdateto" size="11" title="[% HTML.escape(dateformat) %]" onBlur="check_right_date_format(this)">
91
      <input type="button" name="transdateto" name="transdateto" id="trigger4" value="?">
89
      [% L.date_tag('transdateto') %]
92 90
     </td>
93 91
    </tr>
94 92
    <tr>
95 93
     <th align="right">[% IF is_order %][% 'Delivery Date' | $T8 %][% ELSE %][% 'Valid until' | $T8 %][% END %] [% 'From' | $T8 %]</th>
96 94
     <td>
97
      <input name=reqdatefrom id=reqdatefrom size=11 title="[% HTML.escape(dateformat) %]" onBlur="check_right_date_format(this)">
98
      <input type=button name=reqdatefrom id="trigger5" value=?>
95
       [% L.date_tag('reqdatefrom') %]
99 96
     </td>
100 97
     <th align="right">[% 'Bis' | $T8 %]</th>
101 98
     <td>
102
      <input name=reqdateto id=reqdateto size=11 title="[% HTML.escape(dateformat) %]" onBlur="check_right_date_format(this)">
103
      <input type=button name=reqdateto name=reqdateto id="trigger6" value=?>
99
       [% L.date_tag('reqdateto') %]
104 100
     </td>
105 101
    </tr>
106 102
    <tr>
......
245 241
 </tr>
246 242
</table>
247 243

  
248
<script type="text/javascript">
249
 <!--
250
   Calendar.setup({ inputField : "transdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger3" });
251
   Calendar.setup({ inputField : "transdateto",   ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger4" });
252
   Calendar.setup({ inputField : "reqdatefrom",   ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger5" });
253
   Calendar.setup({ inputField : "reqdateto",     ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger6" });
254
 //-->
255
</script>
256

  
257 244
<br>
258 245
<input type="hidden" name="nextsub" value="orders">
259 246
<input type="hidden" name="vc" value="[% HTML.escape(vc) %]">

Auch abrufbar als: Unified diff