1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <!-- base_content.html -->
5 <html xmlns="http://www.w3.org/1999/xhtml">
7 <title>{% block fulltitle %}{% block title %}{% endblock %} - {{ settings.APP_SHORT_NAME }}{% endblock %}</title>
8 <meta name="description" content="{% block metadescription %}{{ settings.APP_DESCRIPTION }}{% endblock %}">
9 <meta name="keywords" content="{% block metakeywords %}{{ settings.APP_KEYWORDS }}{% endblock %}">
10 {% block meta %}{% endblock %}
11 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
12 {% if settings.GOOGLE_SITEMAP_CODE %}
13 <meta name="google-site-verification" content="{{ settings.GOOGLE_SITEMAP_CODE }}" />
15 <link rel="shortcut icon" href="{{ settings.APP_FAVICON }}" />
16 <link href="{% media "/media/style/style.css" %}" rel="stylesheet" type="text/css" />
17 {% block forestyle %}{% endblock %}
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 username: '{{ user.username }}',
28 confirm: "{% trans "Are you sure?" %}",
29 yes: "{% trans "Yes" %}",
30 no: "{% trans "No" %}",
31 message: "{% trans "Message:" %}",
32 cancel: "{% trans "Cancel" %}",
33 close: "{% trans "Close" %}",
34 ok: "{% trans "Ok" %}"
38 <script type='text/javascript' src='{% media "/media/js/osqa.main.js" %}'></script>
39 {% if user_messages %}
40 <style type="text/css">
41 body { margin-top:2.4em; }
43 <script type="text/javascript">
44 $(document).ready(function() {
45 var element = $('#validate_email_alert');
46 element.click(function(){notify.close(true);})
51 {% block forejs %}{% endblock %}
52 <link rel="search" type="application/opensearchdescription+xml" href="{% url opensearch %}" title="{{ settings.APP_SHORT_NAME }} Search" />
55 <div class="notify" style="display:none">
57 {% if user_messages %}
58 {% for message in user_messages %}
59 <p class="darkred">{{ message }}</p>
63 <a id="close-notify" onclick="notify.close(true)">×</a>
65 {% include "header.html" %}
66 {% block page_center %}
74 <div id="tail" style="clear:both;">
79 <div class="spacer3"></div>
82 {% include "footer.html" %}
85 {% if settings.GOOGLE_ANALYTICS_KEY %}
86 <script type="text/javascript">
87 var _gaq = _gaq || [];
88 _gaq.push(['_setAccount', '{{ settings.GOOGLE_ANALYTICS_KEY }}']);
89 _gaq.push(['_trackPageview']);
92 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
93 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
94 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
100 <!-- end template base_content.html -->