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 {% block meta %}{% endblock %}
9 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
10 {% if settings.GOOGLE_SITEMAP_CODE %}
11 <meta name="google-site-verification" content="{{ settings.GOOGLE_SITEMAP_CODE }}" />
13 <link rel="shortcut icon" href="{{ settings.APP_FAVICON }}" />
14 <link href="{% media "/media/style/style.css" %}" rel="stylesheet" type="text/css" />
15 {% block forestyle %}{% endblock %}
16 <script src="http://www.google.com/jsapi" type="text/javascript"></script>
17 <script type="text/javascript">google.load("jquery", "1.4.2");</script>
18 <script type="text/javascript">
20 var i18nLang = '{{settings.LANGUAGE_CODE}}';
21 var scriptUrl = '/{{settings.FORUM_SCRIPT_ALIAS}}'
22 var osqaSkin = '{{settings.OSQA_SKIN}}';
25 username: '{{ user.username }}',
26 confirm: "{% trans "Are you sure?" %}",
27 yes: "{% trans "Yes" %}",
28 no: "{% trans "No" %}",
29 message: "{% trans "Message:" %}",
30 cancel: "{% trans "Cancel" %}",
31 close: "{% trans "Close" %}",
32 ok: "{% trans "Ok" %}"
36 <script type='text/javascript' src='{% media "/media/js/osqa.main.js" %}'></script>
37 {% if user_messages %}
38 <style type="text/css">
39 body { margin-top:2.4em; }
41 <script type="text/javascript">
42 $(document).ready(function() {
43 var element = $('#validate_email_alert');
44 element.click(function(){notify.close(true);})
49 {% block forejs %}{% endblock %}
50 <link rel="search" type="application/opensearchdescription+xml" href="{% url opensearch %}" title="{{ settings.APP_SHORT_NAME }} Search" />
53 <div class="notify" style="display:none">
55 {% if user_messages %}
56 {% for message in user_messages %}
57 <p class="darkred">{{ message }}</p>
61 <a id="close-notify" onclick="notify.close(true)">×</a>
63 {% include "header.html" %}
64 {% block page_center %}
72 <div id="tail" style="clear:both;">
77 <div class="spacer3"></div>
80 {% include "footer.html" %}
83 {% if settings.GOOGLE_ANALYTICS_KEY %}
84 <script type="text/javascript">
85 var _gaq = _gaq || [];
86 _gaq.push(['_setAccount', '{{ settings.GOOGLE_ANALYTICS_KEY }}']);
87 _gaq.push(['_trackPageview']);
90 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
91 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
92 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
98 <!-- end template base_content.html -->