X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fskin%2Fcommon.menu.tpl;h=d069fe069b4af9b66db9533445746d65904b0d93;hb=1c4a1d0a32c52851e9ffbbf585bb206c9a472dc9;hp=e7e00f9dcf12179bf6094bd430984df0dddb0014;hpb=2aa2c77aef77e0bfba275dfcb3b257a8f8d66ef1;p=platal.git diff --git a/templates/skin/common.menu.tpl b/templates/skin/common.menu.tpl index e7e00f9..d069fe0 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 *} @@ -24,7 +24,7 @@ - + @@ -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