summaryrefslogtreecommitdiff
path: root/channels.ecpp
diff options
context:
space:
mode:
Diffstat (limited to 'channels.ecpp')
-rw-r--r--channels.ecpp15
1 files changed, 11 insertions, 4 deletions
diff --git a/channels.ecpp b/channels.ecpp
index 6458f5b..dd9fef4 100644
--- a/channels.ecpp
+++ b/channels.ecpp
@@ -1,6 +1,13 @@
<%pre>
+#include <boost/lexical_cast.hpp>
+#include <vdr/plugin.h>
#include <vdr/channels.h>
</%pre>
+<%args>
+vorname;
+nachname;
+alter;
+</%args>
<html>
<head>
<title>ecpp-application testproject</title>
@@ -8,14 +15,14 @@
<body>
<{
- for (cChannel *channel = Channels.First(); channel; channel = Channels.Next(channel)) {
- if (!channel->GroupSep() && *channel->Name()) {
+ for (cChannel *channel = Channels.First(); channel; channel = Channels.Next(channel)) {
+ if (!channel->GroupSep() && *channel->Name()) {
}>
- <$ channel->Name() $>
+ <$ channel->Name() $><a href="schedule.html?channel=<$ channel->Number() $>">Programm</a><br/>
<{
}
}
-
+
}>
</body>