From 68d142e79287e9b5e9f980f37b546070a38fc478 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Wed, 26 Mar 2008 20:55:14 +0000 Subject: * CBI update * Added some configuration pages * Introduced contact site * Introduced luci UCI config file --- src/ffluci/view/cbi/lvalue.htm | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/ffluci/view/cbi/lvalue.htm') diff --git a/src/ffluci/view/cbi/lvalue.htm b/src/ffluci/view/cbi/lvalue.htm index abe5080174..f2a5ff9750 100644 --- a/src/ffluci/view/cbi/lvalue.htm +++ b/src/ffluci/view/cbi/lvalue.htm @@ -1,20 +1,18 @@
-
-
<%=self.title%>
-
<%=self.description%>
-
+
<%=self.title%>
+
<%=self.description%>
<% if self.widget == "select" then %> <% elseif self.widget == "radio" then local c = 0; for i, key in pairs(self.keylist) do c = c + 1%> - <%=self.vallist[i]%>"<% if self:ucivalue(section) == key then %> checked="checked"<% end %> value="<%=key%>" /> + <%=self.vallist[i]%>"<% if self:cfgvalue(section) == key then %> checked="checked"<% end %> value="<%=key%>" /> <% if c == self.size then c = 0 %>
<% end end %> <% end %> -- cgit v1.2.3