cvs: smarty /docs/en/designers/language-custom-functions language-function-html-radios.xml

"Monte Ohrt" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvsmohrt1112632472@cvsserver>
mohrt		Mon Apr  4 12:34:32 2005 EDT

  Modified files:              
    /smarty/docs/en/designers/language-custom-functions	
                                                       	language-function-html-radios.xml 
  Log:
  fix output example for html_radios
  
  
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-custom-functions/language-function-html-radios.xml?r1=1.3&r2=1.4&ty=u
Index: smarty/docs/en/designers/language-custom-functions/language-function-html-radios.xml
diff -u smarty/docs/en/designers/language-custom-functions/language-function-html-radios.xml:1.3 smarty/docs/en/designers/language-custom-functions/language-function-html-radios.xml:1.4
--- smarty/docs/en/designers/language-custom-functions/language-function-html-radios.xml:1.3	Fri Jul 23 15:12:38 2004
+++ smarty/docs/en/designers/language-custom-functions/language-function-html-radios.xml	Mon Apr  4 12:34:31 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
 		<sect1 id="language.function.html.radios">
 			<title>html_radios</title>
             <informaltable frame="all">
@@ -114,10 +114,10 @@
 
 OUTPUT: (both examples)
 
-&lt;input type="radio" name="id" value="1000"&gt;Joe Schmoe&lt;br /&gt;
-&lt;input type="radio" name="id" value="1001" checked="checked"&gt;Jack Smith&lt;br /&gt;
-&lt;input type="radio" name="id" value="1002"&gt;Jane Johnson&lt;br /&gt;
-&lt;input type="radio" name="id" value="1003"&gt;Charlie Brown&lt;br /&gt;</programlisting>
+&lt;label for="id_1000"&gt;&lt;input type="radio" name="id" value="1000" id="id_1000" /&gt;Joe Schmoe&lt;/label&gt;&lt;br /&gt;
+&lt;label for="id_1001"&gt;&lt;input type="radio" name="id" value="1001" id="id_1001" checked="checked" /&gt;Jack Smith&lt;/label&gt;&lt;br /&gt;
+&lt;label for="id_1002"&gt;&lt;input type="radio" name="id" value="1002" id="id_1002" /&gt;Jane Johnson&lt;/label&gt;&lt;br /&gt;
+&lt;label for="id_1003"&gt;&lt;input type="radio" name="id" value="1003" id="id_1003" /&gt;Charlie Brown&lt;/label&gt;&lt;br /&gt;</programlisting>
 </example>
 </sect1>
 <!-- Keep this comment at the end of the file

-- 
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.