refix some introduced template-errors in the HTML code
[phpfspot.git] / themes / default / templates / header.tpl
index c233bb341a6ce0e54c13cbba88ca3de6ef8b6d36..c1d7a0cd694a5f0ad469359ee51a9227e5c49cad 100644 (file)
@@ -3,15 +3,19 @@
  <head>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   <title>{$page_title}</title>
-  <link href="{$template_path}/stylesheet.css" type="text/css" rel="stylesheet" />
-  <script type="text/javascript" src="rpc.php?mode=init&amp;client=all"></script>
-  <script type="text/javascript" src="phpfspot.js"></script>
-  <link rel="shortcut icon" href="resources/gpl_16.png" type="image/png" />
-  <link rel="icon" href="resources/gpl_16.png" type="image/png" />
+  <link href="{$web_path}/{$template_path}/stylesheet.css" type="text/css" rel="stylesheet" />
+  <script type="text/javascript" src="{$web_path}/rpc.php?mode=init&amp;client=all"></script>
+  <script type="text/javascript" src="{$web_path}/phpfspot.js"></script>
+  <link rel="shortcut icon" href="{$web_path}/resources/gpl_16.png" type="image/png" />
+  <link rel="icon" href="{$web_path}/resources/gpl_16.png" type="image/png" />
   { if $use_lightbox }
-  <script type="text/javascript" src="lightbox2/js/prototype.js"></script>
-  <script type="text/javascript" src="lightbox2/js/scriptaculous.js?load=effects,builder"></script>
-  <script type="text/javascript" src="lightbox2/js/lightbox.js"></script>
-  <link rel="stylesheet" href="lightbox2/css/lightbox.css" type="text/css" media="screen" />
+  <script type="text/javascript" src="{$web_path}/lightbox2/js/prototype.js"></script>
+  <script type="text/javascript" src="{$web_path}/lightbox2/js/scriptaculous.js?load=effects,builder"></script>
+  <script type="text/javascript" src="{$web_path}/lightbox2/js/lightbox.js"></script>
+  <link rel="stylesheet" href="{$web_path}/lightbox2/css/lightbox.css" type="text/css" media="screen" />
+  { /if }
+  { if $use_autocomplete }
+  <script type="text/javascript" src="{$web_path}/autosuggest/js/bsn.AutoSuggest_2.1.3_comp.js"></script>
+  <link rel="stylesheet" href="{$web_path}/autosuggest/css/autosuggest_inquisitor.css" type="text/css" media="screen" charset="utf-8" />
   { /if }
  </head>