blob: e4a335f46f2a44875c7c0bafd9389077905e5d1b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
<%pre>
#include <vdr/plugin.h>
#include <vdr/timers.h>
#include <vdr/config.h>
#include <vdr/i18n.h>
#include "tools.h"
using namespace vdrlive;
</%pre>
<%args>
</%args>
<{
}>
<html>
<head>
<title>VDR-Live - <$ tr("Timers") $></title>
<link rel="stylesheet" type="text/css" href="/styles.css" />
</head>
<body>
<div class="left_area">
<& menu >
</div>
<div class="inhalt">
<div class="head_box">
<$ tr("Timers") $>
</div>
% if (Timers.Count() == 0) {
Keiner Timer definiert
% } else {
<table class="timers" cellspacing="0" cellpadding="0">
<tr>
<td class="head"><$ tr("Start") $></td>
<td class="head"><$ tr("Stop") $></td>
<td class="head"><$ tr("File") $></td>
</tr>
<{
for (cTimer *timer = Timers.First(); timer; timer = Timers.Next(timer)) {
timer->SetEventFromSchedule(); // make sure the event is current
}>
<tr>
<td><$ FormatDateTime(tr("%I:%M %p"), timer->Start()) $></td>
<td><$ FormatDateTime(tr("%I:%M %p"), timer->Stop()) $></td>
<td><$ timer->File() $></td>
</tr>
<{
}
}
}>
</table>
</div>
</body>
</html>
|