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 {% if settings.USE_CUSTOM_CSS %}
18 <link href="{% url custom_css %}" rel="stylesheet" type="text/css" />
20 {% block forestyle %}{% endblock %}
21 <script src="http://www.google.com/jsapi" type="text/javascript"></script>
22 <script type="text/javascript">google.load("jquery", "1.4.2");</script>
23 <script type="text/javascript">
25 var i18nLang = '{{settings.LANGUAGE_CODE}}';
26 var scriptUrl = '/{{settings.FORUM_SCRIPT_ALIAS}}'
27 var osqaSkin = '{{settings.OSQA_SKIN}}';
30 username: '{{ user.username }}',
31 confirm: "{% trans "Are you sure?" %}",
32 yes: "{% trans "Yes" %}",
33 no: "{% trans "No" %}",
34 message: "{% trans "Message:" %}",
35 cancel: "{% trans "Cancel" %}",
36 close: "{% trans "Close" %}",
37 ok: "{% trans "Ok" %}"
41 <script type='text/javascript' src='{% media "/media/js/osqa.main.js" %}'></script>
42 {% if user_messages %}
43 <style type="text/css">
44 body { margin-top:2.4em; }
46 <script type="text/javascript">
47 $(document).ready(function() {
48 var element = $('#validate_email_alert');
49 element.click(function(){notify.close(true);})
54 {% block forejs %}{% endblock %}
55 <link rel="search" type="application/opensearchdescription+xml" href="{% url opensearch %}" title="{{ settings.APP_SHORT_NAME }} Search" />
58 <div class="notify" style="display:none">
60 {% if user_messages %}
61 {% for message in user_messages %}
62 <p class="darkred">{{ message }}</p>
66 <a id="close-notify" onclick="notify.close(true)">×</a>
68 {% include "header.html" %}
69 {% block page_center %}
77 <div id="tail" style="clear:both;">
82 <div class="spacer3"></div>
85 {% include "footer.html" %}
88 {% if settings.GOOGLE_ANALYTICS_KEY %}
89 <script type="text/javascript">
90 var _gaq = _gaq || [];
91 _gaq.push(['_setAccount', '{{ settings.GOOGLE_ANALYTICS_KEY }}']);
92 _gaq.push(['_trackPageview']);
95 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
96 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
97 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
103 <!-- end template base_content.html -->