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
|
<!--alist-->
<body class="frame">
<div id="body">
<?% ######################################################################## %?>
<?% aus = gettext('Off') %?>
<?% an = gettext('On') %?>
<?% ######################################################################## %?>
<?% BLOCK RowButtons %?>
<?% IF allow('tlist') %?>
<?% IF param.timers.${id}.allTimer.size %?>
<?% IF verbose %?>
<!-- active: <?% param.timers.${id}.activeTimer.size %?> -->
<!-- deactive:<?% param.timers.${id}.deactiveTimer.size %?> -->
<?% END %?>
<a href="?cmd=tlist&data=<?% param.timers.${id}.allTimer.join(',') %?>"
onmouseover="ttptlist(this, '<?% gettext("Planned recordings") %?>','<?% param.timers.${id}.allTimer.join(',') %?>', -350);">
<img src="images/info.<?% global.imagetyp %?>" alt="" />
</a>
<?% END %?>
<?% END %?>
<a href="?cmd=search&data=<?% url( title ) %?>">
<img src="images/find.<?% global.imagetyp %?>" alt="" title="<?% gettext("Search for repeats") %?>" />
</a>
<?% IF allow('aedit') %?>
<a href="javascript:popup('aedit','<?% id %?>',620,670,1)">
<img src="images/edit.<?% global.imagetyp %?>" alt="" title="<?% gettext("Edit autotimer") %?>" />
</a>
<?% END %?>
<?% IF allow('adelete') %?>
<a href="javascript:sureandreload('<?% gettext("Would you like to delete this autotimer?") %?>','<?% escape(title) %?>','adelete','<?% id %?>')">
<img src="images/delete.<?% global.imagetyp %?>" alt="" title="<?% gettext("Delete autotimer") %?>" />
</a>
<?% END %?>
<?% END %?>
<?% ######################################################################## %?>
<?% BLOCK SetState %?>
<?% UNLESS aktiv %?>
<?% state = "deactive" %?>
<?% ELSE %?>
<?% state = "" %?>
<?% END %?>
<?% END %?>
<?% ######################################################################## %?>
<?% BLOCK ItemAsFlat %?>
<?% PROCESS SetState %?>
<tr id="item<?% id %?>"<?% ' class="two"' IF loop.count mod 2 == 0 %?>>
<td class="fieldinline">
<?% IF allow('atoggle') %?>
<a href="javascript:toggle('atoggle','<?% id %?>')">
<?% END %?>
<img id="toggle<?% id %?>" src="images/<?% aktiv ? 'on' : 'off'%?>.<?% global.imagetyp %?>" alt="" />
<?% "</a>" IF allow('atoggle') %?>
</td>
<td class="fieldinline">
<?% IF allow('aedit') %?>
<a title="<?% gettext("Edit autotimer") %?>" href="javascript:popup('aedit','<?% id %?>',620,670,1)" class="fieldinline<?% IF state != "";" ";state;END %?>">
<?% END %?>
<font class="title<?% IF state != "";" ";state;END %?>"><?% title %?></font>
<?% "</a>" IF allow('aedit') %?>
</td>
<td class="fieldinline">
<?% IF directory != "" %?>
<font class="description<?% IF state != "";" ";state;END %?>">
<?% directory %?>
</font>
<?% END %?>
</td>
<td class="fieldinline">
<font class="description<?% IF state != "";" ";state;END %?>">
<?% IF channels.length > 0;
chop(channels,50);
END %?>
</font>
</td>
<td class="fieldinline">
<?% IF start != stop %?>
<font class="description<?% IF state != "";" ";state;END %?>">
<?% start %?>-<?% stop %?>
</font>
<?% END %?>
</td>
<td align="right" class="fieldinline<?% IF state != "";" ";state;END %?>">
<?% PROCESS RowButtons %?>
</td>
</tr>
<?% END %?>
<?% ######################################################################## %?>
<h1><?% gettext("Wished automated recordings") %?></h1>
<?% IF data.size > 1 %?>
<?% fields = data.shift %?>
<table class="largetable" summary="">
<tr><td class="largehead"><?% gettext("Autotimer") %?></td></tr>
<tr>
<td class="largetext" align="left">
<table width="100%">
<tr height="0"><th width="20"></th><th></th><th width="200"></th><th width="100"></th><th width="80"></th><th width="100" align="right"></th></tr>
<?% FOREACH zeile IN data %?>
<?% IF verbose;"<!-- Item: ";FOREACH x IN zeile;loop.count - 1;":";x.replace("-"," ");"|";END;"-->";END %?>
<?% id=zeile.0;title=zeile.2;channels=zeile.3;directory=zeile.4;start=zeile.5;stop=zeile.6;minlength=zeile.7 %?>
<?% IF zeile.1 == 'y' %?><?% aktiv = 1 %?><?% ELSE %?><?% aktiv = 0 %?><?% END %?>
<?% PROCESS ItemAsFlat %?>
<?% END %?>
</table>
</td>
</tr>
<tr><td class="largebottom"></td></tr>
</table>
<?% END %?>
</div>
<!-- ###### Seite ###### -->
<div id="sidebar">
<?% IF allow('anew') || allow('aupdate') %?>
<table summary="">
<tr><td class="sidehead"><?% gettext("Autotimer",20) %?></td></tr>
<tr>
<td class="sidetext">
<?% IF allow('anew') %?>
<a title="<?% gettext("Create new autotimer") %?>" href="javascript:popupcmd('anew',620,670,1)"><img src="images/new.<?% global.imagetyp %?>" alt="" /></a>
<a title="<?% gettext("Create new autotimer") %?>" href="javascript:popupcmd('anew',620,670,1)"><?% gettext("Create new autotimer",20) %?></a><br />
<?% END %?>
<?% IF allow('aupdate') %?>
<a title="<?% gettext("Search autotimer") %?>" href="javascript:popupcmd('aupdate',620,670,0)"><img src="images/refresh.<?% global.imagetyp %?>" alt="" /></a>
<a title="<?% gettext("Search autotimer") %?>" href="javascript:popupcmd('aupdate',620,670,0)"><?% gettext("Search autotimer",20) %?></a><br />
<?% END %?>
</td>
</tr>
<tr>
<td class="sidebottom"></td>
</tr>
</table>
<?% END %?>
<?% IF param.sortable.defined %?>
<?% cmd = cgi.param('cmd') %?>
<?% IF cgi.param('data') %?>
<?% datax = cgi.param('data') %?>
<?% datas = "&data=${datax}" %?>
<?% END %?>
<table summary="">
<tr><td class="sidehead"><?% gettext("Sorting",20) %?></td></tr>
<tr>
<td class="sidetext">
<?% BLOCK SortItem %?>
<ul>
<li><a href="?cmd=<?% cmd %?><?% datas %?>&__sortby=<?% row %?>&__desc=0" ><img src="images/home.<?% global.imagetyp %?>" alt="" /></a></li>
<li class="label">
<?% "<strong>" IF cgi.param('__sortby') == row %?>
<a href="?cmd=<?% cmd %?><?% datas %?>&__sortby=<?% row %?>&__desc=<?% IF cgi.param('__sortby') == row && cgi.param('__desc') == 0 %?>1<?% ELSE %?>0<?% END %?>" >
<?% label %?>
</a>
<?% "</strong>" IF cgi.param('__sortby') == row %?>
</li>
<li><a href="?cmd=<?% cmd %?><?% datas %?>&__sortby=<?% row %?>&__desc=1" ><img src="images/down.<?% global.imagetyp %?>" alt="" /></a></li>
</ul>
<?% END %?>
<?% FOREACH row IN fields %?>
<?% NEXT IF row.match('^__') %?>
<?% PROCESS SortItem label=chop(row,20) %?>
<?% END %?>
</td>
</tr>
<tr>
<td class="sidebottom"></td>
</tr>
</table>
<?% END %?>
<table summary="">
<tr><td class="sidehead"><?% gettext("Search text",20) %?></td></tr>
<tr>
<td class="sidetext">
<form method="post" action="?cmd=asearch" name="searchform">
<input type="text" id="timertext" name="data" alt="<?% gettext("Search text") %?>"
onkeyup="suggest('asuggest','timertext','timersuggest');"
<?% IF cgi.param('cmd')=='as' || cgi.param('cmd')=='asearch' %?>value="<?% cgi.param('data')%?>"<?% END %?>
autocomplete="off" />
<br /><div class="suggestbox" id="timersuggest"></div>
</form>
</td>
</tr>
<tr>
<td class="sidebottom"></td>
</tr>
</table>
<p id="sidefooter"> </p>
</div>
<?% INCLUDE header.inc %?>
|