X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fskin%2Fsharky.tpl;h=a2fe7ea82198a68e01c73c7a289047d4880f690c;hb=e7737284cdd0e8dba0ced26c4778dd31a2fae50d;hp=60c49621e11cbb8bd48cfcd55eb71002bfc23c54;hpb=065cd7ed086ef7806f294f92e675f16232704d6a;p=platal.git diff --git a/templates/skin/sharky.tpl b/templates/skin/sharky.tpl index 60c4962..a2fe7ea 100644 --- a/templates/skin/sharky.tpl +++ b/templates/skin/sharky.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2008 Polytechnique.org *} +{* Copyright (C) 2003-2011 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -24,39 +24,31 @@ {include file=skin/common.header.tpl} - {include file=skin/common.bandeau.head.tpl} {include core=plpage.devel.tpl} - - {if $smarty.session.suid} - - - - -
- {$smarty.session.suid} ({$smarty.session.hruid}) - [exit] -
- {/if} - - {if $simple} - -
- {include core=plpage.content.tpl} -
- - {else} + {if $simple} +
+ {include core=plpage.content.tpl} +
+ {else} {include file=skin/common.bandeau.tpl} + {if t($smarty.session.suid)} +
+ + Quitter le SU sur {$smarty.session.hruid} ({$smarty.session.perms->flags()}) + +
+ {/if}
- [ Polytechnique.org ] + [ Polytechnique.org ] {include file="skin/common.title.header.tpl"}