summaryrefslogtreecommitdiffstats
path: root/app/acf-util/skins-read-html.lsp
blob: 3dc53f8cd13c778fd6fdf8bd60a7991b1d70b94b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<% local view, viewlibrary, page_info, session = ... %>
<% require("htmlviewfunctions") %>

<% htmlviewfunctions.displaycommandresults({"update"}, session) %>

<h1>Available skins</h1>

<DL>
<% for i,skin in ipairs(view.value) do %>
	<dt><%= html.html_escape(skin.value) %></dt>
	<% if (skin.inuse) then %>
		<dd>in use</dd>
	<% else %>
		<dd>[<a href="update?skin=<%= html.html_escape(skin.value) %>&submit=true">use this skin</a>]</dd>
	<% end %>
<% end %>
</DL>