From: <mar...@us...> - 2009-11-20 14:42:22
|
Revision: 23401 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=23401&view=rev Author: marclaporte Date: 2009-11-20 14:42:03 +0000 (Fri, 20 Nov 2009) Log Message: ----------- [FIX] Only link to a group if you have permissions. Modified Paths: -------------- branches/4.x/templates/tiki-adminusers.tpl Modified: branches/4.x/templates/tiki-adminusers.tpl =================================================================== --- branches/4.x/templates/tiki-adminusers.tpl 2009-11-20 14:07:11 UTC (rev 23400) +++ branches/4.x/templates/tiki-adminusers.tpl 2009-11-20 14:42:03 UTC (rev 23401) @@ -172,7 +172,13 @@ {icon _id='bullet_white'} {/if} {if $what eq 'included'}<i>{/if} - <a class="link" {$link_style} href="tiki-admingroups.php?group={$grs|escape:"url"}" title={if $what eq 'included'}"{tr}Edit Included Group{/tr}"{else}"{tr}Edit Group:{/tr} {$grs|escape}"{/if}>{$grs|escape}</a> + {if $tiki_p_admin eq 'y'} + <a class="link" {$link_style} href="tiki-admingroups.php?group={$grs|escape:"url"}" title={if $what eq 'included'}"{tr}Edit Included Group{/tr}"{else}"{tr}Edit Group:{/tr} {$grs|escape}"{/if}> + {/if} + {$grs|escape} + {if $tiki_p_admin eq 'y'} + </a> + {/if} {if $what eq 'included'}</i>{/if} {if $grs eq $users[user].default_group}<small>({tr}default{/tr})</small>{/if} {if !$smarty.foreach.gr.last}<br />{/if} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |