X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fskin%2Fcommon.menu.tpl;h=a5e627758caf79bb382331310b49fec84a049692;hb=007c44cb9f4f9233a886e60a89ebc088362e826a;hp=ec918a36ab5ed347f131597b38696316de376451;hpb=62a66dfc26089fb5c15f36617c40e82380c052f0;p=platal.git diff --git a/templates/skin/common.menu.tpl b/templates/skin/common.menu.tpl index ec918a3..a5e6277 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,28 +20,29 @@ {* *} {**************************************************************************} -{only_public} +{if !$smarty.session.auth} - + - + + - - - + + + -{/only_public} +{else} {if $smarty.session.auth == AUTH_MDP} - + {elseif $smarty.cookies.ORGaccess} - + {/if} @@ -50,45 +51,47 @@ - + - + - - + + + - + -{if $globals->geoloc->use_map()} - -{/if} - - - + + + + + - - - - -{perms level=admin} + + + +{if $smarty.session.perms->hasFlag('admin')} + - +
Valid
{insert name="mkStats"}{insert name="mkStats"}
-{/perms} +{/if} + +{/if} -{* vim:set et sw=2 sts=2 sws=2: *} +{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}