X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=libs%2Fcbi%2Fluasrc%2Fview%2Fcbi%2Flvalue.htm;h=a6fd18f4ffdc8d0ea339d942d81de11a0021258f;hp=5108e85c48da0b9584a2ba839d5df4c65cf1a770;hb=bda237d0fdb070a6703e529d801adbf40205f47d;hpb=1d4196b3ff1bceaa858ffbee637bf212d5b5d428 diff --git a/libs/cbi/luasrc/view/cbi/lvalue.htm b/libs/cbi/luasrc/view/cbi/lvalue.htm index 5108e85c4..a6fd18f4f 100644 --- a/libs/cbi/luasrc/view/cbi/lvalue.htm +++ b/libs/cbi/luasrc/view/cbi/lvalue.htm @@ -14,9 +14,9 @@ $Id$ -%> <%+cbi/valueheader%> <% if self.widget == "select" then %> - > <% for i, key in pairs(self.keylist) do -%> - ><%=luci.util.pcdata(self.vallist[i])%> + <%- end %> <% elseif self.widget == "radio" then @@ -24,8 +24,8 @@ $Id$ for i, key in pairs(self.keylist) do c = c + 1 %> - /> - ><%=self.vallist[i]%>
+ /> + ><%=self.vallist[i]%> <% if c == self.size then c = 0 %>
<% end end %> <% end %>