make add(Js|Css)Link don't need the extra css/ or javascript/ link, so
[platal.git] / templates / skin / common.header.tpl
index ef3c0e6..cfe1a38 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2004 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2006 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
 {*                                                                        *}
 {**************************************************************************}
 
-
     <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
     <meta name="description" content="Le Portail des Polytechniciens" />
     <meta name="keywords" content="Ecole polytechnique, anciens eleves, portail, alumni, AX, X, routage, reroutage, e-mail, email, mail" />
     <link rel="icon" type="image/png" href="images/favicon.png" />
-    
-    <link rel="index" href="{rel}/index.php" />
-    <link rel="author" href="{rel}/docs/faq.php" />
-    <link rel="search" href="{rel}/search.php" />
-    <link rel="help" href="{rel}/docs/faq.php" />
+
+    <link rel="index"  href="" />
+    <link rel="author" href="changelog" />
+    <link rel="search" href="search" />
+    <link rel="help"   href="Docs/FAQ" />
     <link rel="bookmark" href="http://www.polytechnique.fr/"        title="| École polytechnique" />
     <link rel="bookmark" href="http://www.polytechnique.edu/"       title="| Institutionnal site" />
     <link rel="bookmark" href="http://www.fondationx.org/"          title="| FX" />
     <link rel="bookmark" href="http://www.polytechnique.fr/eleves/" title="| Site d'élèves" />
 
     {foreach from=$xorg_css item=css}
-    <link rel="stylesheet" type="text/css" href="{rel}/{$css}" />
+    <link rel="stylesheet" type="text/css" href="css/{$css}" />
     {/foreach}
     {foreach from=$xorg_js item=js}
-    <script type="text/javascript" src="{rel}/{$js}"></script>
+    <script type="text/javascript" src="javascript/{$js}"></script>
     {/foreach}
-    <script type="text/javascript" src="{rel}/javascript/overlib.js"></script>
-    
+    <script type="text/javascript" src="javascript/overlib.js"></script>
+    <script type="text/javascript" src="javascript/md5.js"></script>
+    <script type="text/javascript" src="javascript/sha1.js"></script>
+    <script type="text/javascript" src="javascript/secure_hash.js"></script>
+
     {if $xorg_rss}
-    <link rel="alternate" type="application/rss+xml" title="{$xorg_rss.title}" href="{rel}{$xorg_rss.href}" />
+    <link rel="alternate" type="application/rss+xml" title="{$xorg_rss.title}" href="{$xorg_rss.href}" />
     {/if}
 
     {if $xorg_extra_header}