X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fskin%2Fcommon.menu.tpl;h=d069fe069b4af9b66db9533445746d65904b0d93;hb=3c2a69dc96bae79936c677be7fb7554a43c555bc;hp=c26852e02a481b10aa26885cca8de18d51fb10e2;hpb=afada5eb6cf23005f775fbab0d421c27393172f1;p=platal.git diff --git a/templates/skin/common.menu.tpl b/templates/skin/common.menu.tpl index c26852e..d069fe0 100644 --- a/templates/skin/common.menu.tpl +++ b/templates/skin/common.menu.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2008 Polytechnique.org *} +{* Copyright (C) 2003-2010 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -24,7 +24,7 @@ - + @@ -45,26 +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} @@ -72,19 +92,43 @@ - + {if hasPerm('admin')} - +
+ {xsrf_token_field} + +
+
+ {xsrf_token_field} + +
- +
Valid
Validations