]> git.decadent.org.uk Git - maypole.git/blobdiff - templates/factory/header
Zero search fix and sweet new templates, wheee...
[maypole.git] / templates / factory / header
index 723525d6aeac4fa22df7c3e5ab75398ff71f184e..a7bc34818eeadf38878b6d459ceaf608b9054855 100644 (file)
@@ -4,24 +4,15 @@
     <head>
         <title>
             [%
-                config.application_name ||
+              title || config.application_name ||
                 "A poorly configured Maypole application"
             %]
         </title>
-        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+        <meta http-equiv="Content-Type" content="text/html; charset=[% 
+           request.document_encoding
+       %]"/>
         <link title="Maypole" href="/maypole.css" type="text/css"
             rel="stylesheet"/>
-        <script type="text/javascript">
-            <!--
-                function go()
-                {
-                    box = document.forms[-1].navi;
-                    destination = box.options[box.selectedIndex].value;
-                    if (box.options[box.selectedIndex].class == 'redirect')
-                        location.href = destination;
-                }
-            // -->
-        </script>
-    </head>
+   </head>
     <body>
-    <div class="content">
+        <div class="content">