diff options
author | Steven Barth <steven@midlink.org> | 2008-03-28 10:01:37 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-03-28 10:01:37 +0000 |
commit | 7e9c97808d27443d6d02a163d9ef0a8bc295f396 (patch) | |
tree | 5f5687a4571d0ac41f8cededc99a39834e0865fb /src/ffluci/view/cbi/nsection.htm | |
parent | 729c6f0f033901eebc07d2e078920a35936a4fbb (diff) |
* Fixed templates to be XHTML 1.1 compliant
Diffstat (limited to 'src/ffluci/view/cbi/nsection.htm')
-rw-r--r-- | src/ffluci/view/cbi/nsection.htm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ffluci/view/cbi/nsection.htm b/src/ffluci/view/cbi/nsection.htm index c1f4c8bf3a..90dbb30414 100644 --- a/src/ffluci/view/cbi/nsection.htm +++ b/src/ffluci/view/cbi/nsection.htm @@ -17,12 +17,12 @@ <option><%:cbi_selopt *** Zusätzliche Parameter ***%></option> <% for key, val in pairs(self.optionals[self.section]) do %> <option id="cbi-<%=self.config.."-"..self.section.."-"..val.option%>" value="<%=val.option%>"><%=val.title%></option> - <% if #val.deps > 0 then %><script type="text/javascript"> - <% for j, d in ipairs(val.deps) do %>cbi_d_add("cbi-<%=self.config.."-"..self.section.."-"..val.option%>", "cbid.<%=self.config.."."..self.section.."."..d.field%>", "<%=d.value%>"); - <% end %> - </script><% end %> <% end %> </select> + <script type="text/javascript"><% for key, val in pairs(self.optionals[self.section]) do %> + <% if #val.deps > 0 then %><% for j, d in ipairs(val.deps) do %>cbi_d_add("cbi-<%=self.config.."-"..self.section.."-"..val.option%>", "cbid.<%=self.config.."."..self.section.."."..d.field%>", "<%=d.value%>"); + <% end %><% end %> + <% end %></script> <% end %> </div> <% end %> |