From 24c79d91c27d41a30e7593b7dca6b5b8bfe84199 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 16 Feb 2021 18:53:56 +0300 Subject: controls_compat: comment out most of them --- include/controls_compat.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'include/controls_compat.php') diff --git a/include/controls_compat.php b/include/controls_compat.php index 3d2779b08..597eb9879 100644 --- a/include/controls_compat.php +++ b/include/controls_compat.php @@ -2,7 +2,7 @@ // the following is deprecated and will be eventually removed -function print_select($id, $default, $values, $attributes = "", $name = "") { +/*function print_select($id, $default, $values, $attributes = "", $name = "") { if (!$name) $name = $id; print ""; -} +}*/ +/* function format_hidden($name, $value) { return ""; } @@ -44,6 +45,7 @@ function format_hidden($name, $value) { function print_hidden($name, $value) { print format_hidden($name, $value); } +*/ function format_checkbox($id, $checked, $value = "", $attributes = "") { $checked_str = $checked ? "checked" : ""; @@ -56,6 +58,7 @@ function print_checkbox($id, $checked, $value = "", $attributes = "") { print format_checkbox($id, $checked, $value, $attributes); } +/* function format_button($type, $value, $attributes = "") { return ""; } @@ -236,6 +239,7 @@ function format_feed_cat_select($id, $default_id, $attributes, $include_all_cats return $ret; } +*/ function stylesheet_tag($filename, $id = false) { $timestamp = filemtime($filename); @@ -284,6 +288,7 @@ function print_error($msg) { return print format_error($msg); } +/* function print_label_select($name, $value, $attributes = "") { $pdo = Db::pdo(); @@ -310,3 +315,4 @@ function print_label_select($name, $value, $attributes = "") { } +*/ -- cgit v1.2.3-54-g00ecf