luci-0.9: merge r5590, r5591 and r5592
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 25 Nov 2009 02:24:16 +0000 (02:24 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 25 Nov 2009 02:24:16 +0000 (02:24 +0000)
applications/luci-fw/luasrc/model/cbi/luci_fw/zones.lua
applications/luci-splash/luasrc/model/cbi/splash/splash.lua
modules/admin-full/luasrc/model/cbi/admin_network/network.lua
modules/admin-full/luasrc/model/cbi/admin_services/dnsmasq.lua

index 81a0f65..46bd636 100644 (file)
@@ -16,6 +16,7 @@ m = Map("firewall", translate("fw_fw"), translate("fw_fw1"))
 
 s = m:section(TypedSection, "defaults")
 s.anonymous = true
+s.addremove = false
 
 s:option(Flag, "syn_flood")
 
index e9d000f..145b16d 100644 (file)
@@ -4,6 +4,8 @@ require("luci.model.uci")
 m = Map("luci_splash", "Client-Splash", [[Client-Splash ist das Freifunk Hotspot-Authentifizierungs-System.]])
 
 s = m:section(NamedSection, "general", "core", "Allgemein")
+s.addremove = false
+
 s:option(Value, "leasetime", "Freigabezeit", "h")
 
 s:option(Value, "limit_up", "Upload-Limitierung", "Kilobyte/s - limitiert die Upload-Geschwindigkeit von Clients")
index 8fd5368..0d0ce2c 100644 (file)
@@ -25,6 +25,7 @@ local netstat = sys.net.deviceinfo()
 
 s = m:section(TypedSection, "interface", "")
 s.addremove = true
+s.anonymous = false
 s.extedit   = luci.dispatcher.build_url("admin", "network", "network") .. "/%s"
 s.template  = "cbi/tblsection"
 s.override_scheme = true
index 04ec1e1..7977778 100644 (file)
@@ -15,6 +15,7 @@ m = Map("dhcp", "Dnsmasq")
 
 s = m:section(TypedSection, "dnsmasq", translate("settings"))
 s.anonymous = true
+s.addremove = false
 
 s:option(Flag, "domainneeded")
 s:option(Flag, "authoritative")
@@ -42,4 +43,4 @@ s:option(Flag, "enable_tftp").optional = true
 s:option(Value, "tftp_root").optional = true
 s:option(Value, "dhcp_boot").optional = true
 
-return m
\ No newline at end of file
+return m