diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-10-31 22:32:35 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-10-31 22:32:35 +0000 |
commit | 5cc835e507585b33d47ab310a044245da0a792b9 (patch) | |
tree | a6a6812eaf0380731cd0db0f8c37f01006ac3ebf /modules/admin-full | |
parent | 63e023e56adfa13255ff792c0df52b3623eed7a7 (diff) |
modules/admin-full: fix last commit
Diffstat (limited to 'modules/admin-full')
-rw-r--r-- | modules/admin-full/luasrc/model/cbi/admin_network/dhcp.lua | 6 |
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 1e3e4c4a98..13a00ab82e 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" |