mirror of
https://github.com/smarty-php/smarty.git
synced 2026-02-01 02:59:50 +01:00
fix $smarty.const.foo compiling, clean up double quoted strings,
allow full dollar var syntax in quotes again
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
* Purpose: Prints out a list of checkbox input types
|
||||
* Input: name (optional) - string default "checkbox"
|
||||
* values (required) - array
|
||||
* checkboxes (optional) - associative array
|
||||
* checked (optional) - array default not set
|
||||
* separator (optional) - ie <br> or
|
||||
* output (optional) - without this one the buttons don't have names
|
||||
@@ -21,9 +22,10 @@
|
||||
* {html_checkboxes values=$ids checked=$checked separator='<br>' output=$names}
|
||||
* -------------------------------------------------------------
|
||||
*/
|
||||
require_once $this->_get_plugin_filepath('shared','escape_special_chars');
|
||||
function smarty_function_html_checkboxes($params, &$smarty)
|
||||
{
|
||||
require_once $smarty->_get_plugin_filepath('shared','escape_special_chars');
|
||||
|
||||
extract($params);
|
||||
|
||||
$_html_result = '';
|
||||
|
||||
Reference in New Issue
Block a user