1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 92_live-0.1.0-1.5.3.dpatch by Thomas G�nther <tom@toms-cafe.de>
3
## http://toms-cafe.de/vdr/download/live-0.1.0-1.5.3.diff
5
## All lines beginning with `## DP:' are a description of the patch.
6
## DP: Changes for VDR >= 1.5.3.
9
--- live-0.1.0/pages/timers.ecpp
10
+++ live-0.1.0/pages/timers.ecpp
11
@@ -59,7 +59,11 @@ using namespace vdrlive;
12
<table class="timers" cellspacing="0" cellpadding="0">
14
for (SortedTimers::iterator timer = timers.begin(); timer != timers.end(); ++timer) {
15
+#if VDRVERSNUM >= 10503
16
+ string currentDay = timer->WeekDays() > 0 ? *cTimer::PrintDay(0, timer->WeekDays(), true) : FormatDateTime(tr("%A, %x"), timer->Day());
18
string currentDay = timer->WeekDays() > 0 ? *cTimer::PrintDay(0, timer->WeekDays()) : FormatDateTime(tr("%A, %x"), timer->Day());
20
if (previousDay != currentDay) {
21
if (!previousDay.empty()) {
23
@@ -73,7 +77,7 @@ using namespace vdrlive;
26
<div class="boxheader"><div><div>
27
- <$ timer->WeekDays() > 0 ? *cTimer::PrintDay(0, timer->WeekDays()) : FormatDateTime(tr("%A, %x"), timer->Day()) $>