X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fskin%2Fsharky.tpl;h=637090baed6844ba3deb8673a99a68ef17f18348;hb=c76545c351fae4e2298624ff9ee5bf854dc5a5b6;hp=60c49621e11cbb8bd48cfcd55eb71002bfc23c54;hpb=e94f4761c4d6e993a0e917f8366441c2e63445c0;p=platal.git diff --git a/templates/skin/sharky.tpl b/templates/skin/sharky.tpl index 60c4962..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 *} @@ -28,35 +28,28 @@ {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"}