X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnet%2Fskin.tpl;h=e0ce81c73e59654033c837e525f2c3c729dccdde;hb=9a13e83f4b39c7feaba924b724fd43497109481b;hp=b8a29af3da2270650e791a5f8085e2f77147e947;hpb=cecdf74795e71ed038411915dad5e0dff6ea51fa;p=platal.git diff --git a/templates/xnet/skin.tpl b/templates/xnet/skin.tpl index b8a29af..e0ce81c 100644 --- a/templates/xnet/skin.tpl +++ b/templates/xnet/skin.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2010 Polytechnique.org *} +{* Copyright (C) 2003-2011 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -30,7 +30,8 @@ - + + @@ -40,7 +41,6 @@ {include core=plpage.header.tpl} - {include file=skin/common.bandeau.head.tpl} {include core=plpage.devel.tpl} @@ -112,7 +112,7 @@ {/foreach} {if t($asso)}{assign var=asso_id value=$asso->id}{/if} {if t($smarty.session.suid)}{assign var=suid value=true}{else}{assign var=suid value=false}{/if} - {if $asso && $is_admin || + {if t($asso) && $is_admin || ($suid && ($smarty.session.suid.perms->hasFlag('admin') || $smarty.session.suid.may_update[$asso_id]))}

Voir le site comme…

@@ -120,9 +120,9 @@
@@ -168,11 +168,9 @@ {list_all_my_groups} {if !$smarty.session.auth} -
Me connecter :
- polytechnicien - {if $platal->pl_self() neq 'exit'} - - {/if} +
+ Connexion +
{/if} @@ -204,7 +202,7 @@ - signaler un bug {/if}
- Plat/al {#globals.version#} - © Copyright 1999-2010 Association Polytechnique.org + Plat/al {#globals.version#} - © Copyright 1999-2011 Association Polytechnique.org
Liste1 Liste2