diff options
author | Steven Barth <steven@midlink.org> | 2008-03-26 20:55:14 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-03-26 20:55:14 +0000 |
commit | 68d142e79287e9b5e9f980f37b546070a38fc478 (patch) | |
tree | 8d165ffd6e50795b7f140efb0e7ed7f103d2e47d /src/ffluci/view/cbi/tsection.htm | |
parent | 5f9910566de7165f4bb0ee62bc3ace53c708a94e (diff) |
* CBI update
* Added some configuration pages
* Introduced contact site
* Introduced luci UCI config file
Diffstat (limited to 'src/ffluci/view/cbi/tsection.htm')
-rw-r--r-- | src/ffluci/view/cbi/tsection.htm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ffluci/view/cbi/tsection.htm b/src/ffluci/view/cbi/tsection.htm index 26f8b198e8..9205095313 100644 --- a/src/ffluci/view/cbi/tsection.htm +++ b/src/ffluci/view/cbi/tsection.htm @@ -1,18 +1,18 @@ <div class="cbi-section" id="cbi-<%=self.config%>-<%=self.sectiontype%>"> <h2><%=self.title%></h2> <div class="cbi-section-descr"><%=self.description%></div> -<% for k, v in pairs(self:ucisections()) do%> +<% for k, v in pairs(self:cfgsections()) do%> <fieldset class="cbi-section-node" id="cbi-<%=self.config%>-<%=k%>"> - <% if not self.anonymous then %><legend><%=k%></legend><% end %> + <% if not self.anonymous then %><h3><%=k%></h3><% end %> <% self:render_children(k) %> - <% if #self.optionals > 0 or self.dynamic then %> + <% if #self.optionals[k] > 0 or self.dynamic then %> <div class="cbi-optionals"> <% if self.dynamic then %> <input type="text" name="cbi.opt.<%=self.config%>.<%=k%>" /> <% else %> <select name="cbi.opt.<%=self.config%>.<%=k%>"> - <option><%:cbi_selopt *** Zusätzliche Felder ***%></option> - <% for key, val in pairs(self.optionals) do %> + <option><%:cbi_selopt *** Zusätzliche Parameter ***%></option> + <% for key, val in pairs(self.optionals[k]) do %> <option value="<%=val.option%>"><%=val.title%></option> <% end %> </select> |