X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=libs%2Fcbi%2Fluasrc%2Fview%2Fcbi%2Flvalue.htm;h=c6b54128f79e5aaf37d65e42906084c3b27c5d6d;hp=5108e85c48da0b9584a2ba839d5df4c65cf1a770;hb=ea9b377ec5585bc3a5745a485f84f3fba8a4935a;hpb=1d4196b3ff1bceaa858ffbee637bf212d5b5d428 diff --git a/libs/cbi/luasrc/view/cbi/lvalue.htm b/libs/cbi/luasrc/view/cbi/lvalue.htm index 5108e85c4..c6b54128f 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,7 +24,7 @@ $Id$ for i, key in pairs(self.keylist) do c = c + 1 %> - /> + /> ><%=self.vallist[i]%>
<% if c == self.size then c = 0 %>
<% end end %>