X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fskin%2Fcommon.menu.tpl;h=d5eda4f8411f4e1055b72cdc09a145ee1ecbec7d;hb=5cfb3dd10421468779a740595b3e5e68aba9838e;hp=58004c897abc0fd47047f3a09341775c6ae47dab;hpb=b47cc6f09f0a001d1f00f4263d3b14b4eb4ce379;p=platal.git diff --git a/templates/skin/common.menu.tpl b/templates/skin/common.menu.tpl index 58004c8..d5eda4f 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} @@ -89,6 +91,7 @@ + @@ -117,7 +120,7 @@ Droits