summaryrefslogtreecommitdiff
path: root/pages/pageelems.ecpp
diff options
context:
space:
mode:
Diffstat (limited to 'pages/pageelems.ecpp')
-rw-r--r--pages/pageelems.ecpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/pages/pageelems.ecpp b/pages/pageelems.ecpp
index 68a4d9a..9ed85b6 100644
--- a/pages/pageelems.ecpp
+++ b/pages/pageelems.ecpp
@@ -1,3 +1,11 @@
+<%pre>
+#include <string>
+#include <vdr/epg.h>
+#include "tools.h"
+
+using namespace std;
+
+</%pre>
<%def doc_type>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
</%def>
@@ -28,3 +36,14 @@ component;
</div>
</div>
</%def>
+
+<%def event_timer>
+<%args>
+ tChannelID channelid;
+ tEventID eventid;
+</%args>
+ <a href="edit_timer.html?channelid=<$ *channelid.ToString() $>&eventid=<$ eventid $>"><img src="/record.png" alt="" <& tooltip_widget tooltip=(tr("Record this")) &> /></a>
+<%cpp>
+
+</%cpp>
+</%def>