X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fskin%2Fcommon.menu.tpl;h=d9e53a400ddfe9a620fee11e571b3656ebb2c622;hb=5b48ebf46ef939d701852d2117bbcf308036027c;hp=58004c897abc0fd47047f3a09341775c6ae47dab;hpb=b47cc6f09f0a001d1f00f4263d3b14b4eb4ce379;p=platal.git diff --git a/templates/skin/common.menu.tpl b/templates/skin/common.menu.tpl index 58004c8..d9e53a4 100644 --- a/templates/skin/common.menu.tpl +++ b/templates/skin/common.menu.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2010 Polytechnique.org *} +{* Copyright (C) 2003-2011 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -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