all: change most translate statements to new format, some need manual cleanup
[project/luci.git] / modules / niu / luasrc / controller / niu / network.lua
index 11f87fc..41da30a 100644 (file)
@@ -18,5 +18,16 @@ module "luci.controller.niu.network"
 function index()
        entry({"niu", "network"}, alias("admin", "network"), "Network")
        .dbtemplate = "niu/network"
-       entry({"niu", "network", "lan"}, cbi("niu/network/lan"), "Configure LAN")
+
+       entry({"niu", "network", "lan"}, 
+       cbi("niu/network/lan", {on_success_to={"niu"}}), "Configure LAN", 10)
+
+       entry({"niu", "network", "wan"}, 
+       cbi("niu/network/wan", {on_success_to={"niu"}}), "Configure Internet", 20)
+       
+       entry({"niu", "network", "assign"}, cbi("niu/network/assign",
+        {on_success_to={"niu"}}), "Address Assignment", 30)
+       
+       entry({"niu", "network", "routes"},  cbi("niu/network/routes",
+        {on_success_to={"niu"}}), "Custom Routing", 40)
 end