CVS: spip inc-calcul.php3,1.58,1.59

Update of /home/spip-cvs/spip
In directory miel:/tmp/cvs-serv2057

Modified Files:
  inc-calcul.php3
Log Message:
surlignement en utf-8 (un peu crado encore)

Index: inc-calcul.php3

RCS file: /home/spip-cvs/spip/inc-calcul.php3,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -d -r1.58 -r1.59
--- inc-calcul.php3 4 Jan 2004 15:22:59 -0000 1.58
+++ inc-calcul.php3 19 Jan 2004 23:21:39 -0000 1.59
@@ -56,9 +56,10 @@
// Ajouter le &var_recherche=toto dans les boucles de recherche
//
function url_var_recherche($url, $activer_url_recherche) {
+ include_ecrire('inc_surligne.php3');
   if ($activer_url_recherche && $GLOBALS['HTTP_GET_VARS']['recherche'] && !ereg("var_recherche", $url)) {
     $url .= strpos($url, '?') ? '&' : '?';
- $url .= "var_recherche=".urlencode($GLOBALS['recherche']);
+ $url .= "var_recherche=".urlencode(surligner_sans_accents($GLOBALS['recherche']));
   }
   return $url;
}