X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnet%2Fskin.tpl;h=00b8fa8aa50118750b7d4570995453943ddfa8ae;hb=94660e07a1ce471189edfb411d3e86e9be577220;hp=9326e032606f8ba2c90acd4769a66008c5966900;hpb=4f247453ac4a734953df893117b72168c60dd22e;p=platal.git diff --git a/templates/xnet/skin.tpl b/templates/xnet/skin.tpl index 9326e03..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,13 +70,13 @@ bandeau - {if $xnet_type} + {if t($xnet_type)} {$xnet_type} - {if $asso} + {if t($asso)} - {if $asso->site} + {if t($asso->site)} LOGO {else} LOGO @@ -116,10 +110,11 @@ {/if} {/foreach} {/foreach} - {if $asso && $is_admin} {* WARN: this breaks "see the site as" || + {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…