From 673d54caa558f33950e8534be5a9906f6345acb1 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 20 May 2006 10:41:47 +0100 Subject: various interface improvements/fixes --- backend.php | 269 ++++++---------------------------------------------------- functions.php | 71 ++++++++++++++++ prefs.js | 27 +++--- tt-rss.css | 34 +++----- 4 files changed, 117 insertions(+), 284 deletions(-) diff --git a/backend.php b/backend.php index bb4180449..6a3f7ecf3 100644 --- a/backend.php +++ b/backend.php @@ -1426,27 +1426,10 @@ print "Category:"; print ""; - print ""; + print ""; print ""; } @@ -1455,8 +1438,6 @@ # $row_class = toggleEvenOdd($row_class); print "Update Interval:"; -// print ""; print ""; @@ -2008,24 +1989,7 @@ print " | "; - $result = db_query($link, "SELECT title,id FROM ttrss_feed_categories - WHERE owner_uid = ".$_SESSION["uid"]." - ORDER BY title"); - - print ""; + print_feed_cat_select($link, "sfeed_set_fcat", "", "disabled"); print " "; @@ -2047,8 +2011,6 @@ print "

Edit Categories

"; - // print "

Categories

"; - print "
-  "; - - print_select("fadd_match", "Title", $filter_types); - - print "  "; - - print " Action: "; - - print " "; - -/* print " "; */ - -/* print ""; */ - print ""; -// print "
"; - $result = db_query($link, "SELECT ttrss_filters.id AS id,reg_exp, ttrss_filter_types.name AS filter_type_name, @@ -2383,29 +2299,10 @@ print ""; - print ""; - print ""; - + print ""; + print_feed_select($link, "iedit_feed", $line["feed_id"]); + print ""; + print ""; print_select("iedit_match", $line["filter_type_descr"], $filter_types); print ""; @@ -2504,7 +2401,7 @@ if ($num_matches > 0) { - print "

Query returned $num_matches matches, first 5 follow:

"; + print "

Query returned $num_matches matches, showing first 15:

"; $result = db_query($link, "SELECT title, @@ -2513,11 +2410,16 @@ WHERE ($expr) AND ttrss_user_entries.ref_id = ttrss_entries.id AND owner_uid = " . $_SESSION["uid"] . " - ORDER BY date_entered DESC LIMIT 5"); + ORDER BY date_entered DESC LIMIT 15"); - print "