X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fskin%2Fsharky.tpl;h=637090baed6844ba3deb8673a99a68ef17f18348;hb=c67b874fd8d442bfded35295a819e7ce11a2d6dc;hp=33c893b3ce3acd3f6ed0faa7ad54de5c7343312a;hpb=dbbfabe9138005367547465c13e50b98f121bc36;p=platal.git diff --git a/templates/skin/sharky.tpl b/templates/skin/sharky.tpl index 33c893b..637090b 100644 --- a/templates/skin/sharky.tpl +++ b/templates/skin/sharky.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2008 Polytechnique.org *} +{* Copyright (C) 2003-2010 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -27,36 +27,29 @@ {include file=skin/common.bandeau.head.tpl} - {include file=skin/common.devel.tpl} - - {if $smarty.session.suid} - - - - -
- {$smarty.session.suid} ({$smarty.session.hruid}) - [exit] -
- {/if} - - {if $simple} - -
- {include file="skin/common.content.tpl"} -
- - {else} + {include core=plpage.devel.tpl} + {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} @@ -65,7 +58,7 @@ {include file=skin/common.menu.tpl}
- [ Polytechnique.org ] + [ Polytechnique.org ] {include file="skin/common.title.header.tpl"}
- {include file="skin/common.content.tpl"} + {include core=plpage.content.tpl}