Bug 14854: Add DataTables on upload results table
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / tools / scheduler.tt
index 0509578..31a0084 100644 (file)
@@ -2,6 +2,13 @@
 <title>Koha &rsaquo; Tools &rsaquo; Task scheduler</title>
 [% INCLUDE 'doc-head-close.inc' %]
 [% INCLUDE 'calendar.inc' %]
+<script type="text/JavaScript">
+//<![CDATA[
+    $(document).ready(function(){
+        $("#startdate").datepicker({ minDate: "+0D" });
+    });
+//]]>
+</script>
 </head>
 <body id="tools_scheduler" class="tools">
 [% INCLUDE 'header.inc' %]
 <li><label for="starttime">Time:</label>
 <input type="text" name="starttime" id="starttime" value="" maxlength="5" size="5" /></li>
 <li><label for="startdate">Date: </label> <input type="text" size="10" id="startdate" name="startdate" value="" />
-<img src="[% themelang %]/lib/calendar/cal.gif" border="0" alt="Show calendar" id="openCalendarStartdate" style="cursor: pointer;" />
-
-<script type="text/javascript">
-//<![CDATA[
-                               Calendar.setup({
-                                       inputField : "startdate",
-                                       ifFormat : "[% DHTMLcalendar_dateformat %]",
-                                       button : "openCalendarStartdate"
-                               });
-//]]>
-</script>
 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
 </li>
 <li><label for="report">Report:</label>