summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorChristian Wieninger <cwieninger (at) gmx (dot) de>2007-04-29 09:25:26 +0000
committerChristian Wieninger <cwieninger (at) gmx (dot) de>2007-04-29 09:25:26 +0000
commit73beacd3d1b3da8e55524f28ce5047989c5c5dc8 (patch)
tree5211f8282bb74224ece07fd460c2f123fcbec926 /pages
parentdcf843d2eb36d61f1cafb2220be1fb5d189ba759 (diff)
downloadvdr-plugin-live-73beacd3d1b3da8e55524f28ce5047989c5c5dc8.tar.gz
vdr-plugin-live-73beacd3d1b3da8e55524f28ce5047989c5c5dc8.tar.bz2
- new main menu entry "search"
- checking for epgsearch and hiding "search" and "searchtimers" if epgsearch not present
Diffstat (limited to 'pages')
-rw-r--r--pages/menu.ecpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/pages/menu.ecpp b/pages/menu.ecpp
index aebd764..cc81879 100644
--- a/pages/menu.ecpp
+++ b/pages/menu.ecpp
@@ -24,7 +24,10 @@ std::string set_component;
<a href="whats_on.html?type=next" <& menu.setactive current=("next") &>><$ tr("What's on next?") $></a> |
<a href="schedule.html" <& menu.setactive current=("schedule") &>><$ tr("Schedule") $></a> |
<a href="timers.html" <& menu.setactive current=("timers") &>><$ tr("Timers") $></a> |
+% if (LiveSetup().HaveEPGSearch()) {
+ <a href="searchepg.html" <& menu.setactive current=("searchepg") &>><$ tr("Search") $></a> |
<a href="searchtimers.html" <& menu.setactive current=("searchtimers") &>><$ tr("Searchtimers") $></a> |
+% }
<a href="recordings.html" <& menu.setactive current=("recordings") &>><$ tr("Recordings") $></a> |
<a href="remote.html" <& menu.setactive current=("remote") &>><$ tr("Remote Control") $></a>
% if (LiveSetup().UseAuth()) {
@@ -39,7 +42,10 @@ std::string set_component;
<& menu.component current=("next") &>
<& menu.component current=("schedule") &>
<& menu.component current=("timers") &>
+% if (LiveSetup().HaveEPGSearch()) {
+ <& menu.component current=("search") &>
<& menu.component current=("searchtimers") &>
+% }
<& menu.component current=("recordings") &>
<& menu.component current=("remote") &>
</div>