X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnet%2Fskin.tpl;h=86a88ecd320d1fbfe22f859db7df056bc33ef583;hb=76362eeb011de4f2cd7825f557643a72494475f9;hp=d8fbc0b5417ecdc3c43bb3b0c90829cdd87930e9;hpb=f00c59e87637652efbe095022bb5dedd595e0037;p=platal.git diff --git a/templates/xnet/skin.tpl b/templates/xnet/skin.tpl index d8fbc0b..86a88ec 100644 --- a/templates/xnet/skin.tpl +++ b/templates/xnet/skin.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2009 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,13 +41,6 @@ {include core=plpage.header.tpl} - - {javascript name=overlib} - {include file=skin/common.bandeau.head.tpl} {include core=plpage.devel.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,17 +110,19 @@ {/if} {/foreach} {/foreach} - {if $asso && ($is_admin || - ($smarty.session.suid && ($smarty.session.suid.perms->hasFlag('admin') || - $smarty.session.suid.may_update[$asso.id])))} -

Voir le site comme...

+ {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 || + ($suid && ($smarty.session.suid.perms->hasFlag('admin') || + $smarty.session.suid.may_update[$asso_id]))} +

Voir le site comme…

@@ -208,7 +204,7 @@ - signaler un bug {/if}
- Plat/al {#globals.version#} - © Copyright 2000-2009 Association Polytechnique.org + Plat/al {#globals.version#} - © Copyright 1999-2011 Association Polytechnique.org