X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=include%2Fcontrols.php;h=037e331cc86b5aa9e7cf01d743e03cfd91dfc877;hb=e2b8c9273e09091c235959c25d8e4d8122aa6ca8;hp=0129db50115a1913483faaf54a8e41fd8c29e02b;hpb=0bf7e007bb3a7039ea11601c7f93c6da33604228;p=tt-rss.git
diff --git a/include/controls.php b/include/controls.php
old mode 100644
new mode 100755
index 0129db50..037e331c
--- a/include/controls.php
+++ b/include/controls.php
@@ -71,147 +71,55 @@ 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 "";
- }
-}
+ $attributes = "", $include_all_feeds = true,
+ $root_id = null, $nest_level = 0) {
+ $pdo = DB::pdo();
-function print_feed_select($id, $default_id = "",
- $attributes = "", $include_all_feeds = true,
- $root_id = false, $nest_level = 0) {
+ print_r(in_array("CAT:6",$default_ids));
if (!$root_id) {
- print "