summaryrefslogtreecommitdiff
path: root/pages/setup.ecpp
diff options
context:
space:
mode:
Diffstat (limited to 'pages/setup.ecpp')
-rw-r--r--pages/setup.ecpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/pages/setup.ecpp b/pages/setup.ecpp
index 8956c83..7279ad0 100644
--- a/pages/setup.ecpp
+++ b/pages/setup.ecpp
@@ -16,6 +16,8 @@ using namespace std;
string login;
string pass;
string times;
+ string channelGroups;
+ string scheduleDuration;
string startscreen;
string theme;
string localnetmask;
@@ -58,6 +60,8 @@ if (!cUser::CurrentUserHasRightTo(UR_EDITSETUP))
LiveSetup().CheckLocalNet(request.getPeerIp());
}
LiveSetup().SetTimes(times);
+ LiveSetup().SetChannelGroups(channelGroups);
+ LiveSetup().SetScheduleDuration(scheduleDuration);
LiveSetup().SetStartScreen(startscreen);
LiveSetup().SetTheme(theme);
LiveSetup().SetShowLogo(!showLogo.empty());
@@ -85,6 +89,8 @@ if (!cUser::CurrentUserHasRightTo(UR_EDITSETUP))
login = LiveSetup().GetAdminLogin();
useauth = LiveSetup().GetUseAuth();
times = LiveSetup().GetTimes();
+ channelGroups = LiveSetup().GetChannelGroups();
+ scheduleDuration = LiveSetup().GetScheduleDuration();
startscreen = LiveSetup().GetStartScreen();
theme = LiveSetup().GetTheme();
localnetmask = LiveSetup().GetLocalNetMask();
@@ -227,6 +233,16 @@ 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("Duration of MultiSchedule in hours") $>:</div></td>
+ <td class="rightcol"><input type="text" name="scheduleDuration" value="<$ scheduleDuration $>" id="scheduleDuration" />
+ </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>/>
@@ -239,6 +255,7 @@ if (!cUser::CurrentUserHasRightTo(UR_EDITSETUP))
<option value="whatsonnow" <%cpp> SELECTIF(startscreen == "whatsonnow") </%cpp>><$ trVDR("What's on now?") $></option>
<option value="whatsonnext" <%cpp> SELECTIF(startscreen == "whatsonnext") </%cpp>><$ trVDR("What's on next?") $></option>
<option value="schedule" <%cpp> SELECTIF(startscreen == "schedule") </%cpp>><$ trVDR("Schedule") $></option>
+ <option value="multischedule" <%cpp> SELECTIF(startscreen == "multischedule") </%cpp>><$ trVDR("MultiSchedule") $></option>
<option value="recordings" <%cpp> SELECTIF(startscreen == "recordings") </%cpp>><$ trVDR("Recordings") $></option>
<option value="timers" <%cpp> SELECTIF(startscreen == "timers") </%cpp>><$ trVDR("Timers") $></option>
</select></td>