]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/footer.html
no more "bellow"
[osqa.git] / forum / skins / default / templates / footer.html
index 66ea2bc537f93f84346ce90916f9a572a70ab1e5..1650315ddc60acf4c5f4e3f6ab4ff6ebe3f0a597 100644 (file)
@@ -1,27 +1,29 @@
-<!-- template footer.html -->
 {% load extra_tags %}
 {% load i18n %}
-<!-- 页面底部开始: -->
+
     <div id="ground">
                <div>
                        <div class="footerLinks" >
                                <a href="{% url about %}">{% trans "about" %}</a><span class="link-separator"> |</span>
                                <a href="{% url faq %}">{% trans "faq" %}</a><span class="link-separator"> |</span>
-                               <a href="{% url privacy %}">{% trans "privacy policy" %}</a><span class="link-separator"> |</span>
+                               <a href="{% url privacy %}">{% trans "privacy" %}</a><span class="link-separator"> |</span>
+                {% if settings.SUPPORT_URL %}
+                    <a href="{{settings.SUPPORT_URL}}" target="_blank">{% trans "support" %}</a><span class="link-separator"> |</span>
+                {% endif %}
                 {% spaceless %}
                                <a href=
-                    {% if settings.FEEDBACK_SITE_URL %}
-                        "{{settings.FEEDBACK_SITE_URL}}"
+                    {% if settings.CONTACT_URL %}
+                        "{{settings.CONTACT_URL}}"
                         target="_blank">
                     {% else %}
                         "{% url feedback %}?next={{request.path}}">
                     {% endif %}
-                    {% trans "give feedback" %}
+                    {% trans "contact us" %}
                 </a>
                 {% endspaceless %}
                        </div>
                  <p>
-                        <a href="http://osqa.net" target="_blank">
+                        <a href="http://osqa.net" target="_blank" title="OSQA {{ settings.OSQA_VERSION }} ({{ settings.SVN_REVISION }})">
                                powered by OSQA
                         </a>
                  </p>
                  </a>
                 </div>
        </div>
-       <!-- 页面底部结束: -->
-    {% if settings.GOOGLE_ANALYTICS_KEY %}
-    <script type="text/javascript">
-        var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
-        document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
-        </script>
-        <script type="text/javascript">
-        try {
-        var pageTracker = _gat._getTracker('{{ settings.GOOGLE_ANALYTICS_KEY }}');
-        pageTracker._trackPageview();
-        } catch(err) {}
-    </script>
-    {% endif %}
-<!-- end template footer.html -->
+