diff options
author | Christian Wieninger <cwieninger (at) gmx (dot) de> | 2007-06-03 18:34:17 +0000 |
---|---|---|
committer | Christian Wieninger <cwieninger (at) gmx (dot) de> | 2007-06-03 18:34:17 +0000 |
commit | 41687a7bbe9c8d304b805a9a5f7e14101f1d75a5 (patch) | |
tree | bd1cde8a54dcf9837c6762fd5f222c730fae83d7 /pages | |
parent | 57a7acaea436aa3be941abba5b11aa73cd473cc2 (diff) | |
download | vdr-plugin-live-41687a7bbe9c8d304b805a9a5f7e14101f1d75a5.tar.gz vdr-plugin-live-41687a7bbe9c8d304b805a9a5f7e14101f1d75a5.tar.bz2 |
- save and restore last list mode in "What's on"
Diffstat (limited to 'pages')
-rw-r--r-- | pages/whats_on.ecpp | 7 |
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; |