mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-09 06:44:56 +02:00
- 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:
@@ -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 ) {
|
||||
|
||||
Reference in New Issue
Block a user