1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <!-- template base.html -->
3 {% load extra_filters %}
6 <html xmlns="http://www.w3.org/1999/xhtml">
8 <title>{% block fulltitle %}{% block title %}{% endblock %} - {{ settings.APP_SHORT_NAME }}{% endblock %}</title>
10 {% block meta %}{% endblock %}
12 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
13 {% if settings.GOOGLE_SITEMAP_CODE %}
14 <meta name="google-site-verification" content="{{settings.GOOGLE_SITEMAP_CODE}}" />
16 <link rel="shortcut icon" href="{{ settings.APP_FAVICON }}" />
17 <link href="{% media "/media/style/style.css" %}" rel="stylesheet" type="text/css" />
18 <script src="http://www.google.com/jsapi" type="text/javascript"></script>
19 <script type="text/javascript">google.load("jquery", "1.4.2");</script>
20 <script type="text/javascript">
22 var i18nLang = '{{settings.LANGUAGE_CODE}}';
23 var scriptUrl = '/{{settings.FORUM_SCRIPT_ALIAS}}'
24 var osqaSkin = '{{settings.OSQA_SKIN}}';
27 <script type='text/javascript' src='{% media "/media/js/osqa.main.js" %}'></script>
28 {% if user_messages %}
29 <style type="text/css">
30 body { margin-top:2.4em; }
32 <script type="text/javascript">
33 $(document).ready(function() {
34 $('#validate_email_alert').click(function(){notify.close(true)})
39 {% block forejs %}{% endblock %}
41 <link rel="search" type="application/opensearchdescription+xml" href="{% url opensearch %}" title="{{ settings.APP_SHORT_NAME }} Search" />
44 <div class="notify" style="display:none">
46 {% if user_messages %}
47 {% for message in user_messages %}
48 <p class="darkred">{{ message }}</p>
52 <a id="close-notify" onclick="notify.close(true)">×</a>
54 {% include "header.html" %}
67 <div id="tail" style="clear:both;">
72 <div class="spacer3"></div>
74 {% include "footer.html" %}
79 <!-- end template base.html -->