X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fskin%2Fcommon.menu.tpl;h=d9e53a400ddfe9a620fee11e571b3656ebb2c622;hb=5b48ebf46ef939d701852d2117bbcf308036027c;hp=f73cfb83c7236f5e3d8ff4c069e8a624fd58fde1;hpb=9891bd15f772caef0c199a98f036e976bf4ab94a;p=platal.git diff --git a/templates/skin/common.menu.tpl b/templates/skin/common.menu.tpl index f73cfb8..d9e53a4 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-2011 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -24,7 +24,7 @@
- + @@ -45,29 +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} @@ -82,9 +99,33 @@ - + +Validations |
---|