cvs: smarty / NEWS /libs/plugins function.html_radios.php

From: Date: Fri, 14 Mar 2003 15:52:34 +0000
Subject: cvs: smarty / NEWS /libs/plugins function.html_radios.php
Groups: php.smarty.cvs 
Request: Send a blank email to php-smarty-cvs+get-455@lists.php.net to get a copy of this message
mohrt Fri Mar 14 10:52:34 2003 EDT Modified files: /smarty NEWS /smarty/libs/plugins function.html_radios.php Log: fixed html_options to not return an array Index: smarty/NEWS diff -u smarty/NEWS:1.306 smarty/NEWS:1.307 --- smarty/NEWS:1.306 Wed Mar 12 16:56:32 2003 +++ smarty/NEWS Fri Mar 14 10:52:34 2003 @@ -1,3 +1,4 @@ + - fix html_radios to not return an array (Monte) - fixed length in modifier.truncate.php (messju) - fixed handling of '$'-signs in trimwhitespace outputfilter (messju) - fix bug that makes config files recompile every time Index: smarty/libs/plugins/function.html_radios.php diff -u smarty/libs/plugins/function.html_radios.php:1.5 smarty/libs/plugins/function.html_radios.php:1.6 --- smarty/libs/plugins/function.html_radios.php:1.5 Fri Feb 28 10:08:14 2003 +++ smarty/libs/plugins/function.html_radios.php Fri Mar 14 10:52:34 2003 @@ -49,7 +49,7 @@ } function smarty_function_html_radios_output($name, $value, $output, $checked, $separator) { - $_output = '<input type="radio" name="' . smarty_function_escape_special_chars($name) . '[]' .'" value="' . smarty_function_escape_special_chars($value) . '"'; + $_output = '<input type="radio" name="' . smarty_function_escape_special_chars($name) . '" value="' . smarty_function_escape_special_chars($value) . '"'; if (in_array($value, $checked)) { $_output .= " checked=\"checked\"";

« previous php.smarty.cvs (#455) next »