]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/base_content.html
Resolves OSQA-674, be sure that we remove all anchors that trigger JavaScript code.
[osqa.git] / forum / skins / default / templates / base_content.html
index 01f4307cf4b1dbfa45533d6c608ef1e278a01a6c..b33cbf58835df5e65a8e82fe6baf8c3d9807c398 100644 (file)
         </style>
         <![endif]-->
         {% block forestyle %}{% endblock %}
+
         <script src="http://www.google.com/jsapi" type="text/javascript"></script>
         <script type="text/javascript">
             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" %}'></script>
-        <script type='text/javascript' src='{% media  "/media/js/jquery.copy.js" %}'></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; }