summaryrefslogtreecommitdiff
path: root/templates/my_roles_list.tpl
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2012-08-06 01:38:33 +0100
committerlsces <lester@lsces.co.uk>2012-08-06 01:38:33 +0100
commit1412330c3d9129b1bc7ffee29740918a678cb4e5 (patch)
tree2d17a2ea2784253d230cd94660fb1222ac1a1e75 /templates/my_roles_list.tpl
parentb0801e9c054b712a8fd4adc45212b9fbb319eef9 (diff)
downloadusers-1412330c3d9129b1bc7ffee29740918a678cb4e5.tar.gz
users-1412330c3d9129b1bc7ffee29740918a678cb4e5.tar.bz2
users-1412330c3d9129b1bc7ffee29740918a678cb4e5.zip
Current role model configuration code
ROLE_MODEL define is used to enable the role model mode and when not set should not affect group mode. Requests have been made for BOTH role and group, but I think that currently the two are mutually exclusive, so we probably need to review the group package.
Diffstat (limited to 'templates/my_roles_list.tpl')
-rw-r--r--templates/my_roles_list.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/my_roles_list.tpl b/templates/my_roles_list.tpl
index 6fc495d..53e9be5 100644
--- a/templates/my_roles_list.tpl
+++ b/templates/my_roles_list.tpl
@@ -116,7 +116,7 @@
<td class="actionicon">
<a href="{$smarty.const.USERS_PKG_URL}my_roles.php?role_id={$roleId}">{biticon ipackage="icons" iname="accessories-text-editor" iexplain="edit"}</a>
- {if $roleId ne -1}{* sorry for hardcoding, really need php define ANONYMOUS_ROLE_ID - spiderr *}
+ {if $roleId ne -1}{* sorry for hardcoding, really need php define ANONYMOUS_TEAM_ID - spiderr *}
<a href="{$smarty.const.USERS_PKG_URL}my_roles.php?offset={$offset}&amp;sort_mode={$sort_mode}&amp;action=delete&amp;role_id={$roleId}"
onclick="return confirm('{tr}Are you sure you want to delete this role?{/tr}')">{biticon ipackage="icons" iname="edit-delete" iexplain="Delete Role"}</a>
{/if}