X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fskin%2Fcommon.menu.tpl;h=afe97a0ee1ed4cdc0700567ddb3dab2c5c07cc28;hb=6df558fd292377086448b61b45da923f1e0c369d;hp=7b78f2f3a92851b318cac2b70a0dbfcbf5f72c12;hpb=93ee4187d13fd3636564aeb4ab11f18fbb4e23ea;p=platal.git diff --git a/templates/skin/common.menu.tpl b/templates/skin/common.menu.tpl index 7b78f2f..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,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 @@ - + - - + + + - + -{if $globals->geoloc->use_map} - -{/if} - - - + + + + + - - - + + + -{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: *}