diff options
Diffstat (limited to 'http/src')
-rw-r--r-- | http/src/js/5_timerDialog.js | 11 | ||||
-rw-r--r-- | http/src/lang/de.js | 4 | ||||
-rw-r--r-- | http/src/lang/hilfe.html | 1 |
3 files changed, 15 insertions, 1 deletions
diff --git a/http/src/js/5_timerDialog.js b/http/src/js/5_timerDialog.js index 7ee729b..5d4c71d 100644 --- a/http/src/js/5_timerDialog.js +++ b/http/src/js/5_timerDialog.js @@ -380,6 +380,7 @@ epgd.searchTimerDialog.prototype.create = function () { + '<div><input type="radio" name="tChExclude" value="1" id="tChExclude0" /><label for="tChInclude">' + tr.chInclude + '</label>' + epgd.pages.help.getIcon('sTChannels') + '<input type="radio" name="tChExclude" value="0" id="tChExclude1" /><label for="tChExclude">' + tr.chExclude + '</label></div><input type="text" id="tChannels" class="full"/>' + + '<div><label for="tChRange">' + tr.chRange + epgd.pages.help.getIcon('sTChannels') + '</label><input id="tChRangeMin" style="width:40px" /> - <input id="tChRangeMax" style="width:40px" /></div>' + '<div class="noTypeS"><label for="tChFormat">' + tr.chFormat + epgd.pages.help.getIcon('sTChFormat') + '</label><input id="tChFormat" readonly onclick="epgd.timerEditChFormat(this)" /></div>' + '<div><label for="tTime"><input type="checkbox" id="tTime" /> ' + epgd.tr.dateTimePicker.timeText + epgd.pages.help.getIcon('sTime') + '</label></div>'); $(form.tWeek[0]).before('<span>' + epgd.tr.dateTimePicker.timeTextBetween + ' <input type="text" id="tStart" style="width:40px" /> - <input type="text" id="tEnd" style="width:40px" /></span>') @@ -451,6 +452,9 @@ epgd.searchTimerDialog.prototype.render = function (t) { form.tChExclude1.checked = 1; else form.tChExclude0.checked = 1; + tChRangeMin.value= t.chnummin || ''; + tChRangeMax.value= t.chnummax || ''; + form.tChFormat.value = t.chformat || (t.id ? '' : epgd.profile.chFormat); form.tNameMode.defaultIndex = parseInt(t.category == 'Serie' ? epgd.profile.namingModeSearchSerie : epgd.profile.namingModeSearchMovie, 10); form.tNameMode.selectedIndex = typeof t.namingmode == "undefined" ? form.tNameMode.defaultIndex : t.namingmode; @@ -502,6 +506,13 @@ epgd.searchTimerDialog.prototype.getData = function (dontValid) { data.channelids = epgd.utils.getAutoCompleteValues(form.tChannels); data.chformat = form.tChFormat.value; data.chexclude = form.tChExclude1.checked ? 1 : 0; + data.chnummin = parseInt(form.tChRangeMin.value,10); + if (isNaN(data.chnummin)) + data.chnummin= 0; + data.chnummax = parseInt(form.tChRangeMax.value, 10); + if (isNaN(data.chnummax)) + data.chnummax= 0; + if (form.tTime.checked) { data.starttime = parseInt(form.tStart.value.replace(':', ''), 10); data.endtime = parseInt(form.tEnd.value.replace(':', ''), 10); diff --git a/http/src/lang/de.js b/http/src/lang/de.js index 0cf1c12..eb57bc6 100644 --- a/http/src/lang/de.js +++ b/http/src/lang/de.js @@ -92,6 +92,7 @@ epgd.tr = { searchTimerReload: "Suchtimer updaten", chInclude: "Auf Kanäle einschränken", chExclude: "Kanäle ausschließen", + chRange: "Kanal von/bis", nextDays: "innerhalb der nächsten $field$ Tage", confirmSaveBigResult: "Die Suche ergibt $cnt$ Treffer, trotzdem speichern?", timerStates: { @@ -126,7 +127,8 @@ epgd.tr = { 'W': 'Warnung', 'E': 'Fehler', 'F': 'Fataler Fehler' - }, chFormat: "bevorzugtes Sendeformat" + }, + chFormat: "bevorzugtes Sendeformat" //channelModes: ["SD", "HD", "3D", "HD,SD", "SD,HD", "3D,HD,SD", "SD,HD,3D"] }, eventDetail: { diff --git a/http/src/lang/hilfe.html b/http/src/lang/hilfe.html index ac2d394..d614f69 100644 --- a/http/src/lang/hilfe.html +++ b/http/src/lang/hilfe.html @@ -197,6 +197,7 @@ <div id="h_sTChannels">
<h4>Kanäle</h4>
<h5>Kanäle einschränken oder auschließen</h5>Hier können ein oder mehrere Kanäle definiert werden, die entweder aus der Suche ausgeschlossen werden oder auf denen die Suche eingeschränkt wird.
+ <h5>Kanal von/bis</h5>Wird hier ein Wert eingetragen, werden bei der Suche dann nur Kanäle ab bzw. bis der eingetragenen Nummer (incl.) berücksichtigt.
</div>
<div id="h_sTime">
<h4>Sendungsbeginn</h4>
|