From bbd9e5045ed4276d47bd55124f81b35440849c1d Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 1 Dec 2017 15:03:14 +0300 Subject: [PATCH] controls: start pdo stuff --- include/controls.php | 120 +++++---------------------------------- include/sanity_check.php | 6 +- 2 files changed, 18 insertions(+), 108 deletions(-) diff --git a/include/controls.php b/include/controls.php index c3dbbfe18..97b4b6711 100644 --- a/include/controls.php +++ b/include/controls.php @@ -167,122 +167,30 @@ function print_feed_multi_select($id, $default_ids = [], } } - -/*function print_feed_select($id, $default_id = "", - $attributes = "", $include_all_feeds = true, - $root_id = false, $nest_level = 0) { - - if (!$root_id) { - print ""; - } -}*/ - function print_feed_cat_select($id, $default_id, - $attributes, $include_all_cats = true, $root_id = false, $nest_level = 0) { + $attributes, $include_all_cats = true, $root_id = null, $nest_level = 0) { if (!$root_id) { print "