</style>
<![endif]-->
{% block forestyle %}{% endblock %}
+
<script src="http://www.google.com/jsapi" type="text/javascript"></script>
<script type="text/javascript">
+ /*<![CDATA[*/
google.load("jquery", "1.4.2");
google.load("jqueryui", "1", {autoload:true});
- </script>
- <script type="text/javascript">
- /* <![CDATA[ */
+
var i18nLang = '{{settings.LANGUAGE_CODE}}';
var scriptUrl = '{{settings.FORCE_SCRIPT_NAME}}/'
var osqaSkin = '{{settings.OSQA_SKIN}}';
character: "{% trans "character" %}",
characters: "{% trans "characters" %}"
}
- /* ]]> */
+ /*]]>*/
</script>
- <script type="text/javascript" src="{% media "/media/js/osqa.main.js" %}?{% random 1 1000000 %}"></script>
- <script type="text/javascript" src="{% media "/media/js/jquery.copy.js" %}?{% random 1 1000000 %}"></script>
+ <script type="text/javascript" src="{% media "/media/js/osqa.main.js" %}"></script>
{% if user_messages %}
<style type="text/css">
body { margin-top:2.4em; }
{% loadregistry head_content %}{% endloadregistry %}
</head>
<body>
- <div class="notify" style="display:none">
- {% autoescape off %}
- {% if user_messages %}
- {% for message in user_messages %}
- <p class="darkred">{{ message }}</p>
- {% endfor %}
- {% endif %}
- {% endautoescape %}
- <a id="close-notify" onclick="notify.close(true)">×</a>
- </div>
+ <div class="wrapper">
{% if settings.USE_CUSTOM_HEADER|or_preview:request %}
<div id="custom_header">
{{ settings.CUSTOM_HEADER|or_preview:request|static_content:settings.CUSTOM_HEADER_RENDER_MODE }}
})();
</script>
{% endif %}
+ </div>
+
+ <div class="notify" style="display:none">
+ {% autoescape off %}
+ {% if user_messages %}
+ {% for message in user_messages %}
+ <p class="darkred">{{ message }}</p>
+ {% endfor %}
+ {% endif %}
+ {% endautoescape %}
+ <a id="close-notify" onclick="notify.close(true)">×</a>
+ </div>
</body>
</html>
<!-- end template base_content.html -->