2 <table id="contentTable">
7 <td colspan="3">Action:</td>
9 <select name="justplay" id="justplay" size="1">
11 <option value="${a.value}" ${a.selected}>${a.txt}</option>
17 <td colspan="3"> </td>
18 <td colspan="3">Note: For recurring events date is not required.</td>
21 <td colspan="3">Date:</td>
23 <select name="year" size="1" id="year">
25 <option value="${y.value}" ${y.selected}>${y.txt}</option>
29 <select name="month" id="month" size="1">
31 <option value="${m.value}" ${m.selected}>${m.txt}</option>
35 <select name="day" id="day" size="1">
37 <option value="${d.value}" ${d.selected}>${d.txt}</option>
43 <td colspan="3">Start:</td>
45 <select name="shour" id="shour" size="1">
47 <option value="${hour.value}" ${hour.selected}>${hour.txt}</option>
51 <select name="smin" id="smin" size="1">
53 <option value="${min.value}" ${min.selected}>${min.txt}</option>
59 <td colspan="3">End:</td>
61 <select name="ehour" id="ehour" size="1">
63 <option value="${hour.value}" ${hour.selected}>${hour.txt}</option>
67 <select name="emin" id="emin" size="1">
69 <option value="${min.value}" ${min.selected}>${min.txt}</option>
75 <td colspan="3"> </td>
76 <td colspan="3">Note: For one-time events the "days" field doesn't have to be specified.</td>
79 <td colspan="3">Days:</td>
82 <input type="checkbox" id="${r.id}" name="${r.name}" value="${r.value}" ${r.checked}> ${r.txt}
87 <td colspan="3">Channel:</td>
89 <p><input type="radio" id="tvradio" name="tvradio" value="tv" checked onchange="javascript:addTimerFormChangeType();">TV</p>
90 <p><input type="radio" name="tvradio" value="radio" onchange="javascript:addTimerFormChangeType();">Radio</p>
93 <select name="channel" id="channel" size="1" onchange="javascript:timerFormExtendChannellist($('channel').options[$('channel').selectedIndex].value)">
95 <option value="${c.value}" ${c.selected}>${c.txt}</option>
101 <td colspan="3">Name:</td>
103 <input name="name" id="name" type="text" size="80" maxlength="80" style="color: #000000;" value="${timer.name}">
107 <td colspan="3">Description:</td>
109 <input name="descr" id="descr" type="text" size="80" maxlength="80" style="color: #000000;" value="${timer.description}">
113 <td colspan="3">Location:</td>
115 <select id="dirname" name="dirname" size="1" onchange="javascript:addTimerFormChangeLocation($('dirname').options[$('dirname').selectedIndex].value)">
117 <option value="${d.value}" ${d.selected}>${d.txt}</option>
123 <td colspan="3">Tags:</td>
125 <select id="tags" name="tags" size="1" onchange="javascript:addTimerFormChangeTags($('tags').options[$('tags').selectedIndex].value)">
127 <option value="${t.value}" ${t.selected}>${t.txt}</option>
133 <td colspan="3">After event do:</td>
135 <select id="after_event" name="after_event" size="1">
136 {for event in afterEvent}
137 <option value="${event.value}" ${event.selected}>${event.txt}</option>
142 <tr><td> </td></tr>
144 <td colspan="3"> </td><td colspan="3">
145 <input name="deleteOldOnSave" id="deleteOldOnSave" type="hidden" value="${timer.deleteOldOnSave}">
146 <input name="channelOld" id="channelOld" type="hidden" value="${timer.channelOld}">
147 <input name="beginOld" id="beginOld" type="hidden" value="${timer.beginOld}">
148 <input name="endOld" id="endOld" type="hidden" value="${timer.endOld}">
149 <input name="eventID" id="eventID" type="hidden" value="${timer.eventID}">
150 <button onclick="sendAddTimer();">Add/Save</button>