]> git.wh0rd.org Git - tt-rss.git/commitdiff
disable filter test result highlighting for the time being
authorAndrew Dolgov <noreply@fakecake.org>
Tue, 15 Sep 2015 17:55:08 +0000 (20:55 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Tue, 15 Sep 2015 17:55:08 +0000 (20:55 +0300)
classes/pref/filters.php

index e2fedb1174ee314f1cd909f72016d15562d334a1..d768a136f42e154bfd2c03447c9784196a6125ab 100755 (executable)
@@ -151,7 +151,7 @@ class Pref_Filters extends Handler_Protected {
                                        $tmp .= "<td width='5%' align='center'><img style='cursor : pointer' title='".__("Preview article")."'
                                                src='images/information.png' onclick='openArticlePopup($id)'></td><td>";
 
-                                       foreach ($filter['rules'] as $rule) {
+                                       /*foreach ($filter['rules'] as $rule) {
                                                $reg_exp = str_replace('/', '\/', $rule["reg_exp"]);
 
                                                $line["title"] = preg_replace("/($reg_exp)/i",
@@ -159,7 +159,7 @@ class Pref_Filters extends Handler_Protected {
 
                                                $content_preview = preg_replace("/($reg_exp)/i",
                                                        "<span class=\"highlight\">$1</span>", $content_preview);
-                                       }
+                                       }*/
 
                                        $tmp .= "<strong>" . $line["title"] . "</strong><br/>";
                                        $tmp .= $line['feed_title'] . ", " . mb_substr($line["date_entered"], 0, 16);