X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fskin%2Fcommon.menu.tpl;h=f93a58eac201c93c91c8f8c73dc3f94983349c4b;hb=04d555914c7f971273acd5875fc7af570bce9ad5;hp=5e83bcdea21d76070119dd3f04dc4b81ca5e6298;hpb=db0873ff714a70d3a0bc033ca7b83cd65896536b;p=platal.git diff --git a/templates/skin/common.menu.tpl b/templates/skin/common.menu.tpl index 5e83bcd..f93a58e 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} - + @@ -32,16 +32,16 @@ - + {else} {if $smarty.session.auth == AUTH_MDP} - + {elseif $smarty.cookies.ORGaccess} - + {/if} @@ -50,35 +50,38 @@ - + +{if $smarty.session.googleapps} + +{/if} - + - + - + - - + + + - + + - -{include file=skin/common.bug.tpl} -{if $smarty.session.perms eq admin} +{if hasPerm('admin')} - + @@ -86,11 +89,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: *}