summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-splash
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-splash')
-rw-r--r--applications/luci-app-splash/luasrc/controller/splash/splash.lua2
-rw-r--r--applications/luci-app-splash/luasrc/view/admin_status/splash.htm4
-rw-r--r--applications/luci-app-splash/luasrc/view/splash/blocked.htm2
-rw-r--r--applications/luci-app-splash/luasrc/view/splash/splash.htm2
4 files changed, 5 insertions, 5 deletions
diff --git a/applications/luci-app-splash/luasrc/controller/splash/splash.lua b/applications/luci-app-splash/luasrc/controller/splash/splash.lua
index 4add43559f..13b8edce6d 100644
--- a/applications/luci-app-splash/luasrc/controller/splash/splash.lua
+++ b/applications/luci-app-splash/luasrc/controller/splash/splash.lua
@@ -16,7 +16,7 @@ function index()
node("splash", "splash").target = template("splash_splash/splash")
node("splash", "blocked").target = template("splash/blocked")
- entry({"admin", "status", "splash"}, call("action_status_admin"), _("Client-Splash"))
+ entry({"admin", "status", "splash"}, post("action_status_admin"), _("Client-Splash"))
local page = node("splash", "publicstatus")
page.target = call("action_status_public")
diff --git a/applications/luci-app-splash/luasrc/view/admin_status/splash.htm b/applications/luci-app-splash/luasrc/view/admin_status/splash.htm
index 831fa75f65..3415c205d5 100644
--- a/applications/luci-app-splash/luasrc/view/admin_status/splash.htm
+++ b/applications/luci-app-splash/luasrc/view/admin_status/splash.htm
@@ -210,11 +210,11 @@ end
<div id="cbi-splash-leases" class="cbi-map">
- <h2><a id="content" name="content"><%:Client-Splash%></a></h2>
+ <h2 name="content"><%:Client-Splash%></h2>
<fieldset id="cbi-table-table" class="cbi-section">
<legend><%:Active Clients%></legend>
<div class="cbi-section-node">
- <% if is_admin then %><form action="<%=REQUEST_URI%>" method="post"><% end %>
+ <% if is_admin then %><form action="<%=REQUEST_URI%>" method="post"><input type="hidden" name="token" value="<%=token%>" /><% end %>
<table class="cbi-section-table">
<thead>
<tr class="cbi-section-table-titles">
diff --git a/applications/luci-app-splash/luasrc/view/splash/blocked.htm b/applications/luci-app-splash/luasrc/view/splash/blocked.htm
index 406139b51b..c27e2fab6e 100644
--- a/applications/luci-app-splash/luasrc/view/splash/blocked.htm
+++ b/applications/luci-app-splash/luasrc/view/splash/blocked.htm
@@ -9,7 +9,7 @@ local contacturl = luci.dispatcher.build_url("freifunk", "contact")
<%+header%>
-<h2><a id="content" name="content"><%:Blocked%></a></h2>
+<h2 name="content"><%:Blocked%></h2>
<p><%:Your access to this network has been blocked, most likely because you did something that our rules explicitly forbid.%></p>
<p><%:To ask for the reason why you have been blocked or ask for access again you can try to contact the owner of this access point:%> <a href="<%=contacturl%>"><%:Contact%></a></p>
diff --git a/applications/luci-app-splash/luasrc/view/splash/splash.htm b/applications/luci-app-splash/luasrc/view/splash/splash.htm
index 7626b600dc..8d84463ef7 100644
--- a/applications/luci-app-splash/luasrc/view/splash/splash.htm
+++ b/applications/luci-app-splash/luasrc/view/splash/splash.htm
@@ -72,7 +72,7 @@ if has_custom_splash then
<% else %>
- <h2><a id="content" name="content"><%:Welcome%></a></h2>
+ <h2 name="content"><%:Welcome%></h2>
<p><%:You are now connected to the free wireless mesh network%> <a href="<%=homepage%>"><%=community%></a>.
<%:Please note that we are not an internet service provider but an experimental community network.%></p>