summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/model
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-10-31 22:32:35 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-10-31 22:32:35 +0000
commit5cc835e507585b33d47ab310a044245da0a792b9 (patch)
treea6a6812eaf0380731cd0db0f8c37f01006ac3ebf /modules/admin-full/luasrc/model
parent63e023e56adfa13255ff792c0df52b3623eed7a7 (diff)
modules/admin-full: fix last commit
Diffstat (limited to 'modules/admin-full/luasrc/model')
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_network/dhcp.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/admin-full/luasrc/model/cbi/admin_network/dhcp.lua b/modules/admin-full/luasrc/model/cbi/admin_network/dhcp.lua
index 1e3e4c4a9..13a00ab82 100644
--- a/modules/admin-full/luasrc/model/cbi/admin_network/dhcp.lua
+++ b/modules/admin-full/luasrc/model/cbi/admin_network/dhcp.lua
@@ -16,7 +16,7 @@ require("luci.model.uci")
require("luci.util")
m = Map("dhcp",
- translate("Dynamic <abbr title=\"Dynamic Host Configuration Protocol\">DHCP</abbr>"),
+ translate("DHCP"),
translate("With <abbr title=\"Dynamic Host Configuration Protocol\">DHCP</abbr> network " ..
"members can automatically receive their network settings (<abbr title=" ..
"\"Internet Protocol\">IP</abbr>-address, netmask, <abbr title=\"Domain Name " ..
@@ -50,7 +50,9 @@ s:option(Value, "limit", translate("Limit")).rmempty = true
s:option(Value, "leasetime", translate("Leasetime")).rmempty = true
-local dd = s:option(Flag, "dynamicdhcp", translate("dynamic"))
+local dd = s:option(Flag, "dynamicdhcp",
+ translate("Dynamic <abbr title=\"Dynamic Host Configuration Protocol\">DHCP</abbr>"))
+
dd.rmempty = false
function dd.cfgvalue(self, section)
return Flag.cfgvalue(self, section) or "1"