From e574890ea82aa5e14c95623e9dfa7fcc1112992f Mon Sep 17 00:00:00 2001 From: mohrt Date: Fri, 1 Nov 2002 15:18:27 +0000 Subject: [PATCH] make html_options work with optgroup, make func modular and recursive. --- libs/plugins/function.html_options.php | 42 +++++++++++++++++--------- plugins/function.html_options.php | 42 +++++++++++++++++--------- 2 files changed, 54 insertions(+), 30 deletions(-) diff --git a/libs/plugins/function.html_options.php b/libs/plugins/function.html_options.php index 0d91e6e2..79795035 100644 --- a/libs/plugins/function.html_options.php +++ b/libs/plugins/function.html_options.php @@ -21,26 +21,17 @@ function smarty_function_html_options($params, &$smarty) if (isset($options)) { settype($options, 'array'); foreach ($options as $key => $value) { - $html_result .= "