summaryrefslogtreecommitdiff
path: root/pages/timers.ecpp
diff options
context:
space:
mode:
authorSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-01-05 22:17:12 +0000
committerSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-01-05 22:17:12 +0000
commit549a8ee8dc07767ca19e89ff828b35c246b36697 (patch)
tree60fef33cd40f5d286b76a41d46dc0519f0486a0e /pages/timers.ecpp
parent848f59bb2fddfc0b02b1a4b7a1ec6e8d3e82d240 (diff)
downloadvdr-plugin-live-549a8ee8dc07767ca19e89ff828b35c246b36697.tar.gz
vdr-plugin-live-549a8ee8dc07767ca19e89ff828b35c246b36697.tar.bz2
- added timer data to editor
- timers don't show date in case of a weekday timer
Diffstat (limited to 'pages/timers.ecpp')
-rw-r--r--pages/timers.ecpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/pages/timers.ecpp b/pages/timers.ecpp
index 8fc9e16..7c07fe6 100644
--- a/pages/timers.ecpp
+++ b/pages/timers.ecpp
@@ -53,9 +53,9 @@ using namespace vdrlive;
}>
<tr class="<$ active ? "active" : "" $>">
<td><button type="button" class="smallbutton" onclick="location.href='edit_timer.html?timerid=<$ timers.GetTimerId(*timer) $>';"><$ tr("Edit") $></button></td>
- <td><img src="/<$ (timer->Flags() & 1) ? "active" : "inactive" $>.png" alt="Aktiv?" /></td>
+ <td><img src="/<$ (timer->Flags() & tfActive) ? "active" : "inactive" $>.png" alt="Aktiv?" /></td>
<td><$ timer->Channel()->Name() $></td>
- <td><$ FormatDateTime(tr("%a, %b %d"), timer->Day()) $></td>
+ <td><$ timer->Day() > 0 ? FormatDateTime(tr("%a, %b %d"), timer->Day()) : " " $></td>
<td><$ FormatDateTime(tr("%I:%M %p"), timer->StartTime()) $></td>
<td><$ FormatDateTime(tr("%I:%M %p"), timer->StopTime()) $></td>
<td><{ if (timer->Flags() & 8) { }><img src="/record.png" alt="Record" /><{ } }></td>