aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2005-01-20 23:42:35 +0000
committerplegall <plg@piwigo.org>2005-01-20 23:42:35 +0000
commit05063edcce876d2c443df2f3d6aeab6295f25075 (patch)
tree95fdb6a03c3c9b0cd4059d53c80301bf2df74d17
parent35c3e39bb8c37fa28d4c189b713e753a6668c274 (diff)
- highlight search results disabled before rewrite
git-svn-id: http://piwigo.org/svn/trunk@717 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/functions.inc.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php
index b3bc71950..457fa0a82 100644
--- a/include/functions.inc.php
+++ b/include/functions.inc.php
@@ -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 ) {