X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnet%2Fskin.tpl;h=f1339870ef5a206b7d6838f369239640e315c907;hb=950a769bb3f3154de64960ffc5cac111263bc8b0;hp=c55b59abc4041f6b37fca4d3ec226cfe592dd31f;hpb=59d63e1a9b32ba33ada8972839c4bb781677358b;p=platal.git diff --git a/templates/xnet/skin.tpl b/templates/xnet/skin.tpl index c55b59a..f133987 100644 --- a/templates/xnet/skin.tpl +++ b/templates/xnet/skin.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2006 Polytechnique.org *} +{* Copyright (C) 2003-2009 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -19,48 +19,37 @@ {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} {* *} {**************************************************************************} - - - -
-- + | {if $xnet_type} @@ -89,7 +78,7 @@ | {if $xnet_type}- + | {if $asso}@@ -102,7 +91,7 @@ {/if} {else} |
-
+
@@ -127,62 +116,38 @@
{/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"} + {include core=plpage.content.tpl}||||||||||
- {include file="skin/common.content.tpl"} + {include core=plpage.content.tpl} | |||||||||||||||
|