From 4941f50c3f3a4e32e478e50bd86a70821623249c Mon Sep 17 00:00:00 2001
From: Thomas Keil <tkeil (at) datacrystal (dot) de>
Date: Wed, 3 Jan 2007 23:37:49 +0000
Subject: Added images for activity and recording status

---
 pages/timers.ecpp | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

(limited to 'pages')

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>
 <{
-- 
cgit v1.2.3