fix $smarty.const.foo compiling, clean up double quoted strings,

allow full dollar var syntax in quotes again
This commit is contained in:
mohrt
2003-02-28 15:08:15 +00:00
parent 984a3e8397
commit d785df41b3
13 changed files with 687 additions and 163 deletions

View File

@@ -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 &nbsp;
* 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 = '';