summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-fw/src/model/cbi
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-05-14 12:10:44 +0000
committerSteven Barth <steven@midlink.org>2008-05-14 12:10:44 +0000
commit3f4f75b1079eb1ea29b6c2fde9a3dd25c52f2fe4 (patch)
tree21864f75a3f353720fde2118f15dd504c3a160eb /applications/luci-fw/src/model/cbi
parent9a8624350f9f47f5d3abbf8a7cdafea4246334d6 (diff)
* core: Added template for a table view of typed sections
Diffstat (limited to 'applications/luci-fw/src/model/cbi')
-rw-r--r--applications/luci-fw/src/model/cbi/admin_network/portfw.lua3
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 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)