[%- USE T8 %]
+[%- USE L %]
[% USE HTML %]
-<body onload="on_load()">
-
<script type="text/javascript">
- <!--
- function on_load() {
- Calendar.setup({ inputField : "follow_up_date_from", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "follow_up_date_from_trigger" });
- Calendar.setup({ inputField : "follow_up_date_to", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "follow_up_date_to_trigger" });
- Calendar.setup({ inputField : "itime_from", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "itime_from_trigger" });
- Calendar.setup({ inputField : "itime_to", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "itime_to_trigger" });
- document.Form.subject.focus();
- }
- -->
+ $(function(){ document.Form.subject.focus(); });
</script>
<div class="listtop">[% title %]</div>
<td align="right">[% 'Follow-Up Date' | $T8 %]</td>
<td>
[% 'From' | $T8 %]
- <input name="follow_up_date_from" id="follow_up_date_from" size="12">
- <input type="button" name="follow_up_date_from_button" id="follow_up_date_from_trigger" value="?">
+ [% L.date_tag('follow_up_date_from') %]
[% 'To (time)' | $T8 %]
- <input name="follow_up_date_to" id="follow_up_date_to" size="12">
- <input type="button" name="follow_up_date_to_button" id="follow_up_date_to_trigger" value="?">
+ [% L.date_tag('follow_up_date_to') %]
</td>
</tr>
<td align="right">[% 'Created on' | $T8 %]</td>
<td>
[% 'From' | $T8 %]
- <input name="itime_from" id="itime_from" size="12">
- <input type="button" name="itime_from_button" id="itime_from_trigger" value="?">
+ [% L.date_tag('itime_from') %]
[% 'To (time)' | $T8 %]
- <input name="itime_to" id="itime_to" size="12">
- <input type="button" name="itime_to_button" id="itime_to_trigger" value="?">
+ [% L.date_tag('itime_to') %]
</td>
</tr>
</p>
</form>
-</body>
-</html>