X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fskin%2Fcommon.menu.tpl;h=5bb7c46f8a741808490598d662129ec6034f86db;hb=c76545c351fae4e2298624ff9ee5bf854dc5a5b6;hp=5e83bcdea21d76070119dd3f04dc4b81ca5e6298;hpb=db0873ff714a70d3a0bc033ca7b83cd65896536b;p=platal.git diff --git a/templates/skin/common.menu.tpl b/templates/skin/common.menu.tpl index 5e83bcd..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 *} @@ -22,9 +22,9 @@ {if !$smarty.session.auth}
- + - + @@ -32,65 +32,89 @@ - + {else} {if $smarty.session.auth == AUTH_MDP} - + {elseif $smarty.cookies.ORGaccess} - + {/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} + - + + - - -{include file=skin/common.bug.tpl} + -{if $smarty.session.perms eq admin} +{if hasPerm('admin')} - +Valid | |
---|---|
Validations | |
{insert name="mkStats"} | ++ + {if $globals->core->NbValid|smarty:nodefaults eq 0}-{else}{$globals->core->NbValid|default:'-'}{/if} + + |