From 4781a18ce05be3fcef111611d07a655acc0cc334 Mon Sep 17 00:00:00 2001 From: Sascha Volkenandt Date: Fri, 1 Jun 2007 20:21:04 +0000 Subject: - moved to uniform features detector --- pages/menu.ecpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pages/menu.ecpp') diff --git a/pages/menu.ecpp b/pages/menu.ecpp index 2791b2d..e94e885 100644 --- a/pages/menu.ecpp +++ b/pages/menu.ecpp @@ -2,6 +2,7 @@ #include #include #include +#include "livefeatures.h" #include "setup.h" using namespace std; @@ -34,7 +35,7 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html"); ><$ tr("What's on?") $> | ><$ tr("Schedule") $> | ><$ tr("Timers") $> | -% if (LiveSetup().HaveEPGSearch()) { +% if ( LiveFeatures< features::epgsearch >().Recent() ) { ><$ tr("Search") $> | ><$ tr("Searchtimers") $> | % } @@ -56,7 +57,7 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html"); <& menu.component current=("whats_on") &> <& menu.component current=("schedule") &> <& menu.component current=("timers") &> -% if (LiveSetup().HaveEPGSearch()) { +% if ( LiveFeatures< features::epgsearch >().Recent() ) { <& menu.component current=("search") &> <& menu.component current=("searchtimers") &> % } -- cgit v1.2.3