summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-splash/luasrc/model/cbi/splash
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2013-08-18 20:37:35 +0000
committerManuel Munz <freifunk@somakoma.de>2013-08-18 20:37:35 +0000
commit15088f5dd4f53cb25e71a871dd4ed25440ec7eb5 (patch)
tree87e29264d4e21b200a44db35b0646d3c5f842a75 /applications/luci-splash/luasrc/model/cbi/splash
parent54da15fc7f96af3a8674eef81403dc014a5f39a7 (diff)
applications/luci-splash: Always allow clients to connect to the community homepage, make description of allowed hosts/subnets more clear, #595
Diffstat (limited to 'applications/luci-splash/luasrc/model/cbi/splash')
-rw-r--r--applications/luci-splash/luasrc/model/cbi/splash/splash.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/applications/luci-splash/luasrc/model/cbi/splash/splash.lua b/applications/luci-splash/luasrc/model/cbi/splash/splash.lua
index 47d7695d2c..206ef70531 100644
--- a/applications/luci-splash/luasrc/model/cbi/splash/splash.lua
+++ b/applications/luci-splash/luasrc/model/cbi/splash/splash.lua
@@ -16,6 +16,8 @@ s = m:section(NamedSection, "general", "core", translate("General"))
s.addremove = false
s:option(Value, "leasetime", translate("Clearance time"), translate("Clients that have accepted the splash are allowed to use the network for that many hours."))
+local redir = s:option(Value, "redirect_url", translate("Redirect target"), translate("Clients are redirected to this page after they have accepted the splash. If this is left empty they are redirected to the page they had requested."))
+redir.rmempty = true
s:option(Value, "limit_up", translate("Upload limit"), translate("Clients upload speed is limited to this value (kbyte/s)"))
s:option(Value, "limit_down", translate("Download limit"), translate("Clients download speed is limited to this value (kbyte/s)"))
@@ -74,7 +76,7 @@ s.anonymous = true
s:option(Value, "mac", translate ("MAC Address"))
s = m:section(TypedSection, "subnet", translate("Allowed hosts/subnets"),
- translate("Hosts and Networks that are listed here are excluded from splashing, i.e. they are always allowed."))
+ translate("Destination hosts and networks that are excluded from splashing, i.e. they are always allowed."))
s.template = "cbi/tblsection"
s.addremove = true