X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fskin%2Fopenweb.tpl;h=3953c990947b074308b662dde330ecdf0a41c167;hb=51fb3b6facb76baf990d0407baf9be4c669fffa7;hp=99134794822d03bfdb89e66d9841616c2f3fce2f;hpb=42d9575b7ec27f6fe52157985be5b9784c68f98f;p=platal.git diff --git a/templates/skin/openweb.tpl b/templates/skin/openweb.tpl index 9913479..3953c99 100644 --- a/templates/skin/openweb.tpl +++ b/templates/skin/openweb.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,51 @@ {* 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 $smarty.session.suid} - - - - -
- {$smarty.session.suid} ({$smarty.session.forlife}) - [exit] -
+ {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 +76,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} - {$mi.text} - {/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}