1 <table cellspacing="0" cellpadding="0" summary="{t}Event scheduling options{/t}">
2 <tr>
3 <td>{t}Year{/t}</td>
4 <td>{t}Month{/t}</td>
5 <td>{t}Day{/t}</td>
6 <td> </td>
7 <td>{t}Hour{/t}</td>
8 <td>{t}Minute{/t}</td>
9 <td>{t}Second{/t}</td>
10 </tr>
11 <tr>
12 <td>
13 <select name="time_year" onChange="document.mainform.submit();" size=1>
14 {html_options values=$years options=$years selected=$time_year}
15 </select>
16 </td>
17 <td>
18 <select name="time_month" onChange="document.mainform.submit();" size=1>
19 {html_options values=$months options=$months selected=$time_month}
20 </select>
21 </td>
22 <td>
23 <select name="time_day" size=1>
24 {html_options values=$days options=$days selected=$time_day}
25 </select>
26 </td>
27 <td> </td>
28 <td>
29 <select name="time_hour" size=1>
30 {html_options values=$hours options=$hours selected=$time_hour}
31 </select>
32 </td>
33 <td>
34 <select name="time_minute" size=1>
35 {html_options values=$minutes options=$minutes selected=$time_minute}
36 </select>
37 </td>
38 <td>
39 <select name="time_second" size=1>
40 {html_options values=$seconds options=$seconds selected=$time_second}
41 </select>
42 </td>
43 </tr >
44 </table>
45 <br>
46 <table width="100%" summary="{t}Periodical jobs{/t}">
47 <tr>
48 <td colspan="2">
49 <b>{t}Periodical job{/t}</b>
50 <input class='center' type="checkbox" name='activate_periodical_job' value='1' {if $activate_periodical_job} checked {/if}
51 onClick="changeState('periodValue'); changeState('periodType');">
52 </td>
53 </tr>
54 <tr>
55 <td>{t}Job intervall{/t}</td>
56 <td>
57 <input {if !$activate_periodical_job} disabled {/if}
58 size="4" type='text' id='periodValue' value='{$periodValue}' name='periodValue'>
59 <select name='periodType' id="periodType" {if !$activate_periodical_job} disabled {/if} size=1>
60 {html_options options=$periodTypes selected=$periodType}
61 </select>
62 </td>
63 </tr>
64 </table>