X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fskin%2Fcommon.menu.tpl;h=57b687a17ad18f647bb845ca667df5dc8f968187;hb=4d9b63f8ec02d84eabd554234a32718758bf9e21;hp=9b61516a35403a1fe74b7f92861b1b07d6328b33;hpb=1c0419d6b4c94643bfa7bed9a6b435bbdbbae02f;p=platal.git diff --git a/templates/skin/common.menu.tpl b/templates/skin/common.menu.tpl index 9b61516..57b687a 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} {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} + +
@@ -97,6 +139,13 @@
Validations
{/if} +{if hasPerm('edit_directory')} + + + + +{/if} + {/if} {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}