X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnet%2Fskin.tpl;h=a62d9d403d61be2a443fc9cdd19707be72dcc4fc;hb=6337709ae1d9f27bd6493cbe793e1e06b4d71de8;hp=591182f5c1e80ccbef5cc300a26a9dc8f897a943;hpb=0deaff1d2c41b63bf9ea3fc39c4d9131cab61569;p=platal.git diff --git a/templates/xnet/skin.tpl b/templates/xnet/skin.tpl index 591182f..a62d9d4 100644 --- a/templates/xnet/skin.tpl +++ b/templates/xnet/skin.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2006 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,34 +19,42 @@ {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} {* *} {**************************************************************************} - - - -
-- + | {if $xnet_type} @@ -89,7 +97,7 @@ | {if $xnet_type}- + | {if $asso}@@ -102,7 +110,7 @@ {/if} {else} |
-
+
@@ -127,49 +135,25 @@
{/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.suid.may_update[$asso.id])} - | - {/if} - {include file="skin/common.content.tpl"}||||||||||
|