X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fskin%2Fcommon.menu.tpl;h=d069fe069b4af9b66db9533445746d65904b0d93;hb=bd5e6f71ea4059638b84fa15cdcc1ef16d4bf8eb;hp=47b9d29073b19ada108344c5d39c92ec4537dc2d;hpb=9e1816c7666767755abbc24f6a0df290efff81b6;p=platal.git diff --git a/templates/skin/common.menu.tpl b/templates/skin/common.menu.tpl index 47b9d29..d069fe0 100644 --- a/templates/skin/common.menu.tpl +++ b/templates/skin/common.menu.tpl @@ -45,29 +45,46 @@ {/if} +{if hasPerm('mail')} +{/if} +{if $smarty.session.user->hasProfile()} +{/if} +{if hasPerm('directory_private')} +{/if} +{if hasPerm('mail')} +{/if} +{if hasPerm('forums')} -{if $smarty.session.googleapps} +{/if} +{if $smarty.session.user->googleapps} {/if} +{if hasPerm('payment')} +{/if} +{if hasPerm('mail')} +{/if} - - +{if hasPerm('directory_private')} + +{/if} +{if hasPerm('groups')} +{/if} @@ -82,9 +99,33 @@ - +
+ {xsrf_token_field} + +
+
+ {xsrf_token_field} + +
Validations