projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
treewide: filter shell arguments through shellquote() where applicable
[project/luci.git]
/
modules
/
luci-mod-admin-full
/
luasrc
/
model
/
cbi
/
admin_network
/
wifi_add.lua
diff --git
a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi_add.lua
b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi_add.lua
index
d64d667
..
8277deb
100644
(file)
--- a/
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi_add.lua
+++ b/
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi_add.lua
@@
-16,7
+16,7
@@
if not iw then
return
end
return
end
-m = SimpleForm("network", translate("Joining Network: %q", http.formvalue("join")))
+m = SimpleForm("network", translate
f
("Joining Network: %q", http.formvalue("join")))
m.cancel = translate("Back to scan results")
m.reset = false
m.cancel = translate("Back to scan results")
m.reset = false
@@
-44,9
+44,9
@@
m.hidden = {
if iw and iw.mbssid_support then
replace = m:field(Flag, "replace", translate("Replace wireless configuration"),
if iw and iw.mbssid_support then
replace = m:field(Flag, "replace", translate("Replace wireless configuration"),
- translate("
An additional network will be created if you leave this unchecked
."))
+ translate("
Check this option to delete the existing networks from this radio
."))
- function replace.cfgvalue() return "
1
" end
+ function replace.cfgvalue() return "
0
" end
else
replace = m:field(DummyValue, "replace", translate("Replace wireless configuration"))
replace.default = translate("The hardware is not multi-SSID capable and the existing " ..
else
replace = m:field(DummyValue, "replace", translate("Replace wireless configuration"))
replace.default = translate("The hardware is not multi-SSID capable and the existing " ..