summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Wieninger <cwieninger (at) gmx (dot) de>2008-01-10 13:40:39 +0100
committerChristian Wieninger <cwieninger (at) gmx (dot) de>2008-01-10 13:40:39 +0100
commit513a4f2a4d63e5e3221891b9f1cef42dd58ad45c (patch)
tree80c3f6bc7a78b0d1bbde198b298dbba9d3292e21
parent1f4a4cfc016c562eb7c8e2b3d99fa53dea036ece (diff)
downloadvdr-plugin-live-513a4f2a4d63e5e3221891b9f1cef42dd58ad45c.tar.gz
vdr-plugin-live-513a4f2a4d63e5e3221891b9f1cef42dd58ad45c.tar.bz2
- presence of favorites now depends on existence of epgsearch
-rw-r--r--pages/whats_on.ecpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/pages/whats_on.ecpp b/pages/whats_on.ecpp
index e2f1a0f..9a60e7f 100644
--- a/pages/whats_on.ecpp
+++ b/pages/whats_on.ecpp
@@ -279,8 +279,10 @@ if (type == "now") {
<span class="<? current_type == "at" && current_fixtime == "" ? "active" ?>"><$ tr("at") $></span>
<input type="text" size="6" name="spectime" id="spectime" value = "<? current_attime != "" ? current_displaytime ?>" onchange="showspectime(this)"/>
<span class="sep">|</span>
+% if ( LiveFeatures< features::epgsearch >().Recent() ) {
<a class="<? current_type == "favs" ? "active" ?>" href="whats_on.html?type=favs&amp;mode=<$ current_mode $>"><$ tr("Favorites") $></a>
<span class="sep">|</span>
+% }
% if ( current_mode == "list" ) {
<a href="whats_on.html?mode=detail&amp;type=<$ current_type $>&amp;attime=<$ current_attime $>&amp;fixtime=<$ current_fixtime $>"><$ tr("Details view") $></a>
% } else {