diff options
author | Sascha Volkenandt <sascha (at) akv-soft (dot) de> | 2007-06-01 20:21:04 +0000 |
---|---|---|
committer | Sascha Volkenandt <sascha (at) akv-soft (dot) de> | 2007-06-01 20:21:04 +0000 |
commit | 4781a18ce05be3fcef111611d07a655acc0cc334 (patch) | |
tree | 373ced5327a676b60869a1120bb17c9c73b901c4 /pages/whats_on.ecpp | |
parent | 883be2c8cade7d68dc743c17bedda6f675a787ba (diff) | |
download | vdr-plugin-live-4781a18ce05be3fcef111611d07a655acc0cc334.tar.gz vdr-plugin-live-4781a18ce05be3fcef111611d07a655acc0cc334.tar.bz2 |
- moved to uniform features detector
Diffstat (limited to 'pages/whats_on.ecpp')
-rw-r--r-- | pages/whats_on.ecpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pages/whats_on.ecpp b/pages/whats_on.ecpp index 0b274e1..bbbb73b 100644 --- a/pages/whats_on.ecpp +++ b/pages/whats_on.ecpp @@ -4,6 +4,7 @@ #include <vdr/epg.h> #include <vdr/config.h> #include <vdr/i18n.h> +#include "livefeatures.h" #include "setup.h" #include "tools.h" #include "epg_events.h" @@ -136,7 +137,7 @@ if (type == "now") { % if (type == "now") { <& pageelems.ajax_action_href action="switch_channel" tip=(tr("Switch to this channel.")) param=(channel_id) image="zap.png" alt="" &> % } -% if (LiveSetup().HaveEPGSearch()) { +% if ( LiveFeatures< features::epgsearch >().Recent() ) { <a href="searchresults.html?searchplain=<$ StringEscapeAndBreak(epgEvent->Title()) $>"><img src="search.png" border="0" alt="" <& tooltip.hint text=(tr("Search for repeats.")) &>></img></a> % } <a href="http://akas.imdb.com/Tsearch?title=<$ StringUrlEncode(epgEvent->Title()) $>"><img src="imdb.png" border="0" alt="" <& tooltip.hint text=(tr("Find more at the Internet Movie Database.")) &>></img></a> @@ -159,7 +160,7 @@ if (type == "now") { % if (type == "now") { <& pageelems.ajax_action_href action="switch_channel" tip=(tr("Switch to this channel.")) param=(channel_id) image="zap.png" alt="" &> % } -% if (LiveSetup().HaveEPGSearch()) { +% if ( LiveFeatures< features::epgsearch >().Recent() ) { <a href="searchresults.html?searchplain=<$ StringUrlEncode(epgEvent->Title()) $>"><img src="/search.png" border="0" alt="" <& tooltip.hint text=(tr("Search for repeats.")) &>></img></a> % } <a href="http://akas.imdb.com/Tsearch?title=<$ StringUrlEncode(epgEvent->Title()) $>"><img src="imdb.png" border="0" alt="" <& tooltip.hint text=(tr("Find more at the Internet Movie Database.")) &>></img></a> |