diff options
Diffstat (limited to 'pages/timers.ecpp')
-rw-r--r-- | pages/timers.ecpp | 4 |
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> |