diff options
author | Andrew Dolgov <[email protected]> | 2005-09-03 09:03:06 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-09-03 09:03:06 +0100 |
commit | ea6774cf1d4bfc4fae156198dcffa709c8367785 (patch) | |
tree | df8aaa8245c52cb5d6dc92c1d35075a302a0d805 /backend.php | |
parent | 0afbd8519316ed633db6e1729653728913f63ebc (diff) |
sanity checking in filter editor, updated NEWS, changed prefs UI a bit more
Diffstat (limited to 'backend.php')
-rw-r--r-- | backend.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/backend.php b/backend.php index 2c87cb7c6..20847f00a 100644 --- a/backend.php +++ b/backend.php @@ -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]"; |