diff options
author | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2007-07-22 21:47:07 +0000 |
---|---|---|
committer | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2007-07-22 21:47:07 +0000 |
commit | a25ad94679b82c090df8f345f1d3fbf2735ab919 (patch) | |
tree | 7b7bc19f3f049c55ec67cb8198d161ab0f9890fe | |
parent | e53dae90e2454400d57d815086c762684cf846b9 (diff) | |
download | vdr-plugin-live-a25ad94679b82c090df8f345f1d3fbf2735ab919.tar.gz vdr-plugin-live-a25ad94679b82c090df8f345f1d3fbf2735ab919.tar.bz2 |
- Bugfix introduced with W3C compliance commit earlier. (change of
schedules channel jumped to default page, due to wrong actions
attribute in form)
-rw-r--r-- | pages/schedule.ecpp | 2 | ||||
-rw-r--r-- | pages/setup.ecpp | 7 |
2 files changed, 4 insertions, 5 deletions
diff --git a/pages/schedule.ecpp b/pages/schedule.ecpp index f7560dd..2563eb6 100644 --- a/pages/schedule.ecpp +++ b/pages/schedule.ecpp @@ -144,5 +144,5 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html"); <%include>page_exit.eh</%include> <%def channel_selection> -<form action="." method="get" id="channels"><div><label for="channel"><$ tr("Show schedule of channel") $>: </label><& channels_widget name=("channel") selected=(Channel ? *Channel->GetChannelID().ToString() : "") onchange=("document.forms.channels.submit()") &></div></form> +<form action="schedule.html" method="get" id="channels"><div><label for="channel"><$ tr("Show schedule of channel") $>: </label><& channels_widget name=("channel") selected=(Channel ? *Channel->GetChannelID().ToString() : "") onchange=("document.forms.channels.submit()") &></div></form> </%def> diff --git a/pages/setup.ecpp b/pages/setup.ecpp index f363368..6615137 100644 --- a/pages/setup.ecpp +++ b/pages/setup.ecpp @@ -23,13 +23,12 @@ using namespace std; int authchanged = 0; </%args> <%session scope="global"> -bool logged_in(false); + bool logged_in(false); </%session> <%include>page_init.eh</%include> <%cpp> if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html"); -</%cpp> -<%cpp> + #define SELECTIF(x) reply.out() << ( (x) ? "selected=\"selected\"" : "" ); #define CHECKIF(x) reply.out() << ( (x) ? "checked=\"checked\"" : "" ); @@ -111,7 +110,7 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html"); <& pageelems.logo &> <& menu active=("setup") &> <div class="inhalt"> - <form method="POST" name="setup" action="setup.ecpp"> + <form method="post" action="setup.html"> <input type="hidden" name="authchanged" value="<$ authchanged $>" id="authchanged"/> <input type="hidden" name="message" value="<$ message $>" id="message"/> <table class="formular" cellpadding="0" cellspacing="0"> |