diff options
author | Christian Wieninger <cwieninger (at) gmx (dot) de> | 2007-06-10 19:11:45 +0000 |
---|---|---|
committer | Christian Wieninger <cwieninger (at) gmx (dot) de> | 2007-06-10 19:11:45 +0000 |
commit | 0a6f5eebc80a0301119ae16e79ba08814e748f77 (patch) | |
tree | 2e06606d7c8b620e41179b1fd6491c7eae983848 /pages | |
parent | 2b05bd085a99eeaba1fc5a80ee81c8d07d6398b8 (diff) | |
download | vdr-plugin-live-0a6f5eebc80a0301119ae16e79ba08814e748f77.tar.gz vdr-plugin-live-0a6f5eebc80a0301119ae16e79ba08814e748f77.tar.bz2 |
- compile time support for vdr-1.5.3 (runtime? could not test yet ;) )
Diffstat (limited to 'pages')
-rw-r--r-- | pages/timers.ecpp | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/pages/timers.ecpp b/pages/timers.ecpp index 3853684..c78a4d0 100644 --- a/pages/timers.ecpp +++ b/pages/timers.ecpp @@ -59,7 +59,13 @@ using namespace vdrlive; <table class="listing" cellspacing="0" cellpadding="0"> <%cpp> for (SortedTimers::iterator timer = timers.begin(); timer != timers.end(); ++timer) { - string currentDay = timer->WeekDays() > 0 ? *cTimer::PrintDay(0, timer->WeekDays()) : FormatDateTime(tr("%A, %x"), timer->Day()); + string currentDay = timer->WeekDays() > 0 ? +#if VDRVERSNUM < 10503 + *cTimer::PrintDay(0, timer->WeekDays()) : +#else + *cTimer::PrintDay(0, timer->WeekDays(), true) : +#endif + FormatDateTime(tr("%A, %x"), timer->Day()); if (previousDay != currentDay) { if (!previousDay.empty()) { </%cpp> @@ -73,7 +79,14 @@ using namespace vdrlive; <tr class="head"> <td colspan="8"> <div class="boxheader"><div><div> - <$ timer->WeekDays() > 0 ? *cTimer::PrintDay(0, timer->WeekDays()) : FormatDateTime(tr("%A, %x"), timer->Day()) $> + <$ timer->WeekDays() > 0 ? +#if VDRVERSNUM < 10503 + *cTimer::PrintDay(0, timer->WeekDays()) : +#else + *cTimer::PrintDay(0, timer->WeekDays(), true) : +#endif + + FormatDateTime(tr("%A, %x"), timer->Day()) $> </div></div></div> </td> </tr> |