From: Jo-Philipp Wich Date: Sat, 27 Nov 2010 05:26:48 +0000 (+0000) Subject: applications/luci-firewall: minor tweaks on config pages X-Git-Tag: 0.10.0~356 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0cdf9d7ead3027da368910f6e08a784948681cc4;p=oweals%2Fluci.git applications/luci-firewall: minor tweaks on config pages --- diff --git a/applications/luci-firewall/luasrc/model/cbi/luci_fw/rrule.lua b/applications/luci-firewall/luasrc/model/cbi/luci_fw/rrule.lua index 65e3e5816..74617e08b 100644 --- a/applications/luci-firewall/luasrc/model/cbi/luci_fw/rrule.lua +++ b/applications/luci-firewall/luasrc/model/cbi/luci_fw/rrule.lua @@ -53,10 +53,6 @@ s.addremove = false s:tab("general", translate("General Settings")) s:tab("advanced", translate("Advanced Settings")) -back = s:taboption("general", DummyValue, "_overview", translate("Overview")) -back.value = "" -back.titleref = luci.dispatcher.build_url("admin", "network", "firewall", "redirect") - name = s:taboption("general", Value, "_name", translate("Name")) name.rmempty = true name.size = 10 diff --git a/applications/luci-firewall/luasrc/model/cbi/luci_fw/zone.lua b/applications/luci-firewall/luasrc/model/cbi/luci_fw/zone.lua index 0aa618d29..00695a79c 100644 --- a/applications/luci-firewall/luasrc/model/cbi/luci_fw/zone.lua +++ b/applications/luci-firewall/luasrc/model/cbi/luci_fw/zone.lua @@ -22,6 +22,7 @@ local out, inp require("luci.tools.webadmin") m = Map("firewall", translate("Firewall - Zone Settings")) +m.redirect = luci.dispatcher.build_url("admin/network/firewall") fw.init(m.uci) nw.init(m.uci)