X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnet%2Fskin.tpl;h=00b8fa8aa50118750b7d4570995453943ddfa8ae;hb=03bda5524bd16c5c160a314d42baefe0b3254c62;hp=d8fbc0b5417ecdc3c43bb3b0c90829cdd87930e9;hpb=f00c59e87637652efbe095022bb5dedd595e0037;p=platal.git diff --git a/templates/xnet/skin.tpl b/templates/xnet/skin.tpl index d8fbc0b..00b8fa8 100644 --- a/templates/xnet/skin.tpl +++ b/templates/xnet/skin.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2009 Polytechnique.org *} +{* Copyright (C) 2003-2010 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -40,12 +40,6 @@ {include core=plpage.header.tpl} - - {javascript name=overlib} {include file=skin/common.bandeau.head.tpl} @@ -64,10 +58,10 @@ Logo Assos - {if $xnet_type} + {if t($xnet_type)} Logo {$xnet_type} {else} - Logo {$xnet_type} + Logo institutions {/if} @@ -76,14 +70,14 @@ bandeau - {if $xnet_type} + {if t($xnet_type)} {$xnet_type} - {if $asso} + {if t($asso)} - {if $asso.site} - LOGO + {if t($asso->site)} + LOGO {else} LOGO {/if} @@ -116,10 +110,11 @@ {/if} {/foreach} {/foreach} - {if $asso && ($is_admin || + {assign var=asso_id value=$asso->id} + {if $asso && $is_admin || ($smarty.session.suid && ($smarty.session.suid.perms->hasFlag('admin') || - $smarty.session.suid.may_update[$asso.id])))} -

Voir le site comme...

+ $smarty.session.suid.may_update[$asso_id]))} +

Voir le site comme…