From a93c42048cf4ecfdf90970691a70dfe349285ae5 Mon Sep 17 00:00:00 2001 From: messju Date: Fri, 13 Feb 2004 09:21:37 +0000 Subject: [PATCH] changed attribute-name "checked" to "selected" in the docs for html_radios and html_checkboxes. "checked" is deprecated for ages AFAIK and selected is recommended for consistency with {html_options} --- docs/designers.sgml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/designers.sgml b/docs/designers.sgml index 3d9e826b..4291a985 100644 --- a/docs/designers.sgml +++ b/docs/designers.sgml @@ -3854,7 +3854,7 @@ You must supply a <b>state</b>. string/array No empty - the checked checkbox element(s) + the selected checkbox element(s) options @@ -3906,7 +3906,7 @@ $smarty->display('index.tpl'); index.tpl: -{html_checkboxes name="id" values=$cust_ids checked=$customer_id output=$cust_names separator="<br />"} +{html_checkboxes name="id" values=$cust_ids selected=$customer_id output=$cust_names separator="<br />"} index.php: @@ -3923,7 +3923,7 @@ $smarty->display('index.tpl'); index.tpl: -{html_checkboxes name="id" options=$cust_checkboxes checked=$customer_id separator="<br />"} +{html_checkboxes name="id" options=$cust_checkboxes selected=$customer_id separator="<br />"} OUTPUT: (both examples) @@ -4223,11 +4223,11 @@ OUTPUT: (both examples) an array of output for radio buttons - checked + selected string No empty - the checked radio element + the selected radio element options @@ -4273,7 +4273,7 @@ $smarty->display('index.tpl'); index.tpl: -{html_radios values=$cust_ids checked=$customer_id output=$cust_names separator="<br />"} +{html_radios values=$cust_ids selected=$customer_id output=$cust_names separator="<br />"} index.php: @@ -4291,7 +4291,7 @@ $smarty->display('index.tpl'); index.tpl: -{html_radios name="id" options=$cust_radios checked=$customer_id separator="<br />"} +{html_radios name="id" options=$cust_radios selected=$customer_id separator="<br />"} OUTPUT: (both examples)