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
|
<!-- vlist Template -->
<body class="frame">
<div id="body">
<?% ######################################################################## %?>
<?% BLOCK RowButtons %?>
<?% IF allow('vdredit') %?>
<a href="javascript:popup('vdredit','<?% id %?>',620,670,1)">
<img src="images/edit.<?% global.imagetyp %?>" alt="" title="<?% gettext("Edit definition of video disk recorder") %?>" />
</a>
<?% END %?>
<?% IF allow('vdrdelete') %?>
<a href="javascript:sureandreload('<?% gettext("Would you like to delete this definition of video disk recorder?") %?>','<?% escape(host) %?>','vdrdelete','<?% id %?>')">
<img src="images/delete.<?% global.imagetyp %?>" alt="" title="<?% gettext("Delete definition of video disk recorder") %?>" />
</a>
<?% END %?>
<?% END %?>
<?% ######################################################################## %?>
<?% BLOCK SetState %?>
<?% state = '' %?>
<?% UNLESS active == 'y' %?>
<?% state = "deactive" %?>
<?% ELSIF primary == 'y' %?>
<?% state = "running" %?>
<?% END %?>
<?% END %?>
<?% ######################################################################## %?>
<?% aus = gettext('Off') %?>
<?% an = gettext('On') %?>
<?% BLOCK StateImage %?>
<?% IF active == 'y' %?>
<img id="toggle<?% id %?>" src="images/on.<?% global.imagetyp %?>" alt="" title="<?% an %?>" />
<?% ELSE %?>
<img id="toggle<?% id %?>" src="images/off.<?% global.imagetyp %?>" alt="" title="<?% aus %?>" />
<?% END %?>
<?% END %?>
<?% ######################################################################## %?>
<?% BLOCK ItemAsArea %?>
<?% PROCESS SetState %?>
<div class="areabegin">
<table class="fieldtable" summary="">
<tr>
<td class="fieldhead">
<?% IF allow('vdredit') %?>
<a title="<?% gettext("Edit definition of video disk recorder") %?>" href="javascript:popup('vdredit','<?% id %?>',620,670,1)" class="fieldinline" >
<?% END %?>
<?% PROCESS StateImage %?>
<font class="title<?% IF state != "";" ";state;END %?>"><?% host %?></font>
<?% IF allow('vdredit') %?>
</a>
<?% END %?>
</td>
</tr>
<tr>
<td class="fieldtext" height="50" >
<?% IF allow('vdredit') %?>
<a title="<?% gettext("Edit definition of video disk recorder") %?>" href="javascript:popup('vdredit','<?% id %?>',620,670,1)" class="fieldinline" >
<?% END %?>
<font class="subtitle<?% IF state != "";" ";state;END %?>"><?% cards %?></font>
<?% IF allow('vdredit') %?>
</a>
<?% END %?>
</td>
</tr>
<tr>
<td class="fieldtext">
<table class="fieldinline" summary="">
<tr>
<td valign="middle" align="left" class="fieldinline" >
</td>
<td class="fieldinline push">
<?% PROCESS RowButtons %?>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="fieldbottom"></td>
</tr>
</table>
</div>
<?% END %?>
<?% ######################################################################## %?>
<h1><?% gettext("Administration of video disk recorder") %?></h1>
<?% IF data.size > 1 %?>
<?% fields = data.shift %?>
<?% FOREACH zeile IN data %?>
<?% IF verbose;"<!-- Item: ";FOREACH x IN zeile;loop.count - 1;":";x.replace("-"," ");"|";END;"-->";END %?>
<?% id=zeile.0;active=zeile.1;primary=zeile.2;host=zeile.3;cards=zeile.4 %?>
<?% IF zeile.size <= 1 %?>
<div class="areaclose"></div>
<strong><?% zeile %?></strong>
<?% ELSE %?>
<?% PROCESS ItemAsArea %?>
<?% END %?>
<?% END %?>
<?% END %?>
</div>
<!-- ###### Seite ###### -->
<div id="sidebar">
<table summary="">
<tr><td class="sidehead"><?% gettext("Administration of video disk recorder",20) %?></td></tr>
<?% IF allow('vdrnew') %?>
<tr>
<td class="sidetext">
<a title="<?% gettext("Create new definition of video disk recorder") %?>" href="javascript:popupcmd('vdrnew',620,670,1)"><img src="images/new.<?% global.imagetyp %?>" alt="" title="<?% gettext("Create new definition of video disk recorder") %?>" /></a>
<a title="<?% gettext("Create new definition of video disk recorder") %?>" href="javascript:popupcmd('vdrnew',620,670,1)"><?% gettext("Create new definition of video disk recorder",20) %?></a><br />
</td>
</tr>
<?% END %?>
<tr>
<td class="sidebottom"></td>
</tr>
</table>
<p id="sidefooter"> </p>
</div>
<?% INCLUDE header.inc %?>
|