mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-25 02:01:28 +00:00
sanity checking in filter editor, updated NEWS, changed prefs UI a bit more
This commit is contained in:
@@ -646,7 +646,7 @@
|
||||
}
|
||||
|
||||
print "<table class=\"prefAddFeed\"><tr>
|
||||
<td>Expr: <input id=\"fadd_regexp\"></td>
|
||||
<td><input id=\"fadd_regexp\"></td>
|
||||
<td>";
|
||||
print_select("fadd_match", "", $filter_types);
|
||||
|
||||
@@ -661,7 +661,7 @@
|
||||
(SELECT description FROM ttrss_filter_types
|
||||
WHERE id = filter_type) as filter_type_descr
|
||||
FROM
|
||||
ttrss_filters ORDER by id");
|
||||
ttrss_filters ORDER by regexp");
|
||||
|
||||
print "<p><table width=\"100%\" class=\"prefFilterList\" id=\"prefFilterList\">";
|
||||
|
||||
@@ -684,6 +684,9 @@
|
||||
|
||||
print "<tr class=\"$class\" id=\"FILRR-$filter_id\">";
|
||||
|
||||
$line["regexp"] = htmlspecialchars($line["regexp"]);
|
||||
$line["description"] = htmlspecialchars($line["description"]);
|
||||
|
||||
if (!$edit_filter_id || $subop != "edit") {
|
||||
|
||||
if (!$line["description"]) $line["description"] = "[No description]";
|
||||
|
||||
Reference in New Issue
Block a user