]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/base_content.html
OSQA-829, resolves a unicode problem when answering question, use smart_unicode for...
[osqa.git] / forum / skins / default / templates / base_content.html
index 06a1fbce7576ead76de11916cf16e3b2b58c23d7..789710d2177d359b05464d750375450c1427c2cc 100644 (file)
@@ -2,7 +2,7 @@
 <!-- base_content.html -->
 {% load i18n extra_tags extra_filters markup ui_registry %}
 <html xmlns="http://www.w3.org/1999/xhtml">
-    <head>
+    <head>{% block after_head_js %}{% endblock %}
         <title>{% block fulltitle %}{% block title %}{% endblock %} - {{ settings.APP_SHORT_NAME }}{% endblock %}</title>
         <meta name="description" content="{% block metadescription %}{{ settings.APP_DESCRIPTION }}{% endblock %}" />
         <meta name="keywords" content="{% block metakeywords %}{{ settings.APP_KEYWORDS }}{% 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("jquery", "1");
             google.load("jqueryui", "1", {autoload:true});
 
-            var i18nLang = '{{settings.LANGUAGE_CODE}}';
-            var scriptUrl = '{{settings.FORCE_SCRIPT_NAME}}/'
-            var osqaSkin = '{{settings.OSQA_SKIN}}';
+            var i18nLang = '{{ settings.LANGUAGE_CODE }}';
+            var appUrl = '{{ settings.APP_URL }}'
+            var scriptUrl = '{{ settings.FORCE_SCRIPT_NAME }}/'
+            var osqaSkin = '{{ settings.OSQA_SKIN }}';
 
             var messages = {
                 username: '{{ user.username }}',