diff options
author | Ted Trask <ttrask01@yahoo.com> | 2009-12-21 16:46:20 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2009-12-21 16:46:20 +0000 |
commit | 4ebeb9d3bc2f123f93338bcc8b15ef1723d4eb35 (patch) | |
tree | c6eeb6038a2dfb3b6dbbae2dbd96852e9653755c /app/acf-util/roles-viewroles-html.lsp | |
parent | b5b8c138deb5d4b4216c9186e3d528792edc70b2 (diff) | |
download | acf-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.lsp | 10 |
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> |