diff options
author | Thomas Keil <tkeil (at) datacrystal (dot) de> | 2007-01-07 17:27:19 +0000 |
---|---|---|
committer | Thomas Keil <tkeil (at) datacrystal (dot) de> | 2007-01-07 17:27:19 +0000 |
commit | 74e82b9acb1c3f67d518b085668e0d69fe4e0a35 (patch) | |
tree | 2c4af600d95df6900783dde7d5acdd0c0e88af6e /pages | |
parent | 25df031093ca740ba3d081b5951b2d34e6614f0f (diff) | |
download | vdr-plugin-live-74e82b9acb1c3f67d518b085668e0d69fe4e0a35.tar.gz vdr-plugin-live-74e82b9acb1c3f67d518b085668e0d69fe4e0a35.tar.bz2 |
removed
Diffstat (limited to 'pages')
-rw-r--r-- | pages/whats_on_next.ecpp | 60 | ||||
-rw-r--r-- | pages/whats_on_now.ecpp | 60 |
2 files changed, 0 insertions, 120 deletions
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 <vdr/plugin.h> -#include <vdr/channels.h> -#include <vdr/epg.h> -#include <vdr/config.h> -#include <vdr/i18n.h> -#include "setup.h" -#include "tools.h" - -using namespace vdrlive; - -</%pre> -<%args> -</%args> -<{ - -cSchedulesLock schedulesLock; -const cSchedules* Schedules = cSchedules::Schedules(schedulesLock); - - -}> -<html> - <head> - <title>VDR-Live - <$ tr("What's on next?") $></title> - <link rel="stylesheet" type="text/css" href="/styles.css" /> - </head> - <body> - <div class="left_area"> - <img src="logo.png" alt="VDR Live!" border="0" /> -<& menu > - </div> - <div class="inhalt"> -<& 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)> -<{ - } - } - } - } - } -}> - </div> - </body> -</html> 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 <vdr/plugin.h> -#include <vdr/channels.h> -#include <vdr/epg.h> -#include <vdr/config.h> -#include <vdr/i18n.h> -#include "setup.h" -#include "tools.h" - -using namespace vdrlive; - -</%pre> -<%args> -</%args> -<{ - -cSchedulesLock schedulesLock; -const cSchedules* Schedules = cSchedules::Schedules(schedulesLock); - - -}> -<html> - <head> - <title>VDR-Live - <$ tr("What's on now?") $></title> - <link rel="stylesheet" type="text/css" href="/styles.css" /> - </head> - <body> - <div class="left_area"> - <img src="logo.png" alt="VDR Live!" border="0" /> -<& menu > - </div> - <div class="inhalt"> -<& 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)> -<{ - } - } - } - } - } -}> - </div> - </body> -</html> |