X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnet%2Fskin.tpl;h=a62d9d403d61be2a443fc9cdd19707be72dcc4fc;hb=646a45825d19a33e2fcafe7ad5ddd773eea0df46;hp=0a7a655d77af91e31bcf359f6b5a6ce8e302ab62;hpb=493b6abebf3d6c35691f66fd1bfdc063efaab576;p=platal.git diff --git a/templates/xnet/skin.tpl b/templates/xnet/skin.tpl index 0a7a655..a62d9d4 100644 --- a/templates/xnet/skin.tpl +++ b/templates/xnet/skin.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 Polytechnique.org *} +{* Copyright (C) 2003-2008 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -19,17 +19,15 @@ {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} {* *} {**************************************************************************} - - - -
-
- ![]() ![]() |
{if $xnet_type} @@ -89,7 +97,7 @@ | {if $xnet_type}
- ![]() ![]() |
{if $asso}
@@ -127,52 +135,26 @@
{/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} |
- {if $asso && ($is_admin || $smarty.session.suid.perms eq 'admin' || $smarty.session.suid.may_update[$asso.id])}
-
{include file="skin/common.content.tpl"}
-
|
- {/if}
-
- |||||||||||
![]() | |||||||||||||||
![]() | |||||||||||||||
|