diff options
author | Steven Barth <steven@midlink.org> | 2008-05-14 12:10:44 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-05-14 12:10:44 +0000 |
commit | 3f4f75b1079eb1ea29b6c2fde9a3dd25c52f2fe4 (patch) | |
tree | 21864f75a3f353720fde2118f15dd504c3a160eb /applications | |
parent | 9a8624350f9f47f5d3abbf8a7cdafea4246334d6 (diff) |
* core: Added template for a table view of typed sections
Diffstat (limited to 'applications')
-rw-r--r-- | applications/luci-fw/src/model/cbi/admin_network/portfw.lua | 3 |
1 files changed, 2 insertions, 1 deletions
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 96822b53a..5ee22336e 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) |