X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fskin%2Fcommon.header.tpl;h=97811c5f661d811ee14a3298308cd3b2613550dc;hb=27caa1c810ffdca0b6d432f1401d33c0062cf482;hp=eef5989d7eec61f9e77b029a9d24523580ef5502;hpb=0e58d02ae036b4e0e98a7464c783dd904bcc8e80;p=platal.git diff --git a/templates/skin/common.header.tpl b/templates/skin/common.header.tpl index eef5989..97811c5 100644 --- a/templates/skin/common.header.tpl +++ b/templates/skin/common.header.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 Polytechnique.org *} +{* Copyright (C) 2003-2008 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -25,10 +25,11 @@ + - {if $smarty.session.perms->hasFlag('user')} + {if hasPerm('user')} {/if} @@ -39,35 +40,15 @@ + {include core=plpage.header.tpl} - {foreach from=$xorg_css item=css} - - {/foreach} - {foreach from=$xorg_inline_css item=css} - - {/foreach} - {foreach from=$xorg_js item=js} - - {/foreach} {javascript name=overlib} {javascript name=md5} {javascript name=sha1} {javascript name=secure_hash} - {if $xorg_rss} - - {/if} - - {if $xorg_extra_header} - {$xorg_extra_header|smarty:nodefaults} - {/if} - - {$xorg_title|default:"Polytechnique.org : le site des élèves et anciens élèves de l'École polytechnique"} - {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}