X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fskin%2Fcommon.menu.tpl;h=d069fe069b4af9b66db9533445746d65904b0d93;hb=bd5e6f71ea4059638b84fa15cdcc1ef16d4bf8eb;hp=f94473b38348cfd069324b59d2e904666e0b3a2f;hpb=93d42b4fcc6f055a428c9b63e386ac62c918d08a;p=platal.git diff --git a/templates/skin/common.menu.tpl b/templates/skin/common.menu.tpl index f94473b..d069fe0 100644 --- a/templates/skin/common.menu.tpl +++ b/templates/skin/common.menu.tpl @@ -45,28 +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} @@ -81,9 +99,33 @@ - +
+ {xsrf_token_field} + +
+
+ {xsrf_token_field} + +
Validations