From 3f4f75b1079eb1ea29b6c2fde9a3dd25c52f2fe4 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Wed, 14 May 2008 12:10:44 +0000 Subject: * core: Added template for a table view of typed sections --- applications/luci-fw/src/model/cbi/admin_network/portfw.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'applications/luci-fw/src/model/cbi') diff --git a/applications/luci-fw/src/model/cbi/admin_network/portfw.lua b/applications/luci-fw/src/model/cbi/admin_network/portfw.lua index 96822b53a2..5ee22336e7 100644 --- a/applications/luci-fw/src/model/cbi/admin_network/portfw.lua +++ b/applications/luci-fw/src/model/cbi/admin_network/portfw.lua @@ -4,10 +4,11 @@ m = Map("luci_fw", "Portweiterleitung", [[Portweiterleitungen ermöglichen es in Netzwerkdienste von einem anderen externen Netzwerk aus erreichbar zu machen.]]) s = m:section(TypedSection, "portfw") +s.template = "cbi/tblsection" s.addremove = true s.anonymous = true -iface = s:option(ListValue, "iface", "Externes Interface") +iface = s:option(ListValue, "iface", "Schnittstelle", "Externe Schnittstelle") iface:value("") for k,v in pairs(ffluci.sys.net.devices()) do iface:value(v) -- cgit v1.2.3