X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnet%2Fskin.tpl;h=f1339870ef5a206b7d6838f369239640e315c907;hb=8e183049a7e67e8906e56c7261e6185567c67c3d;hp=74bfbcb76f774c86320cc3b4b5dcb125ed19e63d;hpb=cab0809050d58f8484608e91f7555ebd69dcb451;p=platal.git diff --git a/templates/xnet/skin.tpl b/templates/xnet/skin.tpl index 74bfbcb..f133987 100644 --- a/templates/xnet/skin.tpl +++ b/templates/xnet/skin.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2006 Polytechnique.org *} +{* Copyright (C) 2003-2009 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -19,168 +19,207 @@ {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} {* *} {**************************************************************************} - - - -
- -
- ![]() |
-
- ![]() |
+ {if !$simple}
+ ||||||||||
- ![]() |
- |||||||||||
- ![]() |
-
- ![]() ![]()
|
||||||||||
![]() | |||||||||||
{foreach from=$menu key=title item=submenu}
- {$title}- {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} | ||||||||||
![]() | |||||||||||
![]() | |||||||||||
+ | |||||||||||
|
|||||||||||
![]() | |||||||||||
![]() | |||||||||||
- {list_all_my_groups}
- {only_public}
- Me connecter :
- polytechnicien
- {/only_public}
-
- ![]() |
-
+ {/if}
+ {/if}
+
+
+ {if hasPerm('admin')}
+
+ Gérer les groupes
+ {icon name=wrench title="Administration"}
+ + {/if} + + Manuel de l'utilisateur + {icon name=lightbulb title="Documentation"} + + |
+