summaryrefslogtreecommitdiff
path: root/pages/whats_on.ecpp
diff options
context:
space:
mode:
authorDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2007-05-31 23:44:01 +0000
committerDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2007-05-31 23:44:01 +0000
commit4bb2cc172549bcf9f86a94e5d3d0d5ade5f91dfe (patch)
tree1594cf050f0f23da64c41b02d739a9e4e1808e21 /pages/whats_on.ecpp
parent5d74b90e216827453c87eeb0addae5bb081c40f5 (diff)
downloadvdr-plugin-live-4bb2cc172549bcf9f86a94e5d3d0d5ade5f91dfe.tar.gz
vdr-plugin-live-4bb2cc172549bcf9f86a94e5d3d0d5ade5f91dfe.tar.bz2
- Added doc/ChangeLog
- Added doc/css-themeing.txt - Implemented support for site wide style overrides. Fixes Bug #339 - Updated all pages to use the override mechanism. - Added needed files to Makefile - Introduced USRDIR configuration variable to Makefile.
Diffstat (limited to 'pages/whats_on.ecpp')
-rw-r--r--pages/whats_on.ecpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/pages/whats_on.ecpp b/pages/whats_on.ecpp
index 0af929b..e975551 100644
--- a/pages/whats_on.ecpp
+++ b/pages/whats_on.ecpp
@@ -69,7 +69,7 @@ if (type == "now") {
<html>
<head>
<title>VDR-Live - <$ head $></title>
- <link rel="stylesheet" type="text/css" href="styles.css" />
+ <& pageelems.stylesheets &>
<& tooltip.javascript var=("domTT_styleClass") value=("domTTepg") &>
<& pageelems.ajax_js &>
<script type="text/javascript"><!--
@@ -105,7 +105,7 @@ if (type == "now") {
for (cChannel *Channel = Channels.First(); Channel && Channel->Number() <= LiveSetup().GetLastChannel(); Channel = Channels.Next(Channel)) {
if (!Channel->GroupSep()) {
const cSchedule *Schedule = Schedules->GetSchedule(Channel);
- if (Schedule) {
+ if (Schedule) {
const cEvent *Event = NULL;
if (type == "now")
Event = Schedule->GetPresentEvent();
@@ -113,7 +113,7 @@ if (type == "now") {
Event = Schedule->GetFollowingEvent();
else if (type == "at")
Event = Schedule->GetEventAround(seektime);
-
+
if (Event) {
string evntId("eventId_");
evntId += lexical_cast<std::string, int>(++evntNr);