cvs: smarty /docs designers.sgml
"Messju Mohr" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.smarty |
|---|---|
| Message-ID | <cvsmessju1076664098@cvsserver> |
messju Fri Feb 13 04:21:38 2004 EDT
Modified files:
/smarty/docs designers.sgml
Log:
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}
http://cvs.php.net/diff.php/smarty/docs/designers.sgml?r1=1.98&r2=1.99&ty=u
Index: smarty/docs/designers.sgml
diff -u smarty/docs/designers.sgml:1.98 smarty/docs/designers.sgml:1.99
--- smarty/docs/designers.sgml:1.98 Wed Jan 14 11:13:51 2004
+++ smarty/docs/designers.sgml Fri Feb 13 04:21:37 2004
@@ -3854,7 +3854,7 @@
<entry>string/array</entry>
<entry>No</entry>
<entry><emphasis>empty</emphasis></entry>
- <entry>the checked checkbox element(s)</entry>
+ <entry>the selected checkbox element(s)</entry>
</row>
<row>
<entry>options</entry>
@@ -3906,7 +3906,7 @@
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 @@
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 @@
<entry>an array of output for radio buttons</entry>
</row>
<row>
- <entry>checked</entry>
+ <entry>selected</entry>
<entry>string</entry>
<entry>No</entry>
<entry><emphasis>empty</emphasis></entry>
- <entry>the checked radio element</entry>
+ <entry>the selected radio element</entry>
</row>
<row>
<entry>options</entry>
@@ -4273,7 +4273,7 @@
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 @@
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)
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php