From: Steven Barth Date: Thu, 20 Mar 2008 20:34:44 +0000 (+0000) Subject: * CBI cleanup X-Git-Tag: 0.8.0~1206 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6e0df95e270dc0ee4c5d10e1d6ac2550f78ff54f;p=oweals%2Fluci.git * CBI cleanup --- diff --git a/src/ffluci/view/cbi/lvalue.htm b/src/ffluci/view/cbi/lvalue.htm index b7db0def9..eb2eac2fd 100644 --- a/src/ffluci/view/cbi/lvalue.htm +++ b/src/ffluci/view/cbi/lvalue.htm @@ -1,7 +1,7 @@
<%=self.title%>
-"> <%for k, v in self.list do%> <% end %> diff --git a/src/ffluci/view/cbi/nsection.htm b/src/ffluci/view/cbi/nsection.htm index 4607a872c..5badeca56 100644 --- a/src/ffluci/view/cbi/nsection.htm +++ b/src/ffluci/view/cbi/nsection.htm @@ -1,4 +1,4 @@ -
+

<%=self.title%>

<%=self.description%>
<% for k, node in ipairs(self.children) do node:render() end %> diff --git a/src/ffluci/view/cbi/tsection.htm b/src/ffluci/view/cbi/tsection.htm index 420bfd14a..8c7f0c115 100644 --- a/src/ffluci/view/cbi/tsection.htm +++ b/src/ffluci/view/cbi/tsection.htm @@ -7,11 +7,11 @@ for k, v in pairs(allsections) do end end %> -
+

<%=self.title%>

<%=self.description%>
<% for k, v in pairs(sections) do %> -
+
<% for k, node in ipairs(self.children) do node.section = k node:render(k) diff --git a/src/ffluci/view/cbi/value.htm b/src/ffluci/view/cbi/value.htm index a39010ac8..cc22c4e56 100644 --- a/src/ffluci/view/cbi/value.htm +++ b/src/ffluci/view/cbi/value.htm @@ -1,7 +1,7 @@
<%=self.title%>
-" value="<%=self:ucivalue()%>" /> +" value="<%=self:ucivalue()%>" />
<%=self.description%>
\ No newline at end of file