--- search/Search.cgi 2002/07/17 16:55:07 1.23
+++ search/Search.cgi 2002/10/24 18:25:20 1.26
@@ -1509,14 +1509,14 @@
# Initialize the search string
$SearchString = "";
-sub nuke_accents {
- my $tmp = $_[0];
- $tmp =~ tr/Çüéâäùæç³ëÕõî¬ÄÆÉÅåôö¥µ¦¶ÖÜ«»£èáíóú¡±®¾Êê¼ÈºÁÂ̪¯¿ÃãðÐÏËïÒÍÎìÞÙÓÔÑñò©¹ÀÚàÛýÝþ´½²·¢¸¨ÿØø/CueaauccleOoiZACELlooLlSsOUTtLcaiouAaZzEezCsAAESZzAadDDEdNIIeTUOoNnnSsRUrUyYt'-".'',"'Rr/;
- # convert search string to lower case -> make search case insensitive
- $tmp =~ tr/A-Z/a-z/;
- return $tmp;
-}
-
+ # tip gradje
+ if ( defined($main::FormData{'tip'}) ) {
+ my @t;
+ foreach my $tip ( split(/\0/, $main::FormData{'tip'}) ) {
+ push @t,"tip=$tip";
+ }
+ $SearchString .= "(".join(" or ",@t).") and ";
+ }
# Add the search terms
$SearchString .= defined($Content{'Any'}) ? ((($SearchString ne "") ? " AND " : "") . nuke_accents($Content{'Any'}) ) : "";
@@ -2998,7 +2998,7 @@
# Send the start of the form and the buttons
print("
\n");
- print(" | \n");
print("
|
\n");
@@ -3055,6 +3055,11 @@
print("