From 74e82b9acb1c3f67d518b085668e0d69fe4e0a35 Mon Sep 17 00:00:00 2001 From: Thomas Keil Date: Sun, 7 Jan 2007 17:27:19 +0000 Subject: removed --- pages/whats_on_next.ecpp | 60 ------------------------------------------------ pages/whats_on_now.ecpp | 60 ------------------------------------------------ 2 files changed, 120 deletions(-) delete mode 100644 pages/whats_on_next.ecpp delete mode 100644 pages/whats_on_now.ecpp diff --git a/pages/whats_on_next.ecpp b/pages/whats_on_next.ecpp deleted file mode 100644 index 9f3be56..0000000 --- a/pages/whats_on_next.ecpp +++ /dev/null @@ -1,60 +0,0 @@ -<%pre> -#include -#include -#include -#include -#include -#include "setup.h" -#include "tools.h" - -using namespace vdrlive; - - -<%args> - -<{ - -cSchedulesLock schedulesLock; -const cSchedules* Schedules = cSchedules::Schedules(schedulesLock); - - -}> - - - VDR-Live - <$ tr("What's on next?") $> - - - -
- VDR Live! -<& menu > -
-
-<& pageelems.header_box content=(tr("What's on next?")) &> - -<{ - ReadLock channelsLock( Channels ); - if (channelsLock) { - 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) { - const cEvent *Event = Schedule->GetFollowingEvent(); - if (Event) { - std::string title(Event->Title() ? Event->Title() : ""); - std::string short_description(Event->ShortText() ? Event->ShortText() : ""); - std::string description(Event->Description() ? Event->Description() : ""); - std::string start(Event->StartTime() ? FormatDateTime(tr("%I:%M %p"), Event->StartTime()) : ""); - std::string end(Event->EndTime() ? FormatDateTime(tr("%I:%M %p"), Event->EndTime()) : ""); -}> -<& event_widget title=(title) short_description=(short_description) description=(description) channel_name=(Channel->Name()) start=(start) end=(end)> -<{ - } - } - } - } - } -}> -
- - diff --git a/pages/whats_on_now.ecpp b/pages/whats_on_now.ecpp deleted file mode 100644 index 6bb976c..0000000 --- a/pages/whats_on_now.ecpp +++ /dev/null @@ -1,60 +0,0 @@ -<%pre> -#include -#include -#include -#include -#include -#include "setup.h" -#include "tools.h" - -using namespace vdrlive; - - -<%args> - -<{ - -cSchedulesLock schedulesLock; -const cSchedules* Schedules = cSchedules::Schedules(schedulesLock); - - -}> - - - VDR-Live - <$ tr("What's on now?") $> - - - -
- VDR Live! -<& menu > -
-
-<& pageelems.header_box content=(tr("What's running at")) content=(FormatDateTime(tr("%I:%M %p"), time(0))) &> - -<{ - ReadLock channelsLock( Channels ); - if (channelsLock) { - 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) { - const cEvent *Event = Schedule->GetPresentEvent(); - if (Event) { - std::string title(Event->Title() ? Event->Title() : ""); - std::string short_description(Event->ShortText() ? Event->ShortText() : ""); - std::string description(Event->Description() ? Event->Description() : ""); - std::string start(Event->StartTime() ? FormatDateTime(tr("%I:%M %p"), Event->StartTime()) : ""); - std::string end(Event->EndTime() ? FormatDateTime(tr("%I:%M %p"), Event->EndTime()) : ""); -}> -<& event_widget title=(title) short_description=(short_description) description=(description) channel_name=(Channel->Name()) start=(start) end=(end)> -<{ - } - } - } - } - } -}> -
- - -- cgit v1.2.3