diff --git a/docs/en/designers/language-custom-functions/language-function-html-radios.xml b/docs/en/designers/language-custom-functions/language-function-html-radios.xml index dcc8f8bd..ef2c6de7 100644 --- a/docs/en/designers/language-custom-functions/language-function-html-radios.xml +++ b/docs/en/designers/language-custom-functions/language-function-html-radios.xml @@ -84,14 +84,14 @@ require('Smarty.class.php'); $smarty = new Smarty; $smarty->assign('cust_ids', array(1000,1001,1002,1003)); $smarty->assign('cust_names', array('Joe Schmoe','Jack Smith','Jane -Johnson','Carlie Brown')); +Johnson','Charlie Brown')); $smarty->assign('customer_id', 1001); $smarty->display('index.tpl'); index.tpl: -{html_radios values=$cust_ids selected=$customer_id output=$cust_names separator="<br />"} +{html_radios name="id" values=$cust_ids selected=$customer_id output=$cust_names separator="<br />"} index.php: @@ -139,4 +139,4 @@ End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> \ No newline at end of file +-->