From 2c7070b519be0c55deb9533ebee358c6f628f198 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 21 Nov 2005 14:59:32 +0100 Subject: per-feed filters tweaks, prefAddFeed table removed, update NEWS --- backend.php | 71 +++++++++++++++++++++++++++++-------------------------------- 1 file changed, 34 insertions(+), 37 deletions(-) (limited to 'backend.php') diff --git a/backend.php b/backend.php index 2bc775bd6..9fe421ffb 100644 --- a/backend.php +++ b/backend.php @@ -990,11 +990,10 @@ } - print " - - -
- Add feed
"; + print "
+  
"; $result = db_query($link, "SELECT id,title,feed_url,substring(last_updated,1,16) as last_updated, @@ -1225,9 +1224,9 @@ array_push($filter_types, $line["description"]); } - print " - - -
"; + print "
+  "; + print_select("fadd_match", "Title", $filter_types); print " "; + print " "; - print"
- Add filter
"; + print ""; $result = db_query($link, "SELECT ttrss_filters.id AS id,reg_exp, @@ -1269,8 +1268,8 @@ print " SelectFilter expression - DescriptionMatch - Feed"; + FeedMatch + Description"; $lnum = 0; @@ -1301,15 +1300,15 @@ print "" . $line["reg_exp"] . ""; - + print "" . - $line["description"] . ""; + $line["feed_title"] . ""; print "" . $line["filter_type_descr"] . ""; print "" . - $line["feed_title"] . ""; + $line["description"] . ""; } else if ($filter_id != $edit_filter_id) { @@ -1319,9 +1318,9 @@ id=\"FICHK-".$line["id"]."\">"; print "".$line["reg_exp"].""; - print "".$line["description"].""; - print "".$line["filter_type_descr"].""; print "".$line["feed_title"].""; + print "".$line["filter_type_descr"].""; + print "".$line["description"].""; } else { @@ -1330,13 +1329,6 @@ print ""; - print ""; - - print ""; - print_select("iedit_match", $line["filter_type_descr"], $filter_types); - print ""; - print ""; print ""; + print ""; + + print ""; + print_select("iedit_match", $line["filter_type_descr"], $filter_types); + print ""; + + print ""; print ""; } @@ -1440,12 +1439,11 @@ } } - print " - "; + print "
+  "; - print"
-
- Add label
"; + print""; $result = db_query($link, "SELECT id,sql_exp,description @@ -2028,12 +2026,11 @@ } } - print " - "; + print "
+  "; - print"
-
- Add user
"; + print""; $result = db_query($link, "SELECT id,login,access_level, -- cgit v1.2.3-54-g00ecf