From ed55a56b13ef722e502723f716e67dfc8f2e987e Mon Sep 17 00:00:00 2001 From: Thomas Keil Date: Sun, 7 Jan 2007 17:50:52 +0000 Subject: Changes Head --- pages/whats_on.ecpp | 9 +++++++-- 1 file 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?"); +} + }> -- cgit v1.2.3