X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fxnet%2Fskin.tpl;h=bbdc9af27d115acda58e2ac7eb01dd86bb9e5698;hb=24cfa984cc0d84c3b636891f792e3e50559fb42b;hp=237876681dfbb942394425cef5bbb5696c36f948;hpb=19413120e7b787f9e16f7ee1e81c6ea62eaa0acd;p=platal.git
diff --git a/templates/xnet/skin.tpl b/templates/xnet/skin.tpl
index 2378766..bbdc9af 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,30 +38,33 @@
- {foreach from=$xorg_css item=css}
+ {foreach from=$pl_css item=css}
{/foreach}
- {foreach from=$xorg_inline_css item=css}
+ {foreach from=$pl_inline_css item=css}
{/foreach}
+ {foreach from=$pl_link item=link}
+
+ {/foreach}
- {foreach from=$xorg_js item=js}
+ {foreach from=$pl_js item=js}
{/foreach}
{javascript name=overlib}
- {if $xorg_rss}
-
+ {if $pl_rss}
+
{/if}
- {if $xorg_extra_header}
- {$xorg_extra_header|smarty:nodefaults}
+ {if $pl_extra_header}
+ {$pl_extra_header|smarty:nodefaults}
{/if}
Les associations polytechniciennes
@@ -96,7 +100,7 @@
{if $xnet_type}
-
+
|
{if $asso}
@@ -123,7 +127,7 @@
{if $menu && !$simple}
|
-
-
- {if $asso && ($is_admin || $smarty.session.suid.perms eq 'admin' || $smarty.session.suid.may_update[$asso.id])}
-
- {/if}
- X.net »
- {if $asso}
- {$asso.cat|cat_pp} »
- {if $asso.dom}
- {$asso.domnom} »
- {/if}
- {$asso.nom}
- {elseif $cat}
- {$cat|cat_pp} »
- {if $dom || !$doms}
- {if $cat eq 'promotions'}
- Choix de la promotion
- {else}
- Choix de l'Asso
- {/if}
- {else}
- Choix du domaine
- {/if}
- {elseif $wikipage}
- Documentation
+ {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}
|
-
-
{include file="skin/common.content.tpl"}
|
@@ -216,16 +194,15 @@
{list_all_my_groups}
{if !$smarty.session.auth}
- Me connecter :
+ Me connecter :
polytechnicien
{if $platal->pl_self() neq 'exit'}
- {javascript name=jquery}
-
+
{/if}
{/if}
|
- {if $smarty.session.perms->hasFlag('admin')}
+ {if hasPerm('admin')}
Gérer les groupes
{icon name=wrench title="Administration"}
@@ -248,16 +225,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}
- -
+ -
{/if}
- © Copyright 2000-2007 Association Polytechnique.org
+ Plat/al {#globals.version#} - © Copyright 2000-2008 Association Polytechnique.org
|
{/if}
-