summaryrefslogtreecommitdiff
path: root/pages/setup.ecpp
diff options
context:
space:
mode:
authormartin <martin@localhost.localdomain>2011-01-15 13:36:55 +0100
committermartin <martin@localhost.localdomain>2011-01-15 13:36:55 +0100
commit807c23e6213b71abd46b62d9f07a05c1c57190ed (patch)
tree9222b3ab7a85b476c89ef2f211041f2913b1c6be /pages/setup.ecpp
parentc6ad6f2963d1df7443e8f237a1637f112b3c3037 (diff)
downloadvdr-plugin-live-807c23e6213b71abd46b62d9f07a05c1c57190ed.tar.gz
vdr-plugin-live-807c23e6213b71abd46b62d9f07a05c1c57190ed.tar.bz2
- add setup option for channel groups
Diffstat (limited to 'pages/setup.ecpp')
-rw-r--r--pages/setup.ecpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/pages/setup.ecpp b/pages/setup.ecpp
index 98bf1eb..c1d328f 100644
--- a/pages/setup.ecpp
+++ b/pages/setup.ecpp
@@ -16,6 +16,7 @@ using namespace std;
string login;
string pass;
string times;
+ string channelGroups;
string startscreen;
string theme;
string localnetmask;
@@ -58,6 +59,7 @@ if (!cUser::CurrentUserHasRightTo(UR_EDITSETUP))
LiveSetup().CheckLocalNet(request.getPeerIp());
}
LiveSetup().SetTimes(times);
+ LiveSetup().SetChannelGroups(channelGroups);
LiveSetup().SetStartScreen(startscreen);
LiveSetup().SetTheme(theme);
LiveSetup().SetShowLogo(!showLogo.empty());
@@ -85,6 +87,7 @@ if (!cUser::CurrentUserHasRightTo(UR_EDITSETUP))
login = LiveSetup().GetAdminLogin();
useauth = LiveSetup().GetUseAuth();
times = LiveSetup().GetTimes();
+ channelGroups = LiveSetup().GetChannelGroups();
startscreen = LiveSetup().GetStartScreen();
theme = LiveSetup().GetTheme();
localnetmask = LiveSetup().GetLocalNetMask();
@@ -227,6 +230,11 @@ if (!cUser::CurrentUserHasRightTo(UR_EDITSETUP))
<& tooltip.help text=(tr("Format is HH:MM. Separate multiple times with a semicolon")) &></td>
</tr>
<tr>
+ <td class="label leftcol"><div class="withmargin"><$ tr("Channel groups for MultiSchedule") $>:</div></td>
+ <td class="rightcol"><input type="text" name="channelGroups" value="<$ channelGroups $>" id="channelGroups" />
+ <& tooltip.help text=(tr("Separate channels with a comma ',', separate groups with a semi-colon ';'")) &></td>
+ </tr>
+ <tr>
<td class="label leftcol"><div class="withmargin"><$ tr("Show channels without EPG") $>:</div></td>
<td class="rightcol">
<input type="checkbox" name="showChannelsWithoutEPG" id="showChannelsWithoutEPG" value="1" <%cpp> CHECKIF(!showChannelsWithoutEPG.empty()); </%cpp>/>