X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnet%2Fskin.tpl;h=f1339870ef5a206b7d6838f369239640e315c907;hb=8e183049a7e67e8906e56c7261e6185567c67c3d;hp=fba46542da9a6a55318b110c974616112315b03f;hpb=bf517dafc122edf6ccd86847f0626cfd0df9f340;p=platal.git diff --git a/templates/xnet/skin.tpl b/templates/xnet/skin.tpl index fba4654..f133987 100644 --- a/templates/xnet/skin.tpl +++ b/templates/xnet/skin.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 Polytechnique.org *} +{* Copyright (C) 2003-2009 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -27,8 +27,10 @@ + + @@ -37,27 +39,17 @@ - {foreach from=$xorg_css item=css} - - {/foreach} - {foreach from=$xorg_js item=js} - - {/foreach} - - - {if $xorg_rss} - - {/if} - - {if $xorg_extra_header} - {$xorg_extra_header|smarty:nodefaults} - {/if} - -
- ![]() ![]() |
{if $xnet_type} @@ -86,7 +78,7 @@ | {if $xnet_type}
- ![]() ![]() |
{if $asso}
@@ -124,64 +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.session.suid.may_update[$asso.id])}
-
- {include file="skin/common.content.tpl"}
-
+ {include core=plpage.content.tpl}
|
- {/if}
-
- |||||||||||
- {include file="skin/common.content.tpl"} + {include core=plpage.content.tpl} | |||||||||||||||
![]() | |||||||||||||||
![]() | |||||||||||||||
|