X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fskin%2Fcommon.menu.tpl;h=c26852e02a481b10aa26885cca8de18d51fb10e2;hb=01ab5780ddaab6adf864c576205905ac37dfbe65;hp=4965e51f3eaac18afcbb4b9aaebc30a428cb0c90;hpb=a7de4ef724d1a3b0bf978a50ce7cc9d23412c7a0;p=platal.git diff --git a/templates/skin/common.menu.tpl b/templates/skin/common.menu.tpl index 4965e51..c26852e 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 *} @@ -32,7 +32,7 @@ - + @@ -63,9 +63,9 @@ - - + + @@ -74,11 +74,11 @@ -{if $smarty.session.perms eq admin} +{if hasPerm('admin')} - + @@ -86,7 +86,11 @@ - +
Valid
{insert name="mkStats"} + + {if $globals->core->NbValid|smarty:nodefaults eq 0}-{else}{$globals->core->NbValid|default:'-'}{/if} + +
{/if}