summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorThomas Keil <tkeil (at) datacrystal (dot) de>2007-01-07 17:50:52 +0000
committerThomas Keil <tkeil (at) datacrystal (dot) de>2007-01-07 17:50:52 +0000
commited55a56b13ef722e502723f716e67dfc8f2e987e (patch)
treeaceaa81c2a270af21afd200769289fa0dc626074 /pages
parentb46b1454c78b69e1b3973a5aea9ac214d52c5de6 (diff)
downloadvdr-plugin-live-ed55a56b13ef722e502723f716e67dfc8f2e987e.tar.gz
vdr-plugin-live-ed55a56b13ef722e502723f716e67dfc8f2e987e.tar.bz2
Changes Head
Diffstat (limited to 'pages')
-rw-r--r--pages/whats_on.ecpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/pages/whats_on.ecpp b/pages/whats_on.ecpp
index dd2218b..a9e9744 100644
--- a/pages/whats_on.ecpp
+++ b/pages/whats_on.ecpp
@@ -18,8 +18,13 @@ type = "now";
cSchedulesLock schedulesLock;
const cSchedules* Schedules = cSchedules::Schedules(schedulesLock);
-std::string head(tr("What's running at")+ std::string(" ") + FormatDateTime(tr("%I:%M %p"), time(0)));
-
+std::string head;
+if (type == "now") {
+ head = tr("What's running at")+std::string(" ")+FormatDateTime(tr("%I:%M %p"), time(0));
+} else {
+ head = tr("What's on next?");
+}
+
}>
<html>
<head>