summaryrefslogtreecommitdiffstats
path: root/app/acf-util/roles-viewroles-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2009-12-21 16:46:20 +0000
committerTed Trask <ttrask01@yahoo.com>2009-12-21 16:46:20 +0000
commit4ebeb9d3bc2f123f93338bcc8b15ef1723d4eb35 (patch)
treec6eeb6038a2dfb3b6dbbae2dbd96852e9653755c /app/acf-util/roles-viewroles-html.lsp
parentb5b8c138deb5d4b4216c9186e3d528792edc70b2 (diff)
downloadacf-core-4ebeb9d3bc2f123f93338bcc8b15ef1723d4eb35.tar.bz2
acf-core-4ebeb9d3bc2f123f93338bcc8b15ef1723d4eb35.tar.xz
Modified permissions from controller:action to prefix/controller/action.
Had to move welcome to the acf-util prefix. Changed format of roles files: old ACF format will still work, but authenticator format won't.
Diffstat (limited to 'app/acf-util/roles-viewroles-html.lsp')
-rw-r--r--app/acf-util/roles-viewroles-html.lsp10
1 files changed, 6 insertions, 4 deletions
diff --git a/app/acf-util/roles-viewroles-html.lsp b/app/acf-util/roles-viewroles-html.lsp
index 3e818fb..68aac01 100644
--- a/app/acf-util/roles-viewroles-html.lsp
+++ b/app/acf-util/roles-viewroles-html.lsp
@@ -16,24 +16,26 @@
<H2>Existing roles</H2>
<DL>
+<TABLE>
<% if view.value.default_roles then %>
<% for x,role in pairs(view.value.default_roles.value) do %>
- <dt><img src='/skins/static/tango/16x16/categories/applications-system.png' height='16' width='16'> <%= html.html_escape(role) %></dt>
+ <TR><TD><dt><img src='/skins/static/tango/16x16/categories/applications-system.png' height='16' width='16'> <%= html.html_escape(role) %></dt>
<dd>
[<a href='viewroleperms?role=<%= html.html_escape(role) %>'>View this role</a>]
[<a href='editrole?role=<%= html.html_escape(role) %>&redir=<%= html.html_escape(page_info.orig_action) %>'>Edit this role</a>]
- </dd>
+ </dd></TD></TR>
<% end %>
<% end %>
<% if view.value.defined_roles then %>
<% table.sort(view.value.defined_roles.value) %>
<% for x,role in pairs(view.value.defined_roles.value) do %>
- <dt><img src='/skins/static/tango/16x16/apps/system-users.png' height='16' width='16'> <%= html.html_escape(role) %></dt>
+ <TR><TD><dt><img src='/skins/static/tango/16x16/apps/system-users.png' height='16' width='16'> <%= html.html_escape(role) %></dt>
<dd>
[<a href='viewroleperms?role=<%= html.html_escape(role) %>'>View this role</a>]
[<a href='editrole?role=<%= html.html_escape(role) %>&redir=<%= html.html_escape(page_info.orig_action) %>'>Edit this role</a>]
[<a href='deleterole?role=<%= html.html_escape(role) %>'>Delete this role</a>]
- </dd>
+ </dd></TD></TR>
<% end %>
<% end %>
+</TABLE>
</DL>