summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pages/schedule.ecpp2
-rw-r--r--pages/setup.ecpp7
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">