diff options
author | Christian Wieninger <cwieninger (at) gmx (dot) de> | 2007-05-25 16:58:56 +0000 |
---|---|---|
committer | Christian Wieninger <cwieninger (at) gmx (dot) de> | 2007-05-25 16:58:56 +0000 |
commit | 3a4d59c9ac7226432120633ad394464d37e5f497 (patch) | |
tree | 926d255db984d789a5e8f1768e4f5985735377b1 /pages/setup.ecpp | |
parent | 181c5487cc5abbd21b0a8352a507aae4504c683c (diff) | |
download | vdr-plugin-live-3a4d59c9ac7226432120633ad394464d37e5f497.tar.gz vdr-plugin-live-3a4d59c9ac7226432120633ad394464d37e5f497.tar.bz2 |
- first version of "userdef. times" in "What's on?"
Diffstat (limited to 'pages/setup.ecpp')
-rw-r--r-- | pages/setup.ecpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/pages/setup.ecpp b/pages/setup.ecpp index 012d798..97fc199 100644 --- a/pages/setup.ecpp +++ b/pages/setup.ecpp @@ -10,6 +10,7 @@ using namespace std; bool useauth = 0; string login; string pass; + string times; </%args> <%session scope="global"> bool logged_in(false); @@ -27,12 +28,14 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html"); if (pass != "") LiveSetup().SetAdminPassword(pass); } - LiveSetup().SaveSetup(); + LiveSetup().SetTimes(times); + LiveSetup().SaveSetup(); } pageTitle = tr("Setup"); lastchannel = LiveSetup().GetLastChannel(); login = LiveSetup().GetAdminLogin(); useauth = LiveSetup().UseAuth(); + times = LiveSetup().GetTimes(); </%cpp> <& pageelems.doc_type &> @@ -90,6 +93,12 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html"); </tr> <tr> <td class="border" style="border-left: 1px solid black"></td> + <td class="label"><$ tr("additional fixed times in 'What's on?'") $>:</td> + <td><input type="text" name="times" value="<$ times $>" id="times" /></td> + <td class="border" style="border-right: 1px solid black"></td> + </tr> + <tr> + <td class="border" style="border-left: 1px solid black"></td> <td class="buttonpanel" colspan="2"> <button class="green" type="submit" name="save" onclick="return checksearch();"><$ tr("Save") $></button> </td> |