blob: f2521a2527aaa77f0987df664af332338aa28d84 (
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
|
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<title>VDRAdmin - <tmpl_if newtimer>Create New Timers<tmpl_else>Edit Timer</tmpl_if></title>
<script type="text/javascript" language="JavaScript1.2" src="library.js"></script>
<script type="text/javascript" language="JavaScript1.2">
<!--
function cTimer(idx) {
var Timer = "";
Days = new Array("M", "D", "M", "D", "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="500" background="bilder/nav_button_back.gif">
<p class="einzug_ohnetop"><b><tmpl_if newtimer>Create New Timer<tmpl_else>Edit Timer</tmpl_if></b></p>
</td>
<td background="bilder/nav_button_back_mitte.gif"> </td>
<td width="35" background="bilder/nav_button_back_mitte.gif">
<tmpl_if name="help_url"><a href="javascript:open_help('<tmpl_var help_url>');">
<img src="bilder/help.gif" border="0" align="right" valign="top" alt="Help"></a>
</tmpl_if>
</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 height="30" background="bilder/uebersicht_oben.gif"> </td>
<td 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 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">
<input type="radio" name="active" value="1" <tmpl_if active>checked</tmpl_if>>yes
<input type="radio" name="active" value="0" <tmpl_unless active>checked</tmpl_unless>>no
</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">Auto 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>Transmission Identification
</tmpl_if>
<input type="radio" name="event_id" value="1" <tmpl_if expr="event_id == 1">checked</tmpl_if>>Recording Time
<input type="radio" name="event_id" value="0" <tmpl_if expr="event_id == 0">checked</tmpl_if>>Disabled
</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">
<option value="<tmpl_var vdr_id>" <tmpl_if current>selected</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(1)" type="checkbox" name="D0" value="1">Monday
<input onclick="cTimer(2)" type="checkbox" name="D1" value="1">Tuesday
<input onclick="cTimer(3)" type="checkbox" name="D2" value="radioValue">Wednesday
<input onclick="cTimer(4)" type="checkbox" name="D3" value="radioValue">Thursday
<input onclick="cTimer(5)" type="checkbox" name="D4" value="radioValue">Friday
<input onclick="cTimer(6)" type="checkbox" name="D5" value="radioValue">Saturday
<input onclick="cTimer(7)" 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">Start Time</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">End Time</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 of Recording</td>
<td height="25" background="bilder/uebersicht_mitte.gif"><input type="text" name="title" value="<tmpl_var title>" size="80"></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>
<tr height="30">
<td width="30" height="30"><img src="bilder/uebersicht_unten_links.gif" alt="" width="30" height="30" border="0"></td>
<td colspan="2" 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>
<br>
<div align="left">
<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>
</form>
</body>
</html>
|