X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnet%2Fskin.tpl;h=9cd5883ad663e3e6ca3ac626f39c17c5a86879eb;hb=afde0a3a880a0ed092671f3cffebc2885174c9ef;hp=805ca8b12b61b7053cf126aca903de742f1497e1;hpb=65b1cb38b264008cbcba5b4842f797330f39ed2e;p=platal.git diff --git a/templates/xnet/skin.tpl b/templates/xnet/skin.tpl index 805ca8b..9cd5883 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,51 +19,68 @@ {* 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"}||||||||||||||
|