X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fskin%2Fsharky.tpl;h=a2fe7ea82198a68e01c73c7a289047d4880f690c;hb=5c1c757295c2a0937730d002f1e5ea1947c2e40b;hp=4696bc45fb78b7781ebd7471e3ac1a261b66466d;hpb=08fa70684fd1332178cddb6b318151335fb4506c;p=platal.git diff --git a/templates/skin/sharky.tpl b/templates/skin/sharky.tpl index 4696bc4..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 file=skin/common.devel.tpl} - - {if $smarty.session.suid} - - - - -
- {$smarty.session.suid} ({$smarty.session.forlife}) - [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 +57,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}