[horde] Problem with turba minisearch in portal (HEAD)

Jan Kuipers jrkuipers at lauwerscollege.nl
Sat Feb 1 03:39:33 PST 2003


The arg_separator.output variable defaults to "&", so it doesn't work in this
place. Should I change the value of arg_separator.output in php.ini? For now I
solved this as follows:

Index: minisearch.inc
===================================================================
RCS file: /repository/turba/templates/block/minisearch.inc,v
retrieving revision 1.1
diff -u -r1.1 minisearch.inc
--- minisearch.inc	29 Jan 2003 16:40:27 -0000	1.1
+++ minisearch.inc	1 Feb 2003 11:32:18 -0000
@@ -28,7 +28,7 @@
     }
 
     url = '<?php echo Horde::applicationUrl('minisearch.php') ?>';
-    url = url + '<?php echo ini_get('arg_separator.output') ?>search=' +
escape(document.getElementById('turba_minisearch').value);
+    url = url + '?search=' +
escape(document.getElementById('turba_minisearch').value);
     doc.location.replace(url);
 }
 </script> 

-- 
Jan Kuipers
Systeembeheer Lauwers College



More information about the horde mailing list