diff options
author | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2011-01-22 23:20:54 +0100 |
---|---|---|
committer | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2011-01-22 23:20:54 +0100 |
commit | a0b4f5011f9f9f7f13471ab4e3ec1150ab602b71 (patch) | |
tree | 4eaeb2084dd773f2d0268ec1b1c94c737f237ebe /pages/setup.ecpp | |
parent | 2191a4ae1f0357545f1a095a87456186f125e401 (diff) | |
parent | b252ebd12b06a8ed8e7cdbc51a1e487c84eb4e6b (diff) | |
download | vdr-plugin-live-a0b4f5011f9f9f7f13471ab4e3ec1150ab602b71.tar.gz vdr-plugin-live-a0b4f5011f9f9f7f13471ab4e3ec1150ab602b71.tar.bz2 |
Merge branch 'multischedule'
Diffstat (limited to 'pages/setup.ecpp')
-rw-r--r-- | pages/setup.ecpp | 17 |
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> |