summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
Diffstat (limited to 'pages')
-rw-r--r--pages/whats_on.ecpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/pages/whats_on.ecpp b/pages/whats_on.ecpp
index bbbb73b..d537262 100644
--- a/pages/whats_on.ecpp
+++ b/pages/whats_on.ecpp
@@ -15,7 +15,7 @@ using namespace vdrlive;
</%pre>
<%args>
type = "now";
-mode = "detail";
+string mode;
string attime;
string fixtime;
@@ -43,6 +43,11 @@ string head;
time_t seektime = 0;
string displaytime;
+if (mode.empty())
+ mode = LiveSetup().GetLastWhatsOnListMode();
+else
+ LiveSetup().SetLastWhatsOnListMode(mode);
+
current_type = type;
current_mode = mode;
current_attime = attime;