modules/admin-full: fix last commit
This commit is contained in:
parent
63e023e56a
commit
5cc835e507
1 changed files with 4 additions and 2 deletions
|
@ -16,7 +16,7 @@ require("luci.model.uci")
|
||||||
require("luci.util")
|
require("luci.util")
|
||||||
|
|
||||||
m = Map("dhcp",
|
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 " ..
|
translate("With <abbr title=\"Dynamic Host Configuration Protocol\">DHCP</abbr> network " ..
|
||||||
"members can automatically receive their network settings (<abbr title=" ..
|
"members can automatically receive their network settings (<abbr title=" ..
|
||||||
"\"Internet Protocol\">IP</abbr>-address, netmask, <abbr title=\"Domain Name " ..
|
"\"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
|
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
|
dd.rmempty = false
|
||||||
function dd.cfgvalue(self, section)
|
function dd.cfgvalue(self, section)
|
||||||
return Flag.cfgvalue(self, section) or "1"
|
return Flag.cfgvalue(self, section) or "1"
|
||||||
|
|
Loading…
Reference in a new issue