X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fskin%2Fsharky.tpl;h=a2fe7ea82198a68e01c73c7a289047d4880f690c;hb=d53c12097f4e82ad4657de86f199699973dee29f;hp=2c8b7cc3441da61f1993eebf51fb3f88338aa9b9;hpb=0337d704b62718d7c77106c0e4c4e26fb02beacf;p=platal.git diff --git a/templates/skin/sharky.tpl b/templates/skin/sharky.tpl index 2c8b7cc..a2fe7ea 100644 --- a/templates/skin/sharky.tpl +++ b/templates/skin/sharky.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2004 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,84 +19,45 @@ {* 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] -
- {/if} - - {if $simple} - -
- {include file="skin/common.content.tpl"} -
- - {else} + + {include core=plpage.devel.tpl} + {if $simple} +
+ {include core=plpage.content.tpl} +
+ {else} {include file=skin/common.bandeau.tpl} + {if t($smarty.session.suid)} +
+ + Quitter le SU sur {$smarty.session.hruid} ({$smarty.session.perms->flags()}) + +
+ {/if} @@ -108,4 +69,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 ] - - - - - -
- - - {insert name="getNbIns"} polytechniciens sur le web
- {insert name="getNbNotifs"} -
+ [ 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}