X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnet%2Fskin.tpl;h=f1339870ef5a206b7d6838f369239640e315c907;hb=8e183049a7e67e8906e56c7261e6185567c67c3d;hp=0993ed437905b414f33dfed1dba9fe7acd45d47a;hpb=5d45be961ee2170ae9aa8bb15aaf2bdaaa45450a;p=platal.git diff --git a/templates/xnet/skin.tpl b/templates/xnet/skin.tpl index 0993ed4..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,31 +39,17 @@ - {foreach from=$xorg_css item=css} - - {/foreach} + {include core=plpage.header.tpl} - {foreach from=$xorg_js item=js} - - {/foreach} - - - {if $xorg_rss} - - {/if} - - {if $xorg_extra_header} - {$xorg_extra_header|smarty:nodefaults} - {/if} - -
- ![]() ![]() |
{if $xnet_type} @@ -90,7 +78,7 @@ | {if $xnet_type}
- ![]() ![]() |
{if $asso}
@@ -117,7 +105,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,58 +116,32 @@ {/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"} + {include core=plpage.content.tpl} | |||
- {include file="skin/common.content.tpl"} + {include core=plpage.content.tpl} |
{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 +203,23 @@
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
+ - signaler un bug
{/if}
- © Copyright 2000-2007 Association Polytechnique.org + Plat/al {#globals.version#} - © Copyright 2000-2009 Association Polytechnique.org + |
{/if}