From 02a7c04d888600ecd2596662ea38003b754c2e11 Mon Sep 17 00:00:00 2001 From: mohrt Date: Thu, 24 Feb 2005 14:37:48 +0000 Subject: [PATCH] add label ids to html_radios --- QUICK_START | 1 + libs/plugins/function.html_radios.php | 9 +++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/QUICK_START b/QUICK_START index c9e0fdb8..6ae3e466 100644 --- a/QUICK_START +++ b/QUICK_START @@ -9,6 +9,7 @@ INSTALL SMARTY LIBRARY FILES Copy the Smarty library files to your system. In our example, we place them in /usr/local/lib/php/Smarty/ +$> cd YOUR_DOWNLOAD_DIRECTORY $> gtar -ztvf Smarty-2.6.7.tar.gz $> mkdir /usr/local/lib/php/Smarty $> cp -r Smarty-2.6.7/libs/* /usr/local/lib/php/Smarty diff --git a/libs/plugins/function.html_radios.php b/libs/plugins/function.html_radios.php index 9ba6fb0c..dc7baee8 100644 --- a/libs/plugins/function.html_radios.php +++ b/libs/plugins/function.html_radios.php @@ -127,11 +127,16 @@ function smarty_function_html_radios($params, &$smarty) function smarty_function_html_radios_output($name, $value, $output, $selected, $extra, $separator, $labels) { $_output = ''; - if ($labels) $_output .= '