From 02f3992a5a6f03b846a00b2a5c9bbdf09e2723a0 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 2 Jul 2017 20:37:52 +0300 Subject: Revert "Revert "filters: support matching on multiple feeds/categories"" This reverts commit f5d174bda96ddc41aa3828bf372a2a3d99cc4460. --- include/controls.php | 98 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) (limited to 'include/controls.php') diff --git a/include/controls.php b/include/controls.php index 3ddf4fd9d..0129db501 100644 --- a/include/controls.php +++ b/include/controls.php @@ -70,6 +70,104 @@ function print_radio($id, $default, $true_is, $values, $attributes = "") { } } +function print_feed_multi_select($id, $default_ids = [], + $attributes = "", $include_all_feeds = true, + $root_id = false, $nest_level = 0) { + + print_r(in_array("CAT:6",$default_ids)); + + if (!$root_id) { + print ""; + } +} + + function print_feed_select($id, $default_id = "", $attributes = "", $include_all_feeds = true, $root_id = false, $nest_level = 0) { -- cgit v1.2.3-54-g00ecf