From 8cf37284e757cd4b36beb69fe3180dabea3e648b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 10 Feb 2017 14:17:18 +0300 Subject: af_zz_imgproxy: add optional setting to proxy all remote images functions: add some form helper methods --- include/functions.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'include/functions.php') diff --git a/include/functions.php b/include/functions.php index 72cf695f3..072779615 100644 --- a/include/functions.php +++ b/include/functions.php @@ -663,6 +663,20 @@ print ""; } + function print_hidden($name, $value) { + print ""; + } + + function print_checkbox($id, $checked, $attributes = "") { + $checked_str = $checked ? "checked" : ""; + + print ""; + } + + function print_button($type, $value, $attributes = "") { + print "

"; + } + function print_radio($id, $default, $true_is, $values, $attributes = "") { foreach ($values as $v) { -- cgit v1.2.3-54-g00ecf