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
|
<!-- topten -->
<body class="frame">
<div id="body">
<?% ######################################################################## %?>
<?% BLOCK RowButtons %?>
<a href="?cmd=search&data=<?% url( title ) %?>">
<img src="images/find.<?% global.imagetyp %?>" alt="" title="<?% gettext("Search for repeats") %?>" />
</a>
<?% IF timerid %?>
<?% IF allow('tedit') %?>
<a href="javascript:popup('tedit','<?% timerid %?>',620,670,1)">
<img src="images/onoff.<?% global.imagetyp %?>" alt="" title="<?% gettext("Edit this timer") %?>" />
</a>
<?% END %?>
<?% IF allow('tdelete') %?>
<!--
<a href="javascript:surecmd('<?% gettext("Would you like to delete this timer?") %?>','<?% escape(title) %?><?% IF subtitle != "";"~";escape(subtitle);END %?>','tdelete','<?% timerid %?>',620,670)">
<img src="images/delete.<?% global.imagetyp %?>" alt="" title="<?% gettext("Delete timer") %?>" />
</a>
-->
<?% END %?>
<?% ELSE %?>
<?% IF allow('tnew') %?>
<a href="javascript:popup('tnew','<?% id %?>',620,670,1)">
<img src="images/record.<?% global.imagetyp %?>" alt="" title="<?% gettext("To record") %?>" />
</a>
<?% END %?>
<?% END %?>
<?% END %?>
<?% ######################################################################## %?>
<?% BLOCK SetState %?>
<?% state = '' %?>
<?% IF running %?>
<?% state = "running" %?>
<?% ELSIF timerid %?>
<?% UNLESS recording %?>
<?% state = "deactive" %?>
<?% ELSE %?>
<?% state = "active" %?>
<?% END %?>
<?% END %?>
<?% END %?>
<?% ######################################################################## %?>
<?% BLOCK ItemAsArea %?>
<div class="areabegin">
<?% PROCESS SetState %?>
<table class="fieldtable" summary="">
<tr>
<td class="fieldhead">
<div class="fieldhead">
<a class="fieldinline" style="vertical-align:bottom;" href="?cmd=program&data=<?% channel %?><?% IF id %?>#E<?% id %?><?% END %?>" title="<?% gettext("Program guide for") %?> <?% sender %?>">
<font class="fieldinline<?% IF state != "";" ";state;END %?>"><?% channel %?>. <?% chop(sender,20) %?></font>
</a>
</div>
</td>
</tr>
<tr>
<td class="fieldtext">
<a href="javascript:popup('display','<?% id %?>',620,670,0)">
<font class="title<?% IF state != "";" ";state;END %?>"><?% chop(title,28) %?></font><br />
<font class="subtitle<?% IF state != "";" ";state;END %?>"> <?% chop(subtitle,32) %?></font>
</a>
<?% IF global.hideDescription != 1 %?>
<div class="epgdescription">
<a href="javascript:popup('display','<?% id %?>',620,670,0)">
<font class="fieldinline<?% IF state != "";" ";state;END %?>"><?% chop(description,35,3) %?></font>
</a>
</div>
<?% END %?>
</td>
</tr>
<tr>
<td class="fieldtext<?% IF state != "";" ";state;END %?>">
<table class="fieldinline" summary="">
<tr>
<td class="fieldinline">
<?% day %?><br />
<?% start %?>-<?% stop %?>
</td>
<td class="fieldinline push">
<?% INCLUDE widgets/tooltip.inc cmd="display" eventid=id linkid=id ttp_offset=-200 %?>
<?% PROCESS RowButtons %?>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="fieldbottom"></td>
</tr>
</table>
</div>
<?% END %?>
<?% ######################################################################## %?>
<?% IF data.size > 1 %?>
<?% fields = data.shift %?>
<h1><?% gettext("Top Ten entrys") %?></h1>
<?% FOREACH zeile IN data %?>
<?% IF verbose;"<!-- Item: ";FOREACH x IN zeile;loop.count - 1;":";x.replace("-"," ");"|";END;"-->";END %?>
<?% id=zeile.0;title=zeile.1;subtitle=zeile.2;sender=zeile.3;
channel=zeile.4;start=zeile.5;stop=zeile.6;day = zeile.7;description=zeile.8;
pdc=zeile.9;timerid=zeile.10;recording=zeile.11;running=zeile.12;
rank=zeile.13;level=zeile.14;quantity=zeile.15;
%?>
<?% PROCESS ItemAsArea %?>
<?% END %?>
<?% END %?>
</div>
<!-- ###### Seite ###### -->
<div id="sidebar">
<?% IF enableform || allow('tnew') || allow('tupdate') %?>
<table summary="">
<tr><td class="sidehead"><?% gettext("Timers",20) %?></td></tr>
<tr>
<td class="sidetext">
<?% IF allow('topten') %?>
<a href="?cmd=topten"><img src="images/topten.<?% global.imagetyp %?>" alt="" /></a>
<a href="?cmd=topten"><?% gettext("Top Ten entrys",20) %?></a><br />
<?% END %?>
<?% IF allow('tnew') %?>
<a href="javascript:popupcmd('tnew',620,670,1)"><img src="images/new.<?% global.imagetyp %?>" alt="" /></a>
<a href="javascript:popupcmd('tnew',620,670,1)"><?% gettext("Create new timer",20) %?></a><br />
<?% END %?>
<?% IF allow('tupdate') %?>
<a href="javascript:fire('tupdate','0')"><img src="images/refresh.<?% global.imagetyp %?>" alt="" /></a>
<a href="javascript:fire('tupdate','0')"><?% gettext("Update timers",20) %?></a><br />
<?% END %?>
</td>
</tr>
<tr>
<td class="sidebottom"></td>
</tr>
</table>
<?% END %?>
<table summary="">
<tr><td class="sidehead"><?% gettext("Search for timers",20) %?></td></tr>
<tr>
<td class="sidetext">
<form method="post" action="?cmd=tsearch" name="searchform">
<input type="text" id="timertext" name="data" alt="<?% gettext("Search for timers") %?>"
onkeyup="suggest('tsuggest','timertext','timersuggest');"
<?% IF cgi.param('cmd')=='ts' || cgi.param('cmd')=='tsearch' %?>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 %?>
|