X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fskin%2Ftrapped.tpl;h=74b6e538b92c5082ed60ecc44374f73fba00a3b0;hb=f610b6f555f56675a8df9dd5fd45c8ccf76bfb75;hp=d0b062f90658882e2616f88d8ec549a3bed4bb99;hpb=4a5fb34b970c9ba7c469f15935b8ae788dc026b0;p=platal.git diff --git a/templates/skin/trapped.tpl b/templates/skin/trapped.tpl index d0b062f..74b6e53 100644 --- a/templates/skin/trapped.tpl +++ b/templates/skin/trapped.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2006 Polytechnique.org *} +{* Copyright (C) 2003-2014 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -19,71 +19,50 @@ {* 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} - @@ -95,4 +74,4 @@ {/if} -{* vim:set et sw=2 sts=2 sws=2: *} +{* vim:set et sw=2 sts=2 sws=2 fenc=utf-8: *}
- [ Polytechnique.org ] + [ Polytechnique.org ] {include file="skin/common.title.header.tpl"} - [LES X SUR LE WEB] + [LES X SUR LE WEB]
- {foreach key=menu_title item=menu_list from=$menu} - {if $menu_title} - - {/if} - {foreach item=mi from=$menu_list} - - {/foreach} - {/foreach} - {perms level=admin} - - - - - -
Valid
{insert name="mkStats"}
- {/perms} + {include file=skin/common.menu.tpl}
- {include file="skin/common.content.tpl"} + {include core=plpage.content.tpl}