blob: 7d71fb37596a19e4428a1dd3f1b3fd233763179e (
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
|
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<title>VDRAdmin - <tmpl_if newtimer>New Timer<tmpl_else>Edit Timer</tmpl_if></title>
<script language="JavaScript">
<!--
function cTimer() {
var Timer = "";
Days = new Array("M", "T", "W", "T", "F", "S", "S");
for(var i = 0; i <= 6; i++) {
Status = eval("document.form.D" + i + ".checked");
if(Status == true) {
Timer = Timer + Days[i];
} else {
Timer = Timer + "-";
}
document.form.dor.value = Timer;
}
}
function eCheckbox(complTimer) {
if(complTimer.length == 7) {
for(var i = 0; i <= 6; i++) {
if(complTimer.substring(i, i + 1) != "-") {
eval("document.form.D" + i + ".click();");
}
}
}
}
//-->
</script>
<link href="style.css" rel="stylesheet" media="screen">
</head>
<body onload='eCheckbox("<tmpl_var dor>")' bgcolor="#f0f0f0" leftmargin="3" marginheight="20" marginwidth="3" topmargin="20">
<form action="<tmpl_var url>" method="get" name="form">
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="39">
<tr>
<td valign="middle" width="200" background="bilder/nav_button_back.gif">
<p class="einzug_ohnetop"><b><tmpl_if newtimer>New Timer<tmpl_else>Edit timer</tmpl_if></b></p>
</td>
<td align="right" width="550" background="bilder/nav_button_back_mitte.gif"> </td>
<td align="right" width="203" background="bilder/nav_button_back_mitte.gif"> </td>
<td width="15" background="bilder/nav_button_back_end.gif"> </td>
</tr>
</table>
<br>
<div align="left">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr height="30">
<td width="30" height="30"><img src="bilder/uebersicht_oben_links.gif" alt="" width="30" height="30" border="0"></td>
<td align="right" width="100%" height="30" background="bilder/uebersicht_oben.gif"> </td>
<td width="30" height="30"><img src="bilder/uebersicht_oben_rechts.gif" alt="" width="30" height="30" border="0"></td>
</tr>
<tr>
<td colspan="3">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr height="25">
<td width="30" height="25" background="bilder/uebersicht_links.gif"></td>
<td width="20%" height="25" background="bilder/uebersicht_mitte.gif"> Timer Active</td>
<td height="25" background="bilder/uebersicht_mitte.gif">
<tmpl_if active>
<input type="radio" name="active" value="1" checked>yes
<input type="radio" name="active" value="0">no
<tmpl_else>
<input type="radio" name="active" value="1">yes
<input type="radio" name="active" value="0" checked>no
</tmpl_if>
</td>
<td width="30" height="25" background="bilder/uebersicht_rechts.gif"></td>
</tr>
<tr height="25">
<td width="30" height="25" background="bilder/uebersicht_links_dark.gif"></td>
<td width="20%" height="25" background="bilder/uebersicht_mitte_dark.gif"> Automatic Timer Checking</td>
<td height="25" background="bilder/uebersicht_mitte_dark.gif">
<tmpl_if expr="event_id > 1">
<input type="radio" name="event_id" value="<tmpl_var event_id>" checked>program ID
<input type="radio" name="event_id" value="1">recording time
<input type="radio" name="event_id" value="0">disabled
</tmpl_if>
<tmpl_if expr="event_id == 1">
<input type="radio" name="event_id" value="1" checked>recording time
<input type="radio" name="event_id" value="0">disabled
</tmpl_if>
<tmpl_if expr="event_id == 0">
<input type="radio" name="event_id" value="1">recording time
<input type="radio" name="event_id" value="0" checked>disabled
</tmpl_if>
</td>
<td width="30" height="25" background="bilder/uebersicht_rechts_dark.gif"></td>
</tr>
<tr height="25">
<td width="30" height="25" background="bilder/uebersicht_links.gif"></td>
<td width="20%" height="25" background="bilder/uebersicht_mitte.gif"> Channel</td>
<td height="25" background="bilder/uebersicht_mitte.gif"><select name="channel" size="1"><tmpl_loop name="channels"><tmpl_if current>
<option value="<tmpl_var vdr_id>" selected>
<tmpl_else>
<option value="<tmpl_var vdr_id>"></tmpl_if>
<tmpl_var name="name">
</option></tmpl_loop></select></td>
<td width="30" height="25" background="bilder/uebersicht_rechts.gif"></td>
</tr>
<tr height="25">
<td valign="top" width="30" height="25" background="bilder/uebersicht_links_dark.gif"></td>
<td valign="top" width="20%" height="25" background="bilder/uebersicht_mitte_dark.gif"> Day of recording</td>
<td height="25" background="bilder/uebersicht_mitte_dark.gif"><input type="text" name="dor" value="<tmpl_var dor>" size="20"><br>
<input onclick="cTimer()" type="checkbox" name="D0" value="1">Monday <input onclick="cTimer()" type="checkbox" name="D1" value="1">Tuesday <input onclick="cTimer()" type="checkbox" name="D2" value="radioValue">Wednesday <input onclick="cTimer()" type="checkbox" name="D3" value="radioValue"> Thursday <input onclick="cTimer()" type="checkbox" name="D4" value="radioValue">Friday <input onclick="cTimer()" type="checkbox" name="D5" value="radioValue">Saturday <input onclick="cTimer()" type="checkbox" name="D6" value="radioValue"> Sunday</td>
<td width="30" height="25" background="bilder/uebersicht_rechts_dark.gif"></td>
</tr>
<tr height="25">
<td width="30" height="25" background="bilder/uebersicht_links.gif"></td>
<td width="20%" height="25" background="bilder/uebersicht_mitte.gif"> Starts</td>
<td height="25" background="bilder/uebersicht_mitte.gif"><input type="text" name="starth" value="<tmpl_var starth>" size="2" maxlength="2"> <b>:</b> <input type="text" name="startm" value="<tmpl_var startm>" size="2" maxlength="2"></td>
<td width="30" height="25" background="bilder/uebersicht_rechts.gif"></td>
</tr>
<tr height="25">
<td width="30" height="25" background="bilder/uebersicht_links_dark.gif"></td>
<td width="20%" height="25" background="bilder/uebersicht_mitte_dark.gif"> Stops</td>
<td height="25" background="bilder/uebersicht_mitte_dark.gif"><input type="text" name="stoph" value="<tmpl_var stoph>" size="2" maxlength="2"> <b>:</b> <input type="text" name="stopm" value="<tmpl_var stopm>" size="2" maxlength="2"></td>
<td width="30" height="25" background="bilder/uebersicht_rechts_dark.gif"></td>
</tr>
<tr height="25">
<td width="30" height="25" background="bilder/uebersicht_links.gif"></td>
<td width="20%" height="25" background="bilder/uebersicht_mitte.gif"> Priority</td>
<td height="25" background="bilder/uebersicht_mitte.gif"><input type="text" name="prio" value="<tmpl_var prio>" size="2" maxlength="2"></td>
<td width="30" height="25" background="bilder/uebersicht_rechts.gif"></td>
</tr>
<tr height="25">
<td width="30" height="25" background="bilder/uebersicht_links_dark.gif"></td>
<td width="20%" height="25" background="bilder/uebersicht_mitte_dark.gif"> Lifetime</td>
<td height="25" background="bilder/uebersicht_mitte_dark.gif"><input type="text" name="lft" value="<tmpl_var lft>" size="2" maxlength="2"></td>
<td width="30" height="25" background="bilder/uebersicht_rechts_dark.gif"></td>
</tr>
<tr height="25">
<td width="30" height="25" background="bilder/uebersicht_links.gif"></td>
<td width="20%" height="25" background="bilder/uebersicht_mitte.gif"> Title</td>
<td height="25" background="bilder/uebersicht_mitte.gif"><input type="text" name="title" value="<tmpl_var title>" size="55"></td>
<td width="30" height="25" background="bilder/uebersicht_rechts.gif"></td>
</tr>
<tr>
<td valign="top" width="30" background="bilder/uebersicht_links_dark.gif"></td>
<td valign="top" width="20%" background="bilder/uebersicht_mitte_dark.gif"> Summary</td>
<td background="bilder/uebersicht_mitte_dark.gif"><textarea name="summary" rows="6" cols="80"><tmpl_var summary></textarea></td>
<td width="30" background="bilder/uebersicht_rechts_dark.gif"></td>
</tr>
</table>
</td>
</tr>
<tr height="30">
<td width="30" height="30"><img src="bilder/uebersicht_unten_links.gif" alt="" width="30" height="30" border="0"></td>
<td width="100%" height="30" background="bilder/uebersicht_unten.gif"></td>
<td width="30" height="30"><img src="bilder/uebersicht_unten_rechts.gif" alt="" width="30" height="30" border="0"></td>
</tr>
</table>
</div>
<div align="left">
<br>
<input type="submit" name="save" value="Save"><input type="submit" name="exit" value="Abort"></div>
<input type="hidden" name="aktion" value="timer_add">
<tmpl_if referer>
<input type="hidden" name="referer" value="<tmpl_var referer>">
</tmpl_if>
<tmpl_if timer_id>
<input type="hidden" name="timer_id" value="<tmpl_var timer_id>">
</tmpl_if>
<input type="hidden" name="event_id" value="<tmpl_var event_id>">
</form>
</body>
</html>
|