* luci/modules/admin-full: fix character encoding in package descriptions, fixes #121

This commit is contained in:
Jo-Philipp Wich 2008-09-07 20:12:24 +00:00
parent d8e11218b4
commit a8c64ef3b0

View file

@ -79,11 +79,11 @@ end
</tr>
<% for k, pkg in pairs(pkgs) do %>
<tr class="cbi-section-table-row cbi-rowstyle-<%=rowstyle()%>">
<td><%=pkg.Package%></td>
<td><%=pkg.Version%></td>
<td><%=luci.util.pcdata(pkg.Package)%></td>
<td><%=luci.util.pcdata(pkg.Version)%></td>
<td><% if not pkg.Status or not pkg.Status.installed then %><input type="checkbox" name="install.<%=pkg.Package%>" value="1" /><% else %><%:installed%><% end %></td>
<td><% if pkg.Status and pkg.Status.installed then %><input type="checkbox" name="remove.<%=pkg.Package%>" value="1" /><% else %><%:notinstalled%><% end %></td>
<td><%=pkg.Description%></td>
<td><%=luci.util.pcdata(pkg.Description)%></td>
</tr>
<% end %>
</table>