backport bug https barre firefox
authorPascal Corpet <pascal.corpet@m4x.org>
Tue, 21 Jun 2005 14:26:19 +0000 (14:26 +0000)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Thu, 26 Jun 2008 21:29:23 +0000 (23:29 +0200)
Patches applied:

 * opensource@polytechnique.org--2005/platal--release--0.9.7--patch-6
   bug barre firefox en http et non https

git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-741

templates/search.quick.tpl

index 99b5769..6b29013 100644 (file)
@@ -58,8 +58,8 @@ function addEngine() {
   if ((typeof window.sidebar == "object") && (typeof window.sidebar.addSearchEngine == "function")) {
    {/literal}
     window.sidebar.addSearchEngine(
-      "{$baseurl}/xorg.src",
-      "{$baseurl}/images/xorg.png",
+      "{$baseurl|replace:"https":"http"}/xorg.src",
+      "{$baseurl|replace:"https":"http"}/images/xorg.png",
       "Recherche rapide X.org",
       "Academic");
   {literal}