Backported back references
authorSteven Barth <steven@midlink.org>
Fri, 3 Oct 2008 16:58:05 +0000 (16:58 +0000)
committerSteven Barth <steven@midlink.org>
Fri, 3 Oct 2008 16:58:05 +0000 (16:58 +0000)
applications/luci-fw/luasrc/model/cbi/luci_fw/rrule.lua
applications/luci-fw/luasrc/model/cbi/luci_fw/trule.lua
modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua
modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua

index 795867616341582a5f85f532b1a92acd4274b87e..bf826616acc1701f146b830f70fe0e04e3da02ac 100644 (file)
@@ -20,6 +20,10 @@ m = Map("firewall", translate("fw_redirect"), translate("fw_redirect_desc"))
 s = m:section(NamedSection, arg[1], "redirect", "")
 s.anonymous = true
 
+back = s:option(DummyValue, "_overview", translate("overview"))
+back.value = ""
+back.titleref = luci.dispatcher.build_url("admin", "network", "firewall", "redirection")
+
 name = s:option(Value, "_name", translate("name"))
 name.rmempty = true
 name.size = 10
index 3712196ff856017b2b426bef6503589c835b1d1b..2538c1be4047b48d8fc3adcc0e2b25e87fbee4fd 100644 (file)
@@ -17,6 +17,11 @@ m = Map("firewall", translate("firewall_rule"), translate("firewall_rule_desc"))
 s = m:section(NamedSection, arg[1], "rule", "")
 s.anonymous = true
 
+back = s:option(DummyValue, "_overview", translate("overview"))
+back.value = ""
+back.titleref = luci.dispatcher.build_url("admin", "network", "firewall", "traffic")
+
+
 name = s:option(Value, "_name", translate("name")..translate("cbi_optional"))
 name.rmempty = true
 
index 5470b8a241d1463067bf9500e0252947e11cf877..d06ad90c9e40815993a180e9f130a66e1d465829 100644 (file)
@@ -19,6 +19,10 @@ m = Map("network", translate("interfaces"), translate("a_n_ifaces1"))
 s = m:section(NamedSection, arg[1], "interface")
 s.addremove = true
 
+back = s:option(DummyValue, "_overview", translate("overview"))
+back.value = ""
+back.titleref = luci.dispatcher.build_url("admin", "network", "network")
+
 p = s:option(ListValue, "proto", translate("protocol"))
 p:value("static", translate("static"))
 p:value("dhcp", "DHCP")
index b687133ced654ba202772ea3471c8b8f689c788e..f2454d9a35a29ff750cfd9a0e5a0cea170ae45e2 100644 (file)
@@ -19,6 +19,11 @@ m = Map("wireless", translate("networks"), translate("a_w_networks1"))
 s = m:section(NamedSection, arg[1], "wifi-device", translate("device") .. " " .. arg[1])
 --s.addremove = true
 
+back = s:option(DummyValue, "_overview", translate("overview"))
+back.value = ""
+back.titleref = luci.dispatcher.build_url("admin", "network", "wireless")
+
+
 en = s:option(Flag, "disabled", translate("enable"))
 en.enabled = "0"
 en.disabled = "1"