X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fskin%2Fcommon.menu.tpl;h=5bb7c46f8a741808490598d662129ec6034f86db;hb=ea9cfc3e5b2ff56855a3a63f6526026b421b32c4;hp=bdf6fa13f3e224ca496a81e043d99b126ce3f300;hpb=cfabf45249675ac212d32d6d14b3df5228afc249;p=platal.git diff --git a/templates/skin/common.menu.tpl b/templates/skin/common.menu.tpl index bdf6fa1..5bb7c46 100644 --- a/templates/skin/common.menu.tpl +++ b/templates/skin/common.menu.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 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,16 +24,15 @@ - + - - + @@ -46,27 +45,46 @@ {/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} +{if $smarty.session.user->googleapps} + +{/if} +{if $smarty.session.user->checkPerms('lists')} +{/if} +{if $smarty.session.user->checkPerms('payment')} +{/if} - - - +{if $smarty.session.user->checkPerms('directory_private')} + +{/if} +{if $smarty.session.user->checkPerms('groups')} +{/if} @@ -74,21 +92,25 @@ - + -{if $smarty.session.perms->hasFlag('admin')} +{if hasPerm('admin')} - + - + - +
Valid
Validations
{insert name="mkStats"} + + {if $globals->core->NbValid|smarty:nodefaults eq 0}-{else}{$globals->core->NbValid|default:'-'}{/if} + +
{/if}