Puts the erase button at the top of the site_errors page.
[platal.git] / templates / plpage.header.tpl
index a007e2b..0f45653 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2009 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2011 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
 <link rel="{$link.rel}" href="{$link.href}" />
 {/foreach}
 {/if}
-<script type="text/javascript">
-  var platal_baseurl = "{$globals->baseurl}/";
-</script>
 {if t($pl_js)}
 {foreach from=$pl_js item=js}
-<script type="text/javascript" src="javascript/{$js}"></script>
+<script type="text/javascript" src="{$js}"></script>
 {/foreach}
 {/if}
 {if t($pl_rss)}
@@ -51,6 +48,8 @@
 {if t($pl_extra_header)}
 {$pl_extra_header|smarty:nodefaults}
 {/if}
-{if t($pl_title)}<title>{$pl_title}</title>{/if}
+{if t($pl_title)}
+<title>{$pl_title}</title>
+{/if}
 
 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}