X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fskin%2Fsharky.tpl;h=637090baed6844ba3deb8673a99a68ef17f18348;hb=c76545c351fae4e2298624ff9ee5bf854dc5a5b6;hp=00a2401eb0fa477822f6feda8576293cc0c3d255;hpb=ff996dd21f4d62adfe80ff9c0d29e43f516a142d;p=platal.git diff --git a/templates/skin/sharky.tpl b/templates/skin/sharky.tpl index 00a2401..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 core=plpage.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}
- [ Polytechnique.org ] + [ Polytechnique.org ] {include file="skin/common.title.header.tpl"}