summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Wieninger <cwieninger (at) gmx (dot) de>2008-02-16 08:28:32 +0100
committerChristian Wieninger <cwieninger (at) gmx (dot) de>2008-02-16 08:28:32 +0100
commitc28b3e544cd514af47929a21b2b4fe50c5e354f2 (patch)
tree7fd7be89ac6a818029eb508838aa7293b44adee0
parent593d5f66b9751592def5d0ccc12af85488918115 (diff)
downloadvdr-plugin-live-c28b3e544cd514af47929a21b2b4fe50c5e354f2.tar.gz
vdr-plugin-live-c28b3e544cd514af47929a21b2b4fe50c5e354f2.tar.bz2
removed evaluating the 'last channel' since this is only useful for EPG
-rw-r--r--pages/channels_widget.ecpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/pages/channels_widget.ecpp b/pages/channels_widget.ecpp
index 5bfe490..fed7483 100644
--- a/pages/channels_widget.ecpp
+++ b/pages/channels_widget.ecpp
@@ -23,11 +23,9 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html");
ReadLock channelsLock( Channels );
if ( !channelsLock )
throw HtmlError( tr("Couldn't aquire access to channels, please try again later.") );
-
- int lastChannel = LiveSetup().GetLastChannel();
</%cpp>
<select name="<$ name $>" id="<$ name $>" <{ reply.out() << ( !onchange.empty() ? "onchange=\""+onchange+"\"" : "" ); }>>
-% for ( cChannel *listChannel = Channels.First(); listChannel && listChannel->Number() <= lastChannel; listChannel = Channels.Next( listChannel ) ) {
+% for ( cChannel *listChannel = Channels.First(); listChannel; listChannel = Channels.Next( listChannel ) ) {
% if ( listChannel->GroupSep() || *listChannel->Name() == '\0' )
% continue;
%