]> git.decadent.org.uk Git - maypole.git/blobdiff - templates/factory/header
XHTML update
[maypole.git] / templates / factory / header
index 2091277b28013c9f53980fb0c9e9f614a504f118..5a5882356e8e868917beb5a3706addf4acb98f74 100644 (file)
@@ -1,5 +1,27 @@
-<HTML>
-    <HEAD>
-        <TITLE> You want to put the title of your application here </TITLE>
-    </HEAD>
-    <BODY>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
+    "http://www.w3.org/TR/xhtml1/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+    <head>
+        <title>
+            [%
+                config.application_name ||
+                "A poorly configured Maypole application"
+            %]
+        </title>
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+        <link title="Maypole" href="/maypole.css" type="text/css"
+            rel="stylesheet"/>
+        <script language="javascript" 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>
+    <body>
+    <div class="content">