X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnet%2Fskin.tpl;h=f90a53e96e92f5ef2b887acd71bcba6aaea865fa;hb=065cd7ed086ef7806f294f92e675f16232704d6a;hp=34a8d5ad039930199e4fb12e71c8c66ab77fbb08;hpb=d083f500e283a6abfcbac69d85ca8bd9892d7742;p=platal.git diff --git a/templates/xnet/skin.tpl b/templates/xnet/skin.tpl index 34a8d5a..f90a53e 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,49 @@ {* 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"} + {include core=plpage.content.tpl}||||||||||||||
- {include file="skin/common.content.tpl"} + {include core=plpage.content.tpl} | |||||||||||||||
|