Add jQuery 1.3.1, needed by DropDownMultiple.
[matthijs/projects/xerxes.git] / templates / base / base.html
index 1a9c9522012680f26c46dd9b294ae76ae8560be9..1b01ddeb758d0dc8d5f502af82e99cad09ea1947 100644 (file)
@@ -1,10 +1,21 @@
 {% load i18n %}
-<html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
 <head>
+{% if debug %}
+{# Use local copy of skin css when in debug mode #}
+<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}/base/css/lex.css"/>
+{% else %}
 <link rel="stylesheet" type="text/css" href="http://www.evolution-events.nl/algemeen/css.php?skin=lex"/>
-<link rel="stylesheet" type="text/css" href="{% block stylesheet %}{{ STATIC_URL_PREFIX }}/base/css/base.css{% endblock %}"/>
-<script type="text/javascript" src="http://yui.yahooapis.com/2.5.1/build/yahoo-dom-event/yahoo-dom-event.js"></script> 
-<script type="text/javascript" src="http://yui.yahooapis.com/2.5.1/build/logger/logger-debug.js"></script> 
+{% endif %}
+<link rel="stylesheet" type="text/css" href="{% block stylesheet %}{{ MEDIA_URL }}/base/css/base.css{% endblock %}"/>
+{# <script type="text/javascript" src="http://yui.yahooapis.com/2.5.1/build/yahoo-dom-event/yahoo-dom-event.js"></script>  #}
+{# <script type="text/javascript" src="http://yui.yahooapis.com/2.5.1/build/logger/logger-debug.js"></script> #}
+<script type="text/javascript" src="{{ MEDIA_URL }}/base/js/yahoo-dom-event.js"></script> 
+<script type="text/javascript" src="{{ MEDIA_URL }}/base/js/logger-debug.js"></script> 
+<script type="text/javascript" src="{{ MEDIA_URL }}/base/js/jquery-1.3.1.js"></script> 
+<title>Xerxes</title>
 </head>
 <body>
 <div class="logo"></div>