X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnet%2Fskin.tpl;h=da0beba7d9b5461fe1126e602a1e350fcaf34d8c;hb=91ebb7ff6485f03fcccfdf2142e997e44ee399b2;hp=cacb203e2c1a7fd96e48dc986b957190668d5f44;hpb=d4faa5a55b4ac4dff725ffdde6b5753eab63b1ce;p=platal.git diff --git a/templates/xnet/skin.tpl b/templates/xnet/skin.tpl index cacb203..da0beba 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 @@ + @@ -37,24 +38,30 @@ - {foreach from=$xorg_css item=css} + {foreach from=$pl_css item=css} {/foreach} + {foreach from=$pl_inline_css item=css} + + {/foreach} - {foreach from=$xorg_js item=js} + {foreach from=$pl_js item=js} {/foreach} - - - {if $xorg_rss} - + {javascript name=overlib} + + {if $pl_rss} + {/if} - {if $xorg_extra_header} - {$xorg_extra_header|smarty:nodefaults} + {if $pl_extra_header} + {$pl_extra_header|smarty:nodefaults} {/if}
- ![]() ![]() |
{if $xnet_type} @@ -90,7 +97,7 @@ | {if $xnet_type}
- ![]() ![]() |
{if $asso}
@@ -128,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}
-
-
{list_all_my_groups}
{if !$smarty.session.auth}
- Me connecter :
- polytechnicien
+ Me connecter :
+ polytechnicien
+ {if $platal->pl_self() neq 'exit'}
+
+ {/if}
{/if}
|
- {if $smarty.session.perms->hasFlag('admin')}
+ {if hasPerm('admin')}
Gérer les groupes
{icon name=wrench title="Administration"}
@@ -238,16 +222,16 @@
plan du site -
services proposés -
à propos de ce site -
- {mailto address="contact@polytechnique.org" text="nous contacter" encode="javascript"}
+ nous contacter
{if $smarty.session.auth}
- signaler un bug
{/if}
- © Copyright 2000-2007 Association Polytechnique.org + Plat/al {#globals.version#} - © Copyright 2000-2008 Association Polytechnique.org |
{/if}