summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorJasmin Jessich <jasmin@anw.at>2017-06-10 01:47:32 +0200
committerJasmin Jessich <jasmin@anw.at>2017-06-10 01:47:32 +0200
commit688cfedde481fa23a896b72a9b6765c16b2fca88 (patch)
tree6377658c092a62a5e8db5eed4c6619eb6c680743 /pages
parent5e9bd5cf83b8a7312e3c6543f757bf723e342e8e (diff)
downloadvdr-plugin-live-688cfedde481fa23a896b72a9b6765c16b2fca88.tar.gz
vdr-plugin-live-688cfedde481fa23a896b72a9b6765c16b2fca88.tar.bz2
Handle now all search timer actions
- Support action "Announce and Switch" and "Inactive Record". in edit_searchtimer.ecpp. - Added German translation.
Diffstat (limited to 'pages')
-rw-r--r--pages/edit_searchtimer.ecpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/pages/edit_searchtimer.ecpp b/pages/edit_searchtimer.ecpp
index a81a15a..485f536 100644
--- a/pages/edit_searchtimer.ecpp
+++ b/pages/edit_searchtimer.ecpp
@@ -427,7 +427,8 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html");
document.getElementById("useassearchtimer").options[document.getElementById("useassearchtimer").selectedIndex].value > 0) ?
"block" : "none";
document.getElementById("searchtimermode3settings").style.display =
- (selection.options[selection.selectedIndex].value == 2 &
+ ((selection.options[selection.selectedIndex].value == 2 ||
+ selection.options[selection.selectedIndex].value == 3) &
document.getElementById("useassearchtimer").options[document.getElementById("useassearchtimer").selectedIndex].value > 0) ?
"block" : "none";
}
@@ -751,7 +752,9 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html");
<option value="0" <{ SELECTIF(searchtimeraction == 0) }> ><$ tr("Record") $></option>
<option value="1" <{ SELECTIF(searchtimeraction == 1) }> ><$ tr("Announce only") $></option>
<option value="2" <{ SELECTIF(searchtimeraction == 2) }> ><$ tr("Switch only") $></option>
+ <option value="3" <{ SELECTIF(searchtimeraction == 3) }> ><$ tr("Announce and Switch") $></option>
<option value="4" <{ SELECTIF(searchtimeraction == 4) }> ><$ tr("Announce via email") $></option>
+ <option value="5" <{ SELECTIF(searchtimeraction == 5) }> ><$ tr("Inactive Record") $></option>
</select>
</div>
<div id="searchtimermode1settings" style="display: none">