summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Keil <tkeil (at) datacrystal (dot) de>2007-01-03 23:37:49 +0000
committerThomas Keil <tkeil (at) datacrystal (dot) de>2007-01-03 23:37:49 +0000
commit4941f50c3f3a4e32e478e50bd86a70821623249c (patch)
tree13135dbca0aa41da2382b95520d6f3f2dc6c43eb
parent67304641b370f17b621f10a27695a4f96b37e8d9 (diff)
downloadvdr-plugin-live-4941f50c3f3a4e32e478e50bd86a70821623249c.tar.gz
vdr-plugin-live-4941f50c3f3a4e32e478e50bd86a70821623249c.tar.bz2
Added images for activity and recording status
-rw-r--r--pages/timers.ecpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/pages/timers.ecpp b/pages/timers.ecpp
index a656c36..0031412 100644
--- a/pages/timers.ecpp
+++ b/pages/timers.ecpp
@@ -39,6 +39,7 @@ using namespace vdrlive;
<td class="head"><$ tr("Date") $></td>
<td class="head"><$ tr("Start") $></td>
<td class="head"><$ tr("Stop") $></td>
+ <td class="head">&nbsp;</td>
<td class="head"><$ tr("File") $></td>
</tr>
<{
@@ -47,11 +48,12 @@ using namespace vdrlive;
for (SortedTimers::iterator timer = timers.begin(); timer != timers.end(); ++timer) {
}>
<tr class="<$ active ? "active" : "" $>">
- <td><$ (timer->Flags() & 1) ? "Ja" : "Nein" $></td>
+ <td><img src="/<$ (timer->Flags() & 1) ? "active" : "inactive" $>.png" alt="Aktiv?" /></td>
<td><$ timer->Channel()->Name() $></td>
<td><$ 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><$ FormatDateTime(tr("%I:%M %p"), timer->Start()) $></td>
+ <td><$ FormatDateTime(tr("%I:%M %p"), timer->Stop()) $></td>
+ <td><? (timer->Flags() & 8) ? "<img src=\"/record.png\" alt=\"Record\" />" ?></td>
<td><$ timer->File() $></td>
</tr>
<{