X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fskin%2Fnewxorg.tpl;h=a2625542e211506c49f3daada180a91bd9200813;hb=ed92ea696e042eb9b2d0efcc4731fdf89fb17924;hp=baf54d6a6968faeddb597767487ce4a9c166145d;hpb=b9384d56d013b362a5c95936eaf5fc0ac3b1e648;p=platal.git diff --git a/templates/skin/newxorg.tpl b/templates/skin/newxorg.tpl index baf54d6..a262554 100644 --- a/templates/skin/newxorg.tpl +++ b/templates/skin/newxorg.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2006 Polytechnique.org *} +{* Copyright (C) 2003-2010 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -19,47 +19,41 @@ {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} {* *} {**************************************************************************} - - - - - + +{include file=skin/common.doctype.tpl} {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] -
+ {include core=plpage.devel.tpl} + {if !$simple} + {include file=skin/common.bandeau.tpl} + {/if} + {if t($smarty.session.suid)} +
+ + Quitter le SU sur {$smarty.session.hruid} ({$smarty.session.perms->flags()}) + +
{/if} {if $simple}
- {include file="skin/common.content.tpl"} + {include core=plpage.content.tpl}
{else} - {include file=skin/common.bandeau.tpl} - @@ -68,7 +62,7 @@ {include file=skin/common.menu.tpl} @@ -80,4 +74,4 @@ {/if} -{* vim:set et sw=2 sts=2 sws=2: *} +{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}
- [ Polytechnique.org ] + [ Polytechnique.org ] {include file="skin/common.title.header.tpl"}
- {include file="skin/common.content.tpl"} + {include core=plpage.content.tpl}