Skip to content

Commit

Permalink
Add option 'Announce via email' in searchtimer edit box. Solution and
Browse files Browse the repository at this point in the history
idea came from user snoopy_1978 and closes bug entry #1341 in the
bugtracker.
  • Loading branch information
Dieter Hametner committed Feb 13, 2015
1 parent af54bd8 commit 31ebc4f
Show file tree
Hide file tree
Showing 24 changed files with 79 additions and 9 deletions.
19 changes: 10 additions & 9 deletions pages/edit_searchtimer.ecpp
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html");
usevps = searchtimer->UseVPS();
delmode = searchtimer->DelMode();
delaftercountrecs = searchtimer->DelAfterCountRecs();
delafterdaysoffirstrec = searchtimer->DelAfterDaysOfFirstRec();
delafterdaysoffirstrec = searchtimer->DelAfterDaysOfFirstRec();

editsearchtimer = searchtimer;
}
Expand All @@ -364,7 +364,7 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html");
<html>
<head>
<title>VDR Live - <$ editsearchtimer ? tr("Edit search timer") : tr("New search timer") $></title>

<& pageelems.stylesheets &>
<& pageelems.ajax_js &>

Expand All @@ -377,9 +377,9 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html");
changeduseduration(document.getElementById("useduration"));
changeduseweekday(document.getElementById("useweekday"));
changeduseassearchtimer(document.getElementById("useassearchtimer"));
% if (extEPGInfos.size() > 0) {
% if (extEPGInfos.size() > 0) {
changeduseextepginfo(document.getElementById("useextepginfo"));
% }
% }
changedavoidrepeats(document.getElementById("avoidrepeats"));
changedblacklistmode(document.getElementById("blacklistmode"));
changeddelmode(document.getElementById("delmode"));
Expand Down Expand Up @@ -420,9 +420,9 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html");

function changeduseassearchtimer(selection)
{
document.getElementById("searchtimermodesettings").style.display =
document.getElementById("searchtimermodesettings").style.display =
(selection.options[selection.selectedIndex].value > 0) ? "block" : "none";
document.getElementById("useassearchtimeruserdef").style.display =
document.getElementById("useassearchtimeruserdef").style.display =
(selection.options[selection.selectedIndex].value == 2) ? "block" : "none";
changedsearchtimermode(document.getElementById("searchtimer_mode"));
}
Expand All @@ -431,11 +431,11 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html");
{
document.getElementById("searchtimermode1settings").style.display =
(selection.options[selection.selectedIndex].value == 0 &
document.getElementById("useassearchtimer").options[document.getElementById("useassearchtimer").selectedIndex].value > 0) ?
document.getElementById("useassearchtimer").options[document.getElementById("useassearchtimer").selectedIndex].value > 0) ?
"block" : "none";
document.getElementById("searchtimermode3settings").style.display =
(selection.options[selection.selectedIndex].value == 2 &
document.getElementById("useassearchtimer").options[document.getElementById("useassearchtimer").selectedIndex].value > 0) ?
(selection.options[selection.selectedIndex].value == 2 &
document.getElementById("useassearchtimer").options[document.getElementById("useassearchtimer").selectedIndex].value > 0) ?
"block" : "none";
}

Expand Down Expand Up @@ -758,6 +758,7 @@ 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="4" <{ SELECTIF(searchtimeraction == 4) }> ><$ tr("Announce via email") $></option>
</select>
</div>
<div id="searchtimermode1settings" style="display: none">
Expand Down
3 changes: 3 additions & 0 deletions po/ca_ES.po
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,9 @@ msgstr ""
msgid "Switch only"
msgstr ""

msgid "Announce via email"
msgstr ""

msgid "Series recording"
msgstr ""

Expand Down
3 changes: 3 additions & 0 deletions po/cs_CZ.po
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,9 @@ msgstr "Pouze upozornit"
msgid "Switch only"
msgstr "Přepnout"

msgid "Announce via email"
msgstr ""

msgid "Series recording"
msgstr "Nahrávání seriálu"

Expand Down
3 changes: 3 additions & 0 deletions po/da_DK.po
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,9 @@ msgstr ""
msgid "Switch only"
msgstr ""

msgid "Announce via email"
msgstr ""

msgid "Series recording"
msgstr ""

Expand Down
3 changes: 3 additions & 0 deletions po/de_DE.po
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,9 @@ msgstr "Nur ankündigen"
msgid "Switch only"
msgstr "Nur umschalten"

msgid "Announce via email"
msgstr "Mit E-Mail ankündigen"

msgid "Series recording"
msgstr "Serienaufnahme"

Expand Down
3 changes: 3 additions & 0 deletions po/el_GR.po
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,9 @@ msgstr ""
msgid "Switch only"
msgstr ""

msgid "Announce via email"
msgstr ""

msgid "Series recording"
msgstr ""

Expand Down
3 changes: 3 additions & 0 deletions po/es_ES.po
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,9 @@ msgstr "
msgid "Switch only"
msgstr "Únicamente cambiar"

