X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnet%2Fskin.tpl;h=a62d9d403d61be2a443fc9cdd19707be72dcc4fc;hb=6337709ae1d9f27bd6493cbe793e1e06b4d71de8;hp=f68bf83ab53d0b674c07abd73678bbbea324b2e8;hpb=9b2e77ded6d273098cd207588fccd85240c96d55;p=platal.git diff --git a/templates/xnet/skin.tpl b/templates/xnet/skin.tpl index f68bf83..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 *} @@ -27,6 +27,7 @@ + @@ -40,10 +41,20 @@ {foreach from=$xorg_css item=css} {/foreach} + {foreach from=$xorg_inline_css item=css} + + {/foreach} + {foreach from=$xorg_js item=js} {/foreach} - + {javascript name=overlib} {if $xorg_rss} @@ -69,7 +80,7 @@
- + | {if $xnet_type} @@ -86,7 +97,7 @@ | {if $xnet_type}- + | {if $asso}
@@ -124,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}
-
- |||||||||||
|