X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fxnet%2Fskin.tpl;h=bbdc9af27d115acda58e2ac7eb01dd86bb9e5698;hb=24cfa984cc0d84c3b636891f792e3e50559fb42b;hp=a5aa901f5aed6e32c158a9273b95a4e4f673dbd4;hpb=24bcf50c5f36f0770e2f7c279e7cd1077a4acead;p=platal.git diff --git a/templates/xnet/skin.tpl b/templates/xnet/skin.tpl index a5aa901..bbdc9af 100644 --- a/templates/xnet/skin.tpl +++ b/templates/xnet/skin.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2006 Polytechnique.org *} +{* Copyright (C) 2003-2008 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -19,55 +19,71 @@ {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} {* *} {**************************************************************************} - - - -
-
|
|||||||||||||||
{foreach from=$menu key=title item=submenu}
- {if $title neq 'no_title'}{$title}{/if} - {foreach from=$submenu key=tit item=url} - {$tit} - {/foreach} + {if $title neq 'no_title'}{$title}{/if} + {foreach from=$submenu key=tit item=url} + {if is_array($url)} + {$tit} + {else} + {$tit} + {/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} |
- | {include file="skin/common.content.tpl"}||||||||||||||
|