X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fskin%2Fsharky.tpl;h=c3e897e16750b8e31496ce8aa0b1048fce32d3a3;hb=0c109685615e7543921e02c98f82328c2837a6c6;hp=3fb36e09c4285c15e5cc415e03562e530c6a221a;hpb=1a828cd480b996f34130551073c5148fd0fe035e;p=platal.git diff --git a/templates/skin/sharky.tpl b/templates/skin/sharky.tpl index 3fb36e0..c3e897e 100644 --- a/templates/skin/sharky.tpl +++ b/templates/skin/sharky.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,70 +19,46 @@ {* 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} + {include core=plpage.devel.tpl} + {if $simple} +
+ {include core=plpage.content.tpl} +
+ {else} + {include file=skin/common.bandeau.tpl} {if $smarty.session.suid} - - - - -
- {$smarty.session.suid} ({$smarty.session.forlife}) - [exit] -
- {/if} - - {if $simple} - -
- {include file="skin/common.content.tpl"} +
+ + Quitter le SU sur {$smarty.session.hruid} ({$smarty.session.perms->flags()}) +
- - {else} - - {include file=skin/common.bandeau.tpl} + {/if} @@ -94,4 +70,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"}
- {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}