X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fskin%2Fcommon.menu.tpl;h=d069fe069b4af9b66db9533445746d65904b0d93;hb=bd5e6f71ea4059638b84fa15cdcc1ef16d4bf8eb;hp=58004c897abc0fd47047f3a09341775c6ae47dab;hpb=cecdf74795e71ed038411915dad5e0dff6ea51fa;p=platal.git diff --git a/templates/skin/common.menu.tpl b/templates/skin/common.menu.tpl index 58004c8..d069fe0 100644 --- a/templates/skin/common.menu.tpl +++ b/templates/skin/common.menu.tpl @@ -45,13 +45,13 @@ {/if} -{if $smarty.session.user->checkPerms('mail')} +{if hasPerm('mail')} {/if} {if $smarty.session.user->hasProfile()} {/if} -{if $smarty.session.user->checkPerms('directory_private')} +{if hasPerm('directory_private')} {/if} @@ -59,28 +59,30 @@ -{if $smarty.session.user->checkPerms('mail')} +{if hasPerm('mail')} {/if} -{if $smarty.session.user->checkPerms('forums')} +{if hasPerm('forums')} {/if} {if $smarty.session.user->googleapps} {/if} -{if $smarty.session.user->checkPerms('payment')} +{if hasPerm('payment')} {/if} +{if hasPerm('mail')} +{/if} -{if $smarty.session.user->checkPerms('directory_private')} +{if hasPerm('directory_private')} {/if} -{if $smarty.session.user->checkPerms('groups')} +{if hasPerm('groups')} {/if} @@ -117,7 +119,7 @@ Droits