Author: ssmiweve
Date: 2007-03-29 16:13:59 +0200 (Thu, 29 Mar 2007)
New Revision: 4682

Modified:
   branches/2.10/war/src/webapp/WEB-INF/jsp/decorators/opensearchDecorator.jsp
Log:
SEARCH-1934 - endre opensearch-url for norge


Modified: 
branches/2.10/war/src/webapp/WEB-INF/jsp/decorators/opensearchDecorator.jsp
===================================================================
--- branches/2.10/war/src/webapp/WEB-INF/jsp/decorators/opensearchDecorator.jsp 
2007-03-29 14:00:29 UTC (rev 4681)
+++ branches/2.10/war/src/webapp/WEB-INF/jsp/decorators/opensearchDecorator.jsp 
2007-03-29 14:13:59 UTC (rev 4682)
@@ -1,10 +1,12 @@
 <?xml version="1.0" encoding="UTF-8" ?>
+<%@ taglib uri="http://java.sun.com/jstl/core_rt"; prefix="c" %>
 <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/";>
     <InputEncoding>utf-8</InputEncoding>
-    <ShortName>Sesam.no</ShortName> 
+    <ShortName><%=((no.schibstedsok.searchportal.view.i18n.TextMessages) 
request.getAttribute("text")).getMessage("navbarMain_" + 
request.getParameter("c"))%></ShortName> 
     <Description>Search with Sesam Search</Description>
     <Image width="16" 
height="16">data:image/x-icon;base64,R0lGODlhEAAQAKIGAMx0ufrx+NaPxrxKo+rH460gjv///wAAACH5BAEAAAYALAAAAAAQABAAAAM6aLpGxBAKEasZw0JSytPK0A0BCHQdYBEiOn6N0LruIDgyTdswqw8wyAmlArUyoEYnqMEkF5OnwlFJAAA7</Image>
-    <Url type="text/html" 
template="http://sesam.no/search/?q={searchTerms}&amp;c=d"; /> 
+    <Url type="text/html" 
template="http://sesam.no/search/?q={searchTerms}&amp;c=<c:out 
value='${tab.key}'/>" /> 
 </OpenSearchDescription> 
 
 
+

_______________________________________________
Kernel-commits mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-commits

Reply via email to