- highlight search results disabled before rewrite

git-svn-id: http://piwigo.org/svn/trunk@717 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall 2005-01-20 23:42:35 +00:00
parent 35c3e39bb8
commit 05063edcce

View file

@ -318,6 +318,9 @@ function add_style( $string, $search, $style )
// another style for the given $string.
function replace_search( $string, $search )
{
// FIXME : with new advanced search, this function needs a rewrite
return $string;
$words = explode( ',', $search );
$style = 'background-color:white;color:red;';
foreach ( $words as $word ) {