]> git.openstreetmap.org Git - osqa.git/commitdiff
use {% url opensearch %} instead of FORUM_SCRIPT_ALIAS
authormatt <matt@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Thu, 13 May 2010 14:52:08 +0000 (14:52 +0000)
committermatt <matt@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Thu, 13 May 2010 14:52:08 +0000 (14:52 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@260 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/skins/default/templates/base.html

index e8e9e838c6ac407682625e67f7dfdf5ee24a70a1..03234eb0bbe99ea3c2bf77cc1508242a55ca99f4 100644 (file)
@@ -38,7 +38,7 @@
         {% endif %}
         {% block forejs %}{% endblock %}
 
-        <link rel="search" type="application/opensearchdescription+xml" href="/{{settings.FORUM_SCRIPT_ALIAS}}opensearch.xml" title="{{ settings.APP_SHORT_NAME }} Search" />
+        <link rel="search" type="application/opensearchdescription+xml" href="{% url opensearch %}" title="{{ settings.APP_SHORT_NAME }} Search" />
     </head>
     <body>
         <div class="notify" style="display:none">