entry({"admin", "services", "splash"}, cbi("splash/splash"), "Client-Splash")
node("splash").target = call("action_dispatch")
- node("splash", "splash", "activate").target = call("action_activate")
- node("splash", "splash", "splash").target = template("splash_splash/splash")
+ node("splash", "activate").target = call("action_activate")
+ node("splash", "splash").target = template("splash_splash/splash")
end
function action_dispatch()
if #mac > 0 and ( status == "whitelisted" or status == "lease" ) then
luci.http.redirect(luci.dispatcher.build_url())
else
- luci.http.redirect(luci.dispatcher.build_url("splash", "splash", "splash"))
+ luci.http.redirect(luci.dispatcher.build_url("splash", "splash"))
end
end
</p>
<p>
-Mit einem Klick auf <em><%:accept%></em> kannst du für <%=c.leasetime%> Stunden
+Mit einem Klick auf <em><%:accept Accept%></em> kannst du für <%=c.leasetime%> Stunden
über unser Netz das Internet verwenden. Dann wirst du erneut aufgefordet, diese Bedingungen zu akzeptieren.
-</p>
\ No newline at end of file
+</p>
-%>
<%+header%>
<%+splash/splash%>
-<form method="get" action="<%=controller%>/splash/splash/activate">
- <input type="submit" value="<%:decline%>" />
- <input type="submit" name="accept" value="<%:accept%>" />
+<form method="get" action="<%=controller%>/splash/activate">
+ <input type="submit" value="<%:decline Decline%>" />
+ <input type="submit" name="accept" value="<%:accept Accept%>" />
</form>
-<%+footer%>
\ No newline at end of file
+<%+footer%>