summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Keil <tkeil (at) datacrystal (dot) de>2007-01-03 21:36:11 +0000
committerThomas Keil <tkeil (at) datacrystal (dot) de>2007-01-03 21:36:11 +0000
commit95739a127dc2b85fe831ac13553578490fea34b0 (patch)
tree62ae802ba80863ec76a1331ad680c6fc4ec21699
parent512ed2c60137bf5efe184fac8212569a880c1933 (diff)
downloadvdr-plugin-live-95739a127dc2b85fe831ac13553578490fea34b0.tar.gz
vdr-plugin-live-95739a127dc2b85fe831ac13553578490fea34b0.tar.bz2
Neu
-rw-r--r--pages/timers.ecpp52
1 files changed, 52 insertions, 0 deletions
diff --git a/pages/timers.ecpp b/pages/timers.ecpp
new file mode 100644
index 0000000..a632268
--- /dev/null
+++ b/pages/timers.ecpp
@@ -0,0 +1,52 @@
+<%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>
+
+ <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>