X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fskin%2Fcommon.menu.tpl;h=fe52c752022ef1fbdf95b265b904b35bfa28623b;hb=6c85148b00f7b0b8d4c39393069ddc97b657044a;hp=ec918a36ab5ed347f131597b38696316de376451;hpb=62a66dfc26089fb5c15f36617c40e82380c052f0;p=platal.git diff --git a/templates/skin/common.menu.tpl b/templates/skin/common.menu.tpl index ec918a3..fe52c75 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-2007 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,11 +20,11 @@ {* *} {**************************************************************************} -{only_public} +{if !$smarty.session.auth} - + - + @@ -32,11 +32,11 @@ - - - + + + -{/only_public} +{else} {if $smarty.session.auth == AUTH_MDP} @@ -54,41 +54,43 @@ - + + -{if $globals->geoloc->use_map()} -{/if} - - + + + - - - - -{perms level=admin} + + + +{if $smarty.session.perms eq admin} + - +
Valid
{insert name="mkStats"}{insert name="mkStats"}
-{/perms} +{/if} + +{/if} {* vim:set et sw=2 sts=2 sws=2: *}