X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fskin%2Fcommon.menu.tpl;h=c26852e02a481b10aa26885cca8de18d51fb10e2;hb=01ab5780ddaab6adf864c576205905ac37dfbe65;hp=83d1fcc52c23fa143c36008df1fe962106ad40d5;hpb=af3f07c5b62a4deed058149c33a5129fce20f47b;p=platal.git diff --git a/templates/skin/common.menu.tpl b/templates/skin/common.menu.tpl index 83d1fcc..c26852e 100644 --- a/templates/skin/common.menu.tpl +++ b/templates/skin/common.menu.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2006 Polytechnique.org *} +{* Copyright (C) 2003-2008 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,16 +32,16 @@ - + {else} {if $smarty.session.auth == AUTH_MDP} - + {elseif $smarty.cookies.ORGaccess} - + {/if} @@ -50,45 +50,51 @@ - + - - + + + - + - - + + + - + + - - -{include file=skin/common.bug.tpl} + -{if $smarty.session.perms eq admin} +{if hasPerm('admin')} - + + - +
Valid
{insert name="mkStats"} + + {if $globals->core->NbValid|smarty:nodefaults eq 0}-{else}{$globals->core->NbValid|default:'-'}{/if} + +
{/if} {/if} -{* vim:set et sw=2 sts=2 sws=2: *} +{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}