diff options
-rw-r--r-- | pages/whats_on.ecpp | 9 |
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> |