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/nsection.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/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 80dcefc07c..7615104ad7 100644 --- a/src/ffluci/view/cbi/nsection.htm +++ b/src/ffluci/view/cbi/nsection.htm @@ -1,17 +1,17 @@ -<% if self:ucivalue(self.section) then %> +<% if self:cfgvalue(self.section) then %> <div class="cbi-section" id="cbi-<%=self.config%>-<%=self.section%>"> <h2><%=self.title%></h2> <div class="cbi-section-descr"><%=self.description%></div> <fieldset class="cbi-section-node"> <% self:render_children(self.section) %> - <% if #self.optionals > 0 or self.dynamic then %> + <% if #self.optionals[self.section] > 0 or self.dynamic then %> <div class="cbi-optionals"> <% if self.dynamic then %> <input type="text" name="cbi.opt.<%=self.config%>.<%=self.section%>" /> <% else %> <select name="cbi.opt.<%=self.config%>.<%=self.section%>"> - <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[self.section]) do %> <option value="<%=val.option%>"><%=val.title%></option> <% end %> </select> |