From ff6e357a62a050d0fddb844311717ea3ccfb40dd Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 30 Apr 2008 08:20:33 +0100 Subject: add some initial scoring work --- modules/pref-filters.php | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'modules') diff --git a/modules/pref-filters.php b/modules/pref-filters.php index a37970381..81a3d0d1a 100644 --- a/modules/pref-filters.php +++ b/modules/pref-filters.php @@ -78,7 +78,7 @@ print "".__('Params:').""; - $param_disabled = ($action_id == 4) ? "" : "disabled"; + $param_disabled = ($action_id == 4 || $action_id == 6) ? "" : "disabled"; print ""; @@ -236,7 +236,9 @@ inverse, feed_id, ttrss_filter_actions.description AS action_description, - ttrss_feeds.title AS feed_title + ttrss_feeds.title AS feed_title, + ttrss_filter_actions.name AS action_name, + ttrss_filters.action_param AS action_param FROM ttrss_filter_types,ttrss_filter_actions,ttrss_filters LEFT JOIN ttrss_feeds ON (ttrss_filters.feed_id = ttrss_feeds.id) @@ -261,8 +263,9 @@   ".__('Filter expression')." ".__('Feed')." - ".__('Match')." - ".__('Action').""; + ".__('Match')." + ".__('Action')." + ".__('Params').""; $lnum = 0; @@ -324,8 +327,11 @@ $line["filter_type_descr"] . "$inverse_label"; print "" . - $line["action_description"] . ""; - + $line["action_description"].""; + + print "" . + $line["action_param"] . ""; + print ""; ++$lnum; -- cgit v1.2.3