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 title %}{% endblock %} - {{ settings.APP_TITLE }}</title>
8 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
9 {% if settings.GOOGLE_SITEMAP_CODE %}
10 <meta name="google-site-verification" content="{{ settings.GOOGLE_SITEMAP_CODE }}" />
12 <link rel="shortcut icon" href="{% media "/media/images/favicon.ico" %}" />
13 <link href="{% media "/media/style/style.css" %}" rel="stylesheet" type="text/css" />
15 {% block forestyle %}{% endblock %}
17 <script src="http://www.google.com/jsapi" type="text/javascript"></script>
18 <script type="text/javascript">google.load("jquery", "1.2.6");</script>
19 <script type="text/javascript">
20 var i18nLang = '{{ settings.LANGUAGE_CODE }}';
21 var scriptUrl = '/{{settings.FORUM_SCRIPT_ALIAS}}'
22 var osqaSkin = '{{settings.OSQA_SKIN}}';
24 <script type='text/javascript' src='{% media "/media/js/com.cnprog.i18n.js" %}'></script>
25 <script type='text/javascript' src='{% media "/media/js/jquery.i18n.js" %}'></script>
26 <script type='text/javascript' src='{% media "/media/js/com.cnprog.utils.js" %}'></script>
27 {% if user_messages %}
28 <style type="text/css">
29 body { margin-top:2.4em; }
31 <script type="text/javascript">
32 $(document).ready(function() {
33 var element = $('#validate_email_alert')
34 element.click(function(){notify.close(true);setTimeout(function(){},1000)})
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" %}
62 <div id="tail" style="clear:both;">
67 <div class="spacer3"></div>
69 {% include "footer.html" %}
74 <!-- end template base_content.html -->