X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnet%2Fskin.tpl;h=a62d9d403d61be2a443fc9cdd19707be72dcc4fc;hb=6337709ae1d9f27bd6493cbe793e1e06b4d71de8;hp=e272e7a1b55cf6e9e4eeb7698b2d38919c2da4cb;hpb=5721c9a3eea688dfd3d8588c1e0770f94ce635c7;p=platal.git diff --git a/templates/xnet/skin.tpl b/templates/xnet/skin.tpl index e272e7a..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,7 +41,13 @@ {foreach from=$xorg_css item=css} {/foreach} + {foreach from=$xorg_inline_css item=css} + + {/foreach} @@ -73,7 +80,7 @@
- + | {if $xnet_type} @@ -90,7 +97,7 @@ | {if $xnet_type}- + | {if $asso}@@ -117,7 +124,7 @@ {if $menu && !$simple} |
+ |
{foreach from=$menu key=title item=submenu}
{if $title neq 'no_title'}{$title}{/if} {foreach from=$submenu key=tit item=url} @@ -128,50 +135,24 @@ {/if} {/foreach} {/foreach} - |
-
- {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"} | @@ -210,16 +191,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"}
@@ -242,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 |