diff options
author | Thomas Keil <tkeil (at) datacrystal (dot) de> | 2007-01-03 15:43:15 +0000 |
---|---|---|
committer | Thomas Keil <tkeil (at) datacrystal (dot) de> | 2007-01-03 15:43:15 +0000 |
commit | 705678a6d19457c74fc5a0c4c3e449e54144e29b (patch) | |
tree | 801ae2fa322e87396f6c8c34efd55b82d5ffce90 | |
parent | e5e44abae4ad21cb186e8f5c73bac2fe1e5c1be1 (diff) | |
download | vdr-plugin-live-705678a6d19457c74fc5a0c4c3e449e54144e29b.tar.gz vdr-plugin-live-705678a6d19457c74fc5a0c4c3e449e54144e29b.tar.bz2 |
Styles etc. verbessert
-rw-r--r-- | styles.css | 5 | ||||
-rw-r--r-- | whats_on_now.ecpp | 16 |
2 files changed, 10 insertions, 11 deletions
@@ -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 @@ </%args> <{ -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); </div> <div class="inhalt"> <div class="head_box"> - Was läft jetzt um Uhr + Was läuft jetzt um Uhr </div> <{ @@ -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() : ""); }> <div class="event"> <div class="station"><$ Channel->Name() $></div> - <span class="title"><$ Event->Title() $></span><br/> - <span class="short"></span> - <p><? Event->Description() ? Event->Description() ?></p> + <span class="title"><$ title $></span><br/> + <span class="short"><$ short_description $></span> + <p><$ description $></p> </div> <{ } |