X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fskin%2Fcommon.menu.tpl;h=afe97a0ee1ed4cdc0700567ddb3dab2c5c07cc28;hb=6df558fd292377086448b61b45da923f1e0c369d;hp=1904db53bff14257c95b87bd9d6f741c6f1eabd7;hpb=62ce63564d487017774014ae0c2ac5fac347dbb8;p=platal.git diff --git a/templates/skin/common.menu.tpl b/templates/skin/common.menu.tpl index 1904db5..afe97a0 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,7 +22,7 @@ {if !$smarty.session.auth} - + @@ -39,9 +39,9 @@ {else} {if $smarty.session.auth == AUTH_MDP} - + {elseif $smarty.cookies.ORGaccess} - + {/if} @@ -50,47 +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: *}