X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fskin%2Fregister.tpl;h=047629e7f1168eb6aa1777f350c77a8ac74bf9fc;hb=46ca73eadbd598ee219bdc48724e14c8c08b40ef;hp=be664cbc3dc06b805ff29c817a11fc87197a5ba4;hpb=a41bf2f836624f5a1e162c75766d7322bef96cfd;p=platal.git diff --git a/templates/skin/register.tpl b/templates/skin/register.tpl index be664cb..047629e 100644 --- a/templates/skin/register.tpl +++ b/templates/skin/register.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2006 Polytechnique.org *} +{* Copyright (C) 2003-2011 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -19,34 +19,29 @@ {* 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}
@@ -57,11 +52,11 @@
- {include file="skin/common.content.tpl"} + {include core=plpage.content.tpl}
{/if} -{* vim:set et sw=2 sts=2 sws=2: *} +{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}