summaryrefslogtreecommitdiff
path: root/pages/channels.ecpp
diff options
context:
space:
mode:
Diffstat (limited to 'pages/channels.ecpp')
-rw-r--r--pages/channels.ecpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/pages/channels.ecpp b/pages/channels.ecpp
index aa48f03..5f64d1d 100644
--- a/pages/channels.ecpp
+++ b/pages/channels.ecpp
@@ -2,17 +2,20 @@
#include <boost/lexical_cast.hpp>
#include <vdr/plugin.h>
#include <vdr/channels.h>
+#include "setup.h"
+
+using namespace vdrlive;
+
</%pre>
<html>
<head>
<title><$ tr("channels") $></title>
</head>
<body>
-
<div id="inhalt">
<{
- for (cChannel *channel = Channels.First(); channel; channel = Channels.Next(channel)) {
+ for (cChannel *channel = Channels.First(); channel && channel->Number() <= LiveSetup().GetLastChannel(); channel = Channels.Next(channel)) {
if (!channel->GroupSep() && *channel->Name()) {
}>
<div class="channel">