X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fskin%2Fcommon.menu.tpl;h=3ef2d7843266bee0e2994450cce74e1f78a57de5;hb=8b8d8e64be3a5fe9fe38a5b23c12cd1aa8529bdd;hp=d5eda4f8411f4e1055b72cdc09a145ee1ecbec7d;hpb=956cd5c10a027f75283d91545a5d5feeed1874ef;p=platal.git diff --git a/templates/skin/common.menu.tpl b/templates/skin/common.menu.tpl index d5eda4f..3ef2d78 100644 --- a/templates/skin/common.menu.tpl +++ b/templates/skin/common.menu.tpl @@ -38,7 +38,7 @@ {else} -{if $smarty.session.auth == AUTH_MDP} +{if $smarty.session.auth == AUTH_PASSWD} {elseif $smarty.cookies.ORGaccess} @@ -68,9 +68,8 @@ {if $smarty.session.user->googleapps} {/if} +{if hasPerm('user')} -{if hasPerm('payment')} - {/if} {if hasPerm('mail')} @@ -79,6 +78,9 @@ +{if hasPerm('directory_private,edit_directory')} + +{/if} {if hasPerm('directory_private')} {/if} @@ -86,12 +88,19 @@ {/if} +{if hasPerm('directory_private') && $smarty.session.user->hasProfile()} + {assign var='profile' value=$smarty.session.user->profile()} + {if $profile->isDeltaTenEnabled(#Profile::DELTATEN_YOUNG#)} + + {/if} +{/if} +