diff options
author | Steven Barth <steven@midlink.org> | 2009-11-29 13:46:04 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2009-11-29 13:46:04 +0000 |
commit | e822874a710a00ee8b6de988ece12ba76e193236 (patch) | |
tree | 3d58aa56031e0cebbbe2749485cda9e7241f7f76 /libs/cbi/luasrc | |
parent | 2aa4534db4c01851fa38293766f326cf4089c032 (diff) |
NIU:
Add WDS bridge client mode
Extending / repeating WDS network in AP wizard
Better 802.11s support
Diffstat (limited to 'libs/cbi/luasrc')
-rw-r--r-- | libs/cbi/luasrc/view/cbi/full_valuefooter.htm | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/libs/cbi/luasrc/view/cbi/full_valuefooter.htm b/libs/cbi/luasrc/view/cbi/full_valuefooter.htm index e1174e250..c069b7f92 100644 --- a/libs/cbi/luasrc/view/cbi/full_valuefooter.htm +++ b/libs/cbi/luasrc/view/cbi/full_valuefooter.htm @@ -54,8 +54,16 @@ $Id$ cbi_d_add("cbi-<%=self.config.."-"..section.."-"..self.option..d.add%>", { <%- for k,v in pairs(d.deps) do + local depk + if k:find("!", 1, true) then + depk = string.format('"%s"', k) + elseif k:find(".", 1, true) then + depk = string.format('"cbid.%s"', k) + else + depk = string.format('"cbid.%s.%s.%s"', self.config, section, k) + end -%> - <%-=string.format('"cbid.%s.%s.%s"', self.config, section, k) .. ":" .. string.format("%q", v)-%> + <%-= depk .. ":" .. string.format("%q", v)-%> <%-if next(d.deps, k) then-%>,<%-end-%> <%- end |