Revision 989
Added by aldus over 16 years ago
| search.php | ||
|---|---|---|
| 196 | 196 |
$string = preg_replace('/\s+/', ' ', $string);
|
| 197 | 197 |
$string = trim($string); |
| 198 | 198 |
// remove some bad chars |
| 199 |
$string = str_replace ( array('[[',']]'),'', $string);
|
|
| 199 | 200 |
$string = preg_replace('/(^|\s+)[|.]+(?=\s+|$)/', '', $string);
|
| 200 | 201 |
$search_display_string = htmlspecialchars($string); |
| 201 | 202 |
$search_entities_string = addslashes(umlauts_to_entities(htmlspecialchars($string))); |
Also available in: Unified diff
Add Droplets Modul to the project and the modificated files (index, seach and frontendfunctions)