X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fprofile%2Fprofile.tpl;h=0bd7392efb9ccdb6c0dccdaa54a81358d6280737;hb=baa62e58cdfb6839040e156ef91e2827bdde1600;hp=4b73b916aeba1c4eec1189eb27637826066dc734;hpb=794feea76e0979eba4e125bb91b7ea43680f26e0;p=platal.git diff --git a/templates/profile/profile.tpl b/templates/profile/profile.tpl index 4b73b91..0bd7392 100644 --- a/templates/profile/profile.tpl +++ b/templates/profile/profile.tpl @@ -69,7 +69,7 @@ function chgMainWinLoc(strPage) {icon name=cross title="Retirer de mes contacts"} {/if} - {if $smarty.session.perms->hasFlag('admin')} + {if hasPerm('admin')} {icon name=wrench title="administrer user"} {/if}