summaryrefslogtreecommitdiffstats
path: root/app/acf-util/roles-html.lsp
diff options
context:
space:
mode:
authorMika Havela <mika.havela@gmail.com>2009-10-07 10:28:58 +0200
committerMika Havela <mika.havela@gmail.com>2009-10-07 10:28:58 +0200
commit1c0053ed4c338bc2b1447785c8b616be4249e980 (patch)
treece228e03188cd6fa5d71068ec151d82ce24bf5db /app/acf-util/roles-html.lsp
parentfae75ca1c1fa8c01bfab088e0ee2ca7c2c8f2a13 (diff)
downloadacf-core-1c0053ed4c338bc2b1447785c8b616be4249e980.tar.bz2
acf-core-1c0053ed4c338bc2b1447785c8b616be4249e980.tar.xz
Graphical fixes - Fixing <DL> trouble that causes other skins to look strange.
Diffstat (limited to 'app/acf-util/roles-html.lsp')
-rw-r--r--app/acf-util/roles-html.lsp6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/acf-util/roles-html.lsp b/app/acf-util/roles-html.lsp
index 41ebcc3..090421f 100644
--- a/app/acf-util/roles-html.lsp
+++ b/app/acf-util/roles-html.lsp
@@ -14,9 +14,11 @@
<% if view.value.roles then %>
<H2><%= html.html_escape(view.value.userid.value) %> is valid in these roles</H2>
+ <DL>
<% for a,b in pairs(view.value.roles.value) do
- print("<li>",html.html_escape(b),"</li>")
+ print("<dt>",html.html_escape(b),"</dt><dd>&nbsp;</dd>")
end %>
+ </DL>
<% end %>
<% --]] %>
@@ -27,6 +29,7 @@
<% elseif view.value.role then %>
<H2><%= html.html_escape(view.value.role.value) %>'s full permissions are</H2>
<% end %>
+ <DL>
<% local controllers = {}
-- It's nice to have it in alphabetical order
for cont in pairs(view.value.permissions.value) do
@@ -50,5 +53,6 @@
end
io.write("</TABLE>")
%>
+ </DL>
<% end %>
<% --]] %>