summaryrefslogtreecommitdiff
path: root/templates/menu_users.tpl
diff options
context:
space:
mode:
authorlsces <none@none>2012-06-07 23:14:22 +0100
committerlsces <none@none>2012-06-07 23:14:22 +0100
commit25e663034c1f54529aab4db69f202100fd7ffec5 (patch)
treecb6670afd4d87dee1ddf25bef02516ccae30b9c4 /templates/menu_users.tpl
parentdad3abfd5f49cb9bb12c6952e002679c6e7b7294 (diff)
downloadusers-25e663034c1f54529aab4db69f202100fd7ffec5.tar.gz
users-25e663034c1f54529aab4db69f202100fd7ffec5.tar.bz2
users-25e663034c1f54529aab4db69f202100fd7ffec5.zip
p_users_create_personal_roles is an alternate option for role components
Diffstat (limited to 'templates/menu_users.tpl')
-rw-r--r--templates/menu_users.tpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/menu_users.tpl b/templates/menu_users.tpl
index dc3b5d8..5d80d00 100644
--- a/templates/menu_users.tpl
+++ b/templates/menu_users.tpl
@@ -17,6 +17,9 @@
{if $gBitUser->hasPermission( 'p_users_create_personal_groups' )}
<li><a class="item" href="{$smarty.const.USERS_PKG_URL}my_groups.php">{biticon iname="preferences-desktop" iexplain="My Groups" ilocation=$location}</a></li>
{/if}
+ {if $gBitUser->hasPermission( 'p_users_create_personal_roles' )}
+ <li><a class="item" href="{$smarty.const.USERS_PKG_URL}my_roles.php">{biticon iname="preferences-desktop" iexplain="My Roles" ilocation=$location}</a></li>
+ {/if}
{if $gBitSystem->isFeatureActive( 'users_watches' )}
<li><a class="item" href="{$smarty.const.USERS_PKG_URL}watches.php">{biticon iname="weather-clear" iexplain="My Watches" ilocation=$location}</a></li>
{/if}