From 7b5c6012d12c35f900dc8f20fdc103cc14959f3a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 18 May 2006 03:48:33 +0100 Subject: unify create filter interface --- backend.php | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to 'backend.php') diff --git a/backend.php b/backend.php index 3a62fe684..c9d86ee0b 100644 --- a/backend.php +++ b/backend.php @@ -2233,6 +2233,8 @@ if ($quiet) return; + print "
PLACEHOLDER
"; + $result = db_query($link, "SELECT description FROM ttrss_filter_types ORDER BY description"); @@ -2242,7 +2244,7 @@ array_push($filter_types, $line["description"]); } - print "
+/* print "
 "; print_select("fadd_match", "Title", $filter_types); @@ -2282,11 +2284,16 @@ class=\"button\" onclick=\"javascript:testFilter()\" value=\"Test filter\"> "; */ - print ""; + value=\"Create filter\">"; */ - print "
"; + print ""; + +// print "
"; $result = db_query($link, "SELECT ttrss_filters.id AS id,reg_exp, @@ -2743,6 +2750,8 @@ $id = $_GET["id"]; $param = $_GET["param"]; + print "
"; + if ($id == "quickAddFeed") { print " Feed URL: "; } + + print "
"; + } // update feeds of all users, may be used anonymously -- cgit v1.2.3-54-g00ecf