X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fskin%2Fcommon.menu.tpl;h=58004c897abc0fd47047f3a09341775c6ae47dab;hb=b47cc6f09f0a001d1f00f4263d3b14b4eb4ce379;hp=afdb68139de278f80612eef672f9ed56d00d2dc1;hpb=6bb2f79ab56e5e7610ba311bbc9d20b1a10cc91b;p=platal.git diff --git a/templates/skin/common.menu.tpl b/templates/skin/common.menu.tpl index afdb681..58004c8 100644 --- a/templates/skin/common.menu.tpl +++ b/templates/skin/common.menu.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2009 Polytechnique.org *} +{* Copyright (C) 2003-2010 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -45,29 +45,44 @@ {/if} +{if $smarty.session.user->checkPerms('mail')} +{/if} +{if $smarty.session.user->hasProfile()} +{/if} +{if $smarty.session.user->checkPerms('directory_private')} +{/if} +{if $smarty.session.user->checkPerms('mail')} +{/if} +{if $smarty.session.user->checkPerms('forums')} -{if $smarty.session.googleapps} +{/if} +{if $smarty.session.user->googleapps} {/if} +{if $smarty.session.user->checkPerms('payment')} +{/if} - - +{if $smarty.session.user->checkPerms('directory_private')} + +{/if} +{if $smarty.session.user->checkPerms('groups')} +{/if} @@ -82,9 +97,33 @@ - +
+ {xsrf_token_field} + +
+
+ {xsrf_token_field} + +
Validations