blob: b078fe64ec5ac1519ee01248f1b8b969d9846076 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html id="scroller">
<head>
<meta http-equiv="content-type" content="text/html;charset=<?% gettext('ISO-8859-1') %?>"/>
<title>VDRAdmin-AM - <?% gettext('AutoTimer') %?></title>
<link href="style.css" rel="stylesheet" media="screen" type="text/css"/>
<?% IF usercss %?>
<link href="user.css" rel="stylesheet" media="screen" type="text/css"/>
<?% END %?>
<script type="text/javascript" language="JavaScript1.2" src="library.js"></script>
<?% IF config.AT_TOOLTIP %?>
<script type="text/javascript" language="JavaScript1.2" src="infobox.js"></script>
<?% END %?>
</head>
<body id="at_timer_list">
<?% IF config.AT_TOOLTIP %?>
<div id="infodiv" style="position:absolute; visibility:hidden; z-index:20; top:0px; left:0px;"></div>
<script language="JavaScript" type="text/javascript">
<?%
FOREACH timer = at_timer_loop2;
%?>
maketip("VDR-<?% timer.id %?>", "<?% timer.pattern %?>", "<?% gettext('Priority:') %?> <?% timer.prio %?><br /><?% gettext('Lifetime:') %?> <?% timer.lft %?>");
<?%
END
%?>
</script>
<?% END %?>
<form action="<?% url %?>" method="get" name="FormName0">
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="heading">
<tr>
<td class="col_title">
<h1><?% gettext('AutoTimer') %?></h1>
</td>
<td class="col_other">
<input type="submit" class="submit" name="new_at" value="<?% gettext('New AutoTimer') %?>" />
<input type="hidden" name="aktion" value="at_timer_new" />
</td>
<?% IF help_url %?>
<td class="col_help">
<a href="javascript:open_help('<?% help_url %?>');"><img src="bilder/help.png" border="0" alt="help" title="<?% gettext('Help') %?>"/></a>
</td>
<?% END %?>
</tr>
</table>
</form>
<?% IF error_msg %?>
<div class="error"><?% error_msg %?></div>
<?% END %?>
<div id="content">
<?% IF at_timer_loop.size() > 0 %?>
<form action="<?% url %?>" method="get" name="FormName">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="list hilight">
<tr class="heading">
<td class="col_active <?% IF sortbyactive %?>selected<?% END %?>">
<h2>
<a href="<?% sortbyactiveurl %?>"><?% gettext('Active') %?>
<?% IF sortbyactive %?>
<img src="bilder/sortiert_<?% desc %?>.gif" alt="" width="9" height="11" border="0"/>
<?% ELSE %?>
<img src="bilder/spacer.gif" alt="" width="9" height="11" border="0"/>
<?% END %?>
</a>
</h2>
</td>
<td class="col_channel <?% IF sortbychannel %?>selected<?% END %?>">
<h2>
<a href="<?% sortbychannelurl %?>"><?% gettext('Channel') %?>
<?% IF sortbychannel %?>
<img src="bilder/sortiert_<?% desc %?>.gif" alt="" width="9" height="11" border="0"/>
<?% ELSE %?>
<img src="bilder/spacer.gif" alt="" width="9" height="11" border="0"/>
<?% END %?>
</a>
</h2>
</td>
<td class="col_start <?% IF sortbystart %?>selected<?% END %?>">
<h2>
<a href="<?% sortbystarturl %?>"><?% gettext('Start') %?>
<?% IF sortbystart %?>
<img src="bilder/sortiert_<?% desc %?>.gif" alt="" width="9" height="11" border="0"/>
<?% ELSE %?>
<img src="bilder/spacer.gif" alt="" width="9" height="11" border="0"/>
<?% END %?>
</a>
</h2>
</td>
<td class="col_stop <?% IF sortbystop %?>selected<?% END %?>">
<h2>
<a href="<?% sortbystopurl %?>"><?% gettext('Stop') %?>
<?% IF sortbystop %?>
<img src="bilder/sortiert_<?% desc %?>.gif" alt="" width="9" height="11" border="0"/>
<?% ELSE %?>
<img src="bilder/spacer.gif" alt="" width="9" height="11" border="0"/>
<?% END %?>
</a>
</h2>
</td>
<td class="col_name <?% IF sortbypattern %?>selected<?% END %?>">
<h2>
<a href="<?% sortbypatternurl %?>"><?% gettext('Name') %?>
<?% IF sortbypattern %?>
<img src="bilder/sortiert_<?% desc %?>.gif" alt="" width="9" height="11" border="0"/>
<?% ELSE %?>
<img src="bilder/spacer.gif" alt="" width="9" height="11" border="0"/>
<?% END %?>
</a>
</h2>
</td>
<td class="col_edit"></td>
<td class="col_delete"></td>
<td class="col_checkbox"><input type="checkbox" name="SELALL" value="SELALL" onclick="AllMessages(this.form);" title="<?% gettext('Select all/none') %?>"/></td>
</tr>
<?% FOREACH at = at_timer_loop %?>
<tr class="<?% IF loop.count() % 2 == 0 %?>row_even<?% ELSE %?>row_odd<?% END %?>">
<td class="col_active <?% IF at.sortbyactive %?>selected<?% END %?>">
<div>
<?% IF at.active %?>
<a href="<?% at.toggleurl %?>"><img src="bilder/poempl_gruen.png" alt="" align="middle" border="0"/> <?% gettext('Yes') %?></a>
<?% ELSE %?>
<a href="<?% at.toggleurl %?>"><img src="bilder/poempl_grau.png" alt="" align="middle" border="0"/> <?% gettext('No') %?></a>
<?% END %?>
</div>
</td>
<td class="col_channel <?% IF at.sortbychannel %?>selected<?% END %?>">
<div>
<?% IF at.channel %?><a href="<?% at.proglink %?>"><?% at.channel %?></a><?% ELSE %?>-<?% END %?>
</div>
</td>
<td class="col_start <?% IF at.sortbystart %?>selected<?% END %?>">
<div>
<?% IF at.start %?><?% at.start %?><?% ELSE %?>-<?% END %?>
</div>
</td>
<td class="col_stop <?% IF at.sortbystop %?>selected<?% END %?>">
<div>
<?% IF at.stop %?><?% at.stop %?><?% ELSE %?>-<?% END %?>
</div>
</td>
<td class="col_name <?% IF at.sortbypattern %?>selected<?% END %?>" <?% IF config.AT_TOOLTIP %?>onmouseover="tip('VDR-<?% at.id %?>'); return true;" onmouseout="untip(); return true;"<?% END %?>>
<div>
<a href="<?% at.modurl %?>" title="<?% gettext('Edit') %?>"><?% at.pattern %?></a>
</div>
</td>
<td class="col_edit">
<div>
<a href="<?% at.modurl %?>"><img src="bilder/edit.png" alt="edit" border="0" title="<?% gettext('Edit') %?>"/></a>
</div>
</td>
<td class="col_delete">
<div>
<a href="javascript:del('<?% gettext('Delete timer?') %?>\n\n"<?% at.pattern_js %?>"', '<?% at.delurl %?>');"><img src="bilder/delete.png" alt="delete" border="0" title="<?% gettext('Delete') %?>"/></a>
</div>
</td>
<td class="col_checkbox">
<div>
<input type="checkbox" name="xxxx_<?% at.id %?>"/>
</div>
</td>
</tr>
<?% END %?>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="buttons">
<tr>
<td align="left">
<input type="submit" class="submit" name="at_force" value="<?% gettext('Force Update') %?>" />
</td>
<td align="right">
<input type="submit" class="submit" name="at_delete" value="<?% gettext('Delete Selected AutoTimers') %?>" onclick="return mdel(this, '<?% gettext('Delete all selected timers?') %?>');" />
</td>
</tr>
</table>
<input type="hidden" name="aktion" value="at_timer_aktion"/>
</form>
<?% ELSE %?>
<div class="warning"><?% gettext('No AutoTimers defined!') %?></div>
<?% END %?>
</div>
</body>
</html>
|