diff options
author | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2011-02-20 01:07:02 +0100 |
---|---|---|
committer | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2011-02-20 01:07:02 +0100 |
commit | cc286c602ffbaed4f8e6d92e50138600c142b69f (patch) | |
tree | 582295da373e3db7d9942eff64b0eb401e5bc98c | |
parent | 19dedfa5c5318dc9c2824a859a2bd0395766e96c (diff) | |
download | vdr-plugin-live-cc286c602ffbaed4f8e6d92e50138600c142b69f.tar.gz vdr-plugin-live-cc286c602ffbaed4f8e6d92e50138600c142b69f.tar.bz2 |
Moved recordings filter input box into the actions area of the
recordings page. This ensures a consistent look and feel like on other
pages in LIVE.
-rw-r--r-- | i18n-generated.h | 70 | ||||
-rw-r--r-- | pages/recordings.ecpp | 20 | ||||
-rw-r--r-- | po/ca_ES.po | 6 | ||||
-rw-r--r-- | po/cs_CZ.po | 6 | ||||
-rw-r--r-- | po/da_DK.po | 6 | ||||
-rw-r--r-- | po/de_DE.po | 6 | ||||
-rw-r--r-- | po/el_GR.po | 6 | ||||
-rw-r--r-- | po/es_ES.po | 6 | ||||
-rw-r--r-- | po/et_EE.po | 6 | ||||
-rw-r--r-- | po/fi_FI.po | 6 | ||||
-rw-r--r-- | po/fr_FR.po | 6 | ||||
-rw-r--r-- | po/hr_HR.po | 6 | ||||
-rw-r--r-- | po/hu_HU.po | 6 | ||||
-rw-r--r-- | po/it_IT.po | 6 | ||||
-rw-r--r-- | po/lt_LT.po | 6 | ||||
-rw-r--r-- | po/nl_NL.po | 6 | ||||
-rw-r--r-- | po/nn_NO.po | 6 | ||||
-rw-r--r-- | po/pl_PL.po | 6 | ||||
-rw-r--r-- | po/pt_PT.po | 6 | ||||
-rw-r--r-- | po/ro_RO.po | 6 | ||||
-rw-r--r-- | po/ru_RU.po | 6 | ||||
-rw-r--r-- | po/sl_SI.po | 6 | ||||
-rw-r--r-- | po/sv_SE.po | 6 | ||||
-rw-r--r-- | po/tr_TR.po | 6 |
24 files changed, 217 insertions, 5 deletions
diff --git a/i18n-generated.h b/i18n-generated.h index e1c4503..01b7a70 100644 --- a/i18n-generated.h +++ b/i18n-generated.h @@ -8201,6 +8201,76 @@ const tI18nPhrase Phrases[] = { "", #endif }, + { "Filter:", + "Filter:", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", +#if VDRVERSNUM >= 10302 + "", +#endif +#if VDRVERSNUM >= 10307 + "", +#endif +#if VDRVERSNUM >= 10313 + "", +#endif +#if VDRVERSNUM >= 10316 + "", +#endif +#if VDRVERSNUM >= 10342 + "", +#endif +#if VDRVERSNUM >= 10502 + "", +#endif + }, + { "Look in recordings titles and subtitles for the given string and display only the matching ones. You may also use perl compatible regular expressions (PCRE).", + "Suche in Aufname-Titel und Untertitel nach dem angegebenen Wort und zeige nur die zutreffenden an. Es sind auch Perl kompatible Reguläre Ausdrücke (PCRE) erlaubt.", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", +#if VDRVERSNUM >= 10302 + "", +#endif +#if VDRVERSNUM >= 10307 + "", +#endif +#if VDRVERSNUM >= 10313 + "", +#endif +#if VDRVERSNUM >= 10316 + "", +#endif +#if VDRVERSNUM >= 10342 + "", +#endif +#if VDRVERSNUM >= 10502 + "", +#endif + }, { "Delete this recording from hard disc!", "Diese Aufnahme von der Festplatte löschen!", "", diff --git a/pages/recordings.ecpp b/pages/recordings.ecpp index 48455dd..88678c1 100644 --- a/pages/recordings.ecpp +++ b/pages/recordings.ecpp @@ -35,6 +35,7 @@ using namespace std; <%request scope="page"> string currentSort; string deleteResult; + string currentFilter; </%request> <%include>page_init.eh</%include> <%cpp> @@ -48,6 +49,7 @@ if (!sort.empty()) { currentSort = (currentSort == "nameasc") ? "namedesc" : "nameasc"; LiveSetup().SetLastSortingMode(currentSort); } +currentFilter = filter; pageTitle = tr("Recordings"); @@ -79,6 +81,13 @@ diskinfo = cString::sprintf("%s %d%% - %2d:%02d %s", trVDR("Disk"), Percent, H <& pageelems.stylesheets &> <& pageelems.ajax_js &> <script type="text/javascript" src="treeview.js"></script> + <script type="text/javascript"><!-- + function filterRecordings(filter) + { + if (filter.value != "") + window.location.href = "recordings.html?sort=<$ currentSort $>&filter=" + encodeURIComponent(filter.value); + } + //--></script> </head> <body> <& pageelems.logo &> @@ -105,12 +114,11 @@ if (!deleteResult.empty()) { <form method="post" name="recordings" action="recordings.ecpp"> <div class="recordings"> <ul class="recordingslist" style="display: block;"> -<& recordings.recordings_item filter=(filter) &> +<& recordings.recordings_item filter=(currentFilter) &> </ul> </div> <div class="withmargin"> <button class="red" type="submit"><$ tr("Delete selected") $></button> - <input class="withmargin" type="text" name="filter" value="<$ filter $>" id="filter"/> </div> </form> <%cpp> @@ -211,10 +219,12 @@ for (recIter = recItems.begin(); recIter != recItems.end(); ++recIter) { <%def sort_options> <%cpp> { </%cpp> -<a href="recordings.html?sort=name" alt="" /><$ tr("Sort by name") $></a> +<a href="recordings.html?sort=name&filter=<? currentFilter != "" ? currentFilter ?>" alt="" /><$ tr("Sort by name") $></a> +<span class="sep">|</span> +<a href="recordings.html?sort=date&filter=<? currentFilter != "" ? currentFilter ?>" alt="" /><$ tr("Sort by date") $></a> <span class="sep">|</span> -<a href="recordings.html?sort=date" alt="" /><$ tr("Sort by date") $></a> -<br/> +<$ tr("Filter:") $> +<input type="text" name="filter" value="<$ currentFilter $>" id="filter" onchange="filterRecordings(this)" /> <& tooltip.help text=(tr("Look in recordings titles and subtitles for the given string and display only the matching ones. You may also use perl compatible regular expressions (PCRE).")) &> <%cpp> } </%cpp> </%def> diff --git a/po/ca_ES.po b/po/ca_ES.po index 2a0b2ef..bcfd4e1 100644 --- a/po/ca_ES.po +++ b/po/ca_ES.po @@ -724,6 +724,12 @@ msgstr "" msgid "Sort by date" msgstr "" +msgid "Filter:" +msgstr "" + +msgid "Look in recordings titles and subtitles for the given string and display only the matching ones. You may also use perl compatible regular expressions (PCRE)." +msgstr "" + msgid "Delete this recording from hard disc!" msgstr "" diff --git a/po/cs_CZ.po b/po/cs_CZ.po index 492fbbf..e9ab3af 100644 --- a/po/cs_CZ.po +++ b/po/cs_CZ.po @@ -722,6 +722,12 @@ msgstr "" msgid "Sort by date" msgstr "" +msgid "Filter:" +msgstr "" + +msgid "Look in recordings titles and subtitles for the given string and display only the matching ones. You may also use perl compatible regular expressions (PCRE)." +msgstr "" + msgid "Delete this recording from hard disc!" msgstr "" diff --git a/po/da_DK.po b/po/da_DK.po index 1876339..4ca315b 100644 --- a/po/da_DK.po +++ b/po/da_DK.po @@ -722,6 +722,12 @@ msgstr "" msgid "Sort by date" msgstr "" +msgid "Filter:" +msgstr "" + +msgid "Look in recordings titles and subtitles for the given string and display only the matching ones. You may also use perl compatible regular expressions (PCRE)." +msgstr "" + msgid "Delete this recording from hard disc!" msgstr "" diff --git a/po/de_DE.po b/po/de_DE.po index 1a98f89..6254db2 100644 --- a/po/de_DE.po +++ b/po/de_DE.po @@ -725,6 +725,12 @@ msgstr "Sortiere nach Name" msgid "Sort by date" msgstr "Sortiere nach Datum" +msgid "Filter:" +msgstr "Filter:" + +msgid "Look in recordings titles and subtitles for the given string and display only the matching ones. You may also use perl compatible regular expressions (PCRE)." +msgstr "Suche in Aufname-Titel und Untertitel nach dem angegebenen Wort und zeige nur die zutreffenden an. Es sind auch Perl kompatible Reguläre Ausdrücke (PCRE) erlaubt." + msgid "Delete this recording from hard disc!" msgstr "Diese Aufnahme von der Festplatte löschen!" diff --git a/po/el_GR.po b/po/el_GR.po index c43fc38..7388e84 100644 --- a/po/el_GR.po +++ b/po/el_GR.po @@ -722,6 +722,12 @@ msgstr "" msgid "Sort by date" msgstr "" +msgid "Filter:" +msgstr "" + +msgid "Look in recordings titles and subtitles for the given string and display only the matching ones. You may also use perl compatible regular expressions (PCRE)." +msgstr "" + msgid "Delete this recording from hard disc!" msgstr "" diff --git a/po/es_ES.po b/po/es_ES.po index 50b2d58..a7053ed 100644 --- a/po/es_ES.po +++ b/po/es_ES.po @@ -722,6 +722,12 @@ msgstr "" msgid "Sort by date" msgstr "" +msgid "Filter:" +msgstr "" + +msgid "Look in recordings titles and subtitles for the given string and display only the matching ones. You may also use perl compatible regular expressions (PCRE)." +msgstr "" + msgid "Delete this recording from hard disc!" msgstr "" diff --git a/po/et_EE.po b/po/et_EE.po index 0982133..3e9418d 100644 --- a/po/et_EE.po +++ b/po/et_EE.po @@ -722,6 +722,12 @@ msgstr "" msgid "Sort by date" msgstr "" +msgid "Filter:" +msgstr "" + +msgid "Look in recordings titles and subtitles for the given string and display only the matching ones. You may also use perl compatible regular expressions (PCRE)." +msgstr "" + msgid "Delete this recording from hard disc!" msgstr "" diff --git a/po/fi_FI.po b/po/fi_FI.po index 5419323..7ce354a 100644 --- a/po/fi_FI.po +++ b/po/fi_FI.po @@ -722,6 +722,12 @@ msgstr "Järjestä nimen mukaan" msgid "Sort by date" msgstr "Järjestä päivämäärän mukaan" +msgid "Filter:" +msgstr "" + +msgid "Look in recordings titles and subtitles for the given string and display only the matching ones. You may also use perl compatible regular expressions (PCRE)." +msgstr "" + msgid "Delete this recording from hard disc!" msgstr "Poista tallenne kovalevyltä!" diff --git a/po/fr_FR.po b/po/fr_FR.po index 2f3db04..d28362d 100644 --- a/po/fr_FR.po +++ b/po/fr_FR.po @@ -744,6 +744,12 @@ msgstr "" msgid "Sort by date" msgstr "" +msgid "Filter:" +msgstr "" + +msgid "Look in recordings titles and subtitles for the given string and display only the matching ones. You may also use perl compatible regular expressions (PCRE)." +msgstr "" + msgid "Delete this recording from hard disc!" msgstr "" diff --git a/po/hr_HR.po b/po/hr_HR.po index 2e08441..d52811c 100644 --- a/po/hr_HR.po +++ b/po/hr_HR.po @@ -723,6 +723,12 @@ msgstr "" msgid "Sort by date" msgstr "" +msgid "Filter:" +msgstr "" + +msgid "Look in recordings titles and subtitles for the given string and display only the matching ones. You may also use perl compatible regular expressions (PCRE)." +msgstr "" + msgid "Delete this recording from hard disc!" msgstr "" diff --git a/po/hu_HU.po b/po/hu_HU.po index 26d5af3..4bfebd8 100644 --- a/po/hu_HU.po +++ b/po/hu_HU.po @@ -723,6 +723,12 @@ msgstr "" msgid "Sort by date" msgstr "" +msgid "Filter:" +msgstr "" + +msgid "Look in recordings titles and subtitles for the given string and display only the matching ones. You may also use perl compatible regular expressions (PCRE)." +msgstr "" + msgid "Delete this recording from hard disc!" msgstr "" diff --git a/po/it_IT.po b/po/it_IT.po index d2e5b5f..0994646 100644 --- a/po/it_IT.po +++ b/po/it_IT.po @@ -729,6 +729,12 @@ msgstr "" msgid "Sort by date" msgstr "" +msgid "Filter:" +msgstr "" + +msgid "Look in recordings titles and subtitles for the given string and display only the matching ones. You may also use perl compatible regular expressions (PCRE)." +msgstr "" + msgid "Delete this recording from hard disc!" msgstr "Elimina questa registrazione dal disco fisso!" diff --git a/po/lt_LT.po b/po/lt_LT.po index 79e2b77..8eb0b31 100644 --- a/po/lt_LT.po +++ b/po/lt_LT.po @@ -724,6 +724,12 @@ msgstr "" msgid "Sort by date" msgstr "" +msgid "Filter:" +msgstr "" + +msgid "Look in recordings titles and subtitles for the given string and display only the matching ones. You may also use perl compatible regular expressions (PCRE)." +msgstr "" + msgid "Delete this recording from hard disc!" msgstr "IÅ¡trinti šį įrašą iÅ¡ disko!" diff --git a/po/nl_NL.po b/po/nl_NL.po index 341b8e9..8bccbdb 100644 --- a/po/nl_NL.po +++ b/po/nl_NL.po @@ -739,6 +739,12 @@ msgstr "" msgid "Sort by date" msgstr "" +msgid "Filter:" +msgstr "" + +msgid "Look in recordings titles and subtitles for the given string and display only the matching ones. You may also use perl compatible regular expressions (PCRE)." +msgstr "" + msgid "Delete this recording from hard disc!" msgstr "" diff --git a/po/nn_NO.po b/po/nn_NO.po index b37bbbd..f2c397b 100644 --- a/po/nn_NO.po +++ b/po/nn_NO.po @@ -723,6 +723,12 @@ msgstr "" msgid "Sort by date" msgstr "" +msgid "Filter:" +msgstr "" + +msgid "Look in recordings titles and subtitles for the given string and display only the matching ones. You may also use perl compatible regular expressions (PCRE)." +msgstr "" + msgid "Delete this recording from hard disc!" msgstr "" diff --git a/po/pl_PL.po b/po/pl_PL.po index 9dc316b..a4b6f8c 100644 --- a/po/pl_PL.po +++ b/po/pl_PL.po @@ -722,6 +722,12 @@ msgstr "" msgid "Sort by date" msgstr "" +msgid "Filter:" +msgstr "" + +msgid "Look in recordings titles and subtitles for the given string and display only the matching ones. You may also use perl compatible regular expressions (PCRE)." +msgstr "" + msgid "Delete this recording from hard disc!" msgstr "" diff --git a/po/pt_PT.po b/po/pt_PT.po index 500f2a3..9551c5a 100644 --- a/po/pt_PT.po +++ b/po/pt_PT.po @@ -722,6 +722,12 @@ msgstr "" msgid "Sort by date" msgstr "" +msgid "Filter:" +msgstr "" + +msgid "Look in recordings titles and subtitles for the given string and display only the matching ones. You may also use perl compatible regular expressions (PCRE)." +msgstr "" + msgid "Delete this recording from hard disc!" msgstr "" diff --git a/po/ro_RO.po b/po/ro_RO.po index a53bd2c..f4928e7 100644 --- a/po/ro_RO.po +++ b/po/ro_RO.po @@ -723,6 +723,12 @@ msgstr "" msgid "Sort by date" msgstr "" +msgid "Filter:" +msgstr "" + +msgid "Look in recordings titles and subtitles for the given string and display only the matching ones. You may also use perl compatible regular expressions (PCRE)." +msgstr "" + msgid "Delete this recording from hard disc!" msgstr "" diff --git a/po/ru_RU.po b/po/ru_RU.po index 691016f..e74b1a6 100644 --- a/po/ru_RU.po +++ b/po/ru_RU.po @@ -722,6 +722,12 @@ msgstr "" msgid "Sort by date" msgstr "" +msgid "Filter:" +msgstr "" + +msgid "Look in recordings titles and subtitles for the given string and display only the matching ones. You may also use perl compatible regular expressions (PCRE)." +msgstr "" + msgid "Delete this recording from hard disc!" msgstr "" diff --git a/po/sl_SI.po b/po/sl_SI.po index 058f642..c99d9d1 100644 --- a/po/sl_SI.po +++ b/po/sl_SI.po @@ -723,6 +723,12 @@ msgstr "" msgid "Sort by date" msgstr "" +msgid "Filter:" +msgstr "" + +msgid "Look in recordings titles and subtitles for the given string and display only the matching ones. You may also use perl compatible regular expressions (PCRE)." +msgstr "" + msgid "Delete this recording from hard disc!" msgstr "" diff --git a/po/sv_SE.po b/po/sv_SE.po index 353bae0..523f9a8 100644 --- a/po/sv_SE.po +++ b/po/sv_SE.po @@ -723,6 +723,12 @@ msgstr "" msgid "Sort by date" msgstr "" +msgid "Filter:" +msgstr "" + +msgid "Look in recordings titles and subtitles for the given string and display only the matching ones. You may also use perl compatible regular expressions (PCRE)." +msgstr "" + msgid "Delete this recording from hard disc!" msgstr "" diff --git a/po/tr_TR.po b/po/tr_TR.po index 1c9d723..fc3df00 100644 --- a/po/tr_TR.po +++ b/po/tr_TR.po @@ -723,6 +723,12 @@ msgstr "" msgid "Sort by date" msgstr "" +msgid "Filter:" +msgstr "" + +msgid "Look in recordings titles and subtitles for the given string and display only the matching ones. You may also use perl compatible regular expressions (PCRE)." +msgstr "" + msgid "Delete this recording from hard disc!" msgstr "" |