msgid "Announce via email"
msgstr ""

msgid "Series recording"
msgstr "Grabación de series"

Expand Down
3 changes: 3 additions & 0 deletions po/et_EE.po
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,9 @@ msgstr ""
msgid "Switch only"
msgstr ""

msgid "Announce via email"
msgstr ""

msgid "Series recording"
msgstr ""

Expand Down
3 changes: 3 additions & 0 deletions po/fi_FI.po
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,9 @@ msgstr "Muistutus"
msgid "Switch only"
msgstr "Kanavanvaihto"

msgid "Announce via email"
msgstr ""

msgid "Series recording"
msgstr "Sarjatallennus"

Expand Down
3 changes: 3 additions & 0 deletions po/fr_FR.po
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,9 @@ msgstr "Annoncer seulement le d
msgid "Switch only"
msgstr "Seulement changer de chaine"

msgid "Announce via email"
msgstr ""

msgid "Series recording"
msgstr "Enregistrement de série"

Expand Down
3 changes: 3 additions & 0 deletions po/hr_HR.po
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,9 @@ msgstr ""
msgid "Switch only"
msgstr ""

msgid "Announce via email"
msgstr ""

msgid "Series recording"
msgstr ""

Expand Down
3 changes: 3 additions & 0 deletions po/hu_HU.po
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,9 @@ msgstr ""
msgid "Switch only"
msgstr ""

msgid "Announce via email"
msgstr ""

msgid "Series recording"
msgstr ""

Expand Down
3 changes: 3 additions & 0 deletions po/it_IT.po
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,9 @@ msgstr "Solo annuncio"
msgid "Switch only"
msgstr "Solo cambio canale"

msgid "Announce via email"
msgstr ""

msgid "Series recording"
msgstr "Registrazioni in serie"

Expand Down
3 changes: 3 additions & 0 deletions po/lt_LT.po
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,9 @@ msgstr "Tik pristato"
msgid "Switch only"
msgstr "Tik pereina"

msgid "Announce via email"
msgstr ""

msgid "Series recording"
msgstr "Įrašai"

Expand Down
3 changes: 3 additions & 0 deletions po/nl_NL.po
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,9 @@ msgstr "Alleen aankondigen (geen timer)"
msgid "Switch only"
msgstr ""

msgid "Announce via email"
msgstr ""

msgid "Series recording"
msgstr "Serie's opnemen"

Expand Down
3 changes: 3 additions & 0 deletions po/nn_NO.po
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,9 @@ msgstr ""
msgid "Switch only"
msgstr ""

msgid "Announce via email"
msgstr ""

msgid "Series recording"
msgstr ""

Expand Down
3 changes: 3 additions & 0 deletions po/pl_PL.po
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,9 @@ msgstr "Tylko powiadomienie"
msgid "Switch only"
msgstr "Tylko prze³±cz"

msgid "Announce via email"
msgstr ""

msgid "Series recording"
msgstr "Nagrywanie serii"

Expand Down
3 changes: 3 additions & 0 deletions po/pt_PT.po
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,9 @@ msgstr ""
msgid "Switch only"
msgstr ""

msgid "Announce via email"
msgstr ""

msgid "Series recording"
msgstr ""

Expand Down
3 changes: 3 additions & 0 deletions po/ro_RO.po
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,9 @@ msgstr ""
msgid "Switch only"
msgstr ""

msgid "Announce via email"
msgstr ""

msgid "Series recording"
msgstr ""

Expand Down
3 changes: 3 additions & 0 deletions po/ru_RU.po
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,9 @@ msgstr "Только объявлять"
msgid "Switch only"
msgstr "Только переключать"

msgid "Announce via email"
msgstr ""

msgid "Series recording"
msgstr "Запись серий"

Expand Down
3 changes: 3 additions & 0 deletions po/sk_SK.po
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,9 @@ msgstr "Len oznamova
msgid "Switch only"
msgstr "Iba prepína»"

msgid "Announce via email"
msgstr ""

msgid "Series recording"
msgstr "Sériové nahrávky"

Expand Down
3 changes: 3 additions & 0 deletions po/sl_SI.po
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,9 @@ msgstr ""
msgid "Switch only"
msgstr ""

msgid "Announce via email"
msgstr ""

msgid "Series recording"
msgstr ""

Expand Down
3 changes: 3 additions & 0 deletions po/sv_SE.po
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,9 @@ msgstr ""
msgid "Switch only"
msgstr ""

msgid "Announce via email"
msgstr ""

msgid "Series recording"
msgstr ""

Expand Down
3 changes: 3 additions & 0 deletions po/tr_TR.po
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,9 @@ msgstr ""
msgid "Switch only"
msgstr ""

msgid "Announce via email"
msgstr ""

msgid "Series recording"
msgstr ""

Expand Down

0 comments on commit 31ebc4f

Please sign in to comment.