From 077db659bbcb7cee6bbc4c4dbaed9776261190a0 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Thu, 27 Mar 2008 23:14:01 +0000 Subject: * Major CBI improvements --- src/ffluci/view/cbi/tsection.htm | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'src/ffluci/view/cbi/tsection.htm') diff --git a/src/ffluci/view/cbi/tsection.htm b/src/ffluci/view/cbi/tsection.htm index 9205095313..15272f05f6 100644 --- a/src/ffluci/view/cbi/tsection.htm +++ b/src/ffluci/view/cbi/tsection.htm @@ -2,8 +2,11 @@

<%=self.title%>

<%=self.description%>
<% for k, v in pairs(self:cfgsections()) do%> -
+ <% if self.addremove then %>
+ +
<% end %> <% if not self.anonymous then %>

<%=k%>

<% end %> +
<% self:render_children(k) %> <% if #self.optionals[k] > 0 or self.dynamic then %>
@@ -11,19 +14,19 @@ <% else %> <% end %> - +
<% end %> -
- <% if self.addremove then %> - - <% end %>

<% end %> -- cgit v1.2.3