- 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:
parent
35c3e39bb8
commit
05063edcce
1 changed files with 3 additions and 0 deletions
|
@ -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 ) {
|
||||
|
|
Loading…
Add table
Reference in a new issue