From 705678a6d19457c74fc5a0c4c3e449e54144e29b Mon Sep 17 00:00:00 2001 From: Thomas Keil Date: Wed, 3 Jan 2007 15:43:15 +0000 Subject: Styles etc. verbessert --- styles.css | 5 +++-- whats_on_now.ecpp | 16 +++++++--------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/styles.css b/styles.css index 70b013e..118b1ef 100644 --- a/styles.css +++ b/styles.css @@ -8,17 +8,18 @@ body { div.left_area { width: 150px; float: left; + margin: 5px; } div.inhalt { - + float: left; + margin: 5px; } div.menu { border: 1px solid #6D96A9; color: #6D96A9; padding: 5px; - margin: 5px; } div.menu a { diff --git a/whats_on_now.ecpp b/whats_on_now.ecpp index 73dfdd7..2ceb44c 100644 --- a/whats_on_now.ecpp +++ b/whats_on_now.ecpp @@ -9,10 +9,6 @@ <{ -char buf[6]; -struct tm tm_r; -//strftime(buf, sizeof(buf), "%H.%M", localtime(tm_r)); - cSchedulesLock schedulesLock; const cSchedules* Schedules = cSchedules::Schedules(schedulesLock); @@ -29,7 +25,7 @@ const cSchedules* Schedules = cSchedules::Schedules(schedulesLock);
- Was läft jetzt um Uhr + Was läuft jetzt um Uhr
<{ @@ -39,13 +35,15 @@ const cSchedules* Schedules = cSchedules::Schedules(schedulesLock); if (Schedule) { const cEvent *Event = Schedule->GetPresentEvent(); if (Event) { - const char *title = Event->Title() ? Event->Title() : ''; + std::string title(Event->Title() ? Event->Title() : ""); + std::string short_description(Event->ShortText() ? Event->ShortText() : ""); + std::string description(Event->Description() ? Event->Description() : ""); }>
<$ Channel->Name() $>
- <$ Event->Title() $>
- -

Description() ? Event->Description() ?>

+ <$ title $>
+ <$ short_description $> +

<$ description $>

<{ } -- cgit v1.2.3