X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fskin%2Fcommon.menu.tpl;h=afe97a0ee1ed4cdc0700567ddb3dab2c5c07cc28;hb=006819700381ba35f121b83b1c55828dd7b4d66e;hp=598d7fc0026ad0d70d8c3d9c9e5ded25280f706b;hpb=3eb25eb3c166163c6e86483e2e4e8330572ab2d1;p=platal.git diff --git a/templates/skin/common.menu.tpl b/templates/skin/common.menu.tpl index 598d7fc..afe97a0 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-2008 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -22,7 +22,7 @@ {if !$smarty.session.auth} - + @@ -39,9 +39,9 @@ {else} {if $smarty.session.auth == AUTH_MDP} - + {elseif $smarty.cookies.ORGaccess} - + {/if} @@ -50,30 +50,31 @@ - + - + - + - + - - + + + - + + - -{if $smarty.session.perms eq admin} +{if hasPerm('admin')} @@ -85,11 +86,15 @@ - +
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: *}