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)
-<input type="radio" name="id" value="1000">Joe Schmoe<br />
-<input type="radio" name="id" value="1001" checked="checked">Jack Smith<br />
-<input type="radio" name="id" value="1002">Jane Johnson<br />
-<input type="radio" name="id" value="1003">Charlie Brown<br /></programlisting>
+<label for="id_1000"><input type="radio" name="id" value="1000" id="id_1000" />Joe Schmoe</label><br />
+<label for="id_1001"><input type="radio" name="id" value="1001" id="id_1001" checked="checked" />Jack Smith</label><br />
+<label for="id_1002"><input type="radio" name="id" value="1002" id="id_1002" />Jane Johnson</label><br />
+<label for="id_1003"><input type="radio" name="id" value="1003" id="id_1003" />Charlie Brown</label><br /></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