Bug 5917 / Bug 6085 : Fixing not being able to change language
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / tools / scheduler.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Tools &rsaquo; Task Scheduler</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <!-- TMPL_INCLUDE NAME="calendar.inc" -->
5 </head>
6 <body>
7 <!-- TMPL_INCLUDE NAME="header.inc" -->
8 <!-- TMPL_INCLUDE NAME="circ-search.inc" -->
9
10 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; <strong>Task Scheduler</strong></div>
11
12 <div id="doc3" class="yui-t2">
13
14    <div id="bd">
15     <div id="yui-main">
16     <div class="yui-b">
17
18 <div id="main">
19
20 <!-- TMPL_IF NAME="job_add_failed" -->
21 <div class="dialog message">Failed to add scheduled task</div>
22 <!-- /TMPL_IF -->
23
24 <form name="form1" action="scheduler.pl" method="post">
25 <input type="hidden" name="mode" value="job_add" />
26
27 <fieldset class="rows">
28 <legend>Task Scheduler</legend><ol>
29 <li><span class="label">Current server time is:</span>
30 <!-- TMPL_VAR NAME="time" --></li>
31 <li><label for="starttime">Time:</label>
32 <input type="text" name="starttime" id="starttime" value="" maxlength="5" size="5" /></li>
33 <li><label for="startdate">Date: </label> <input type="text" size="10" id="startdate" name="startdate" value="" />
34 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" border="0" alt="Show Calendar" id="openCalendarStartdate" style="cursor: pointer;" />
35
36 <script type="text/javascript">
37 //<![CDATA[
38                                 Calendar.setup({
39                                         inputField : "startdate",
40                                         ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
41                                         button : "openCalendarStartdate"
42                                 });
43 //]]>
44 </script>
45 <div class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></div>
46 </li>
47 <li><label for="report">Report:</label>
48 <select name="report" id="report">
49 <!-- TMPL_LOOP NAME="savedreports" -->
50     <!-- TMPL_IF NAME="selected" -->
51         <option value="<!-- TMPL_VAR NAME="id" -->" selected="selected"><!-- TMPL_VAR NAME="report_name"--></option>
52     <!-- TMPL_ELSE -->
53         <option value="<!-- TMPL_VAR NAME="id" -->"><!-- TMPL_VAR NAME="report_name"--></option>
54     <!-- /TMPL_IF -->
55 <!-- /TMPL_LOOP -->
56 </select>
57 </li>
58 <li><label for="format">Output Format:</label>
59 <select name="format" id="format">
60 <option value="text">Text</option>
61 <option value="url">URL</option>
62 </select>
63 </li>
64 <li><label for="email">Email:</label>
65
66 <input type="text" name="email" id="email" size="50" />
67 </li>
68 </ol></fieldset>
69 <fieldset class="action"><input class="submit-button" type="submit" value="Save" /></fieldset>
70 </form>
71   
72 <!-- TMPL_IF NAME="JOBS" --><h2>Jobs already entered</h2>
73 <table>
74 <tr>
75 <th>Date/Time</th>
76 <th>Action</th>
77 <th>&nbsp;</th>
78 </tr>
79 <!-- TMPL_LOOP NAME="JOBS" -->
80 <form action="scheduler.pl" method="post">
81 <input type="hidden" name="mode" value="job_change" />
82
83 <tr>
84 <td><!-- TMPL_VAR NAME="TIME" --></td>
85 <td><!-- TMPL_VAR NAME="TAG" --></td>
86 <td><input type="submit" name="delete" value="Delete" /></td>
87 </tr>
88 <input type="hidden" name="jobid" value="<!-- TMPL_VAR NAME="JOBID" -->" />
89 </form>
90 <!-- /TMPL_LOOP -->
91 </table><!-- /TMPL_IF -->
92
93
94 </div>
95 </div>
96 </div>
97 <div class="yui-b noprint">
98 <!-- TMPL_INCLUDE NAME="tools-menu.inc" -->
99 <!-- TMPL_INCLUDE NAME="guided-reports-view.inc" -->
100 </div>
101 </div>
102 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->