cvs: smarty /docs/en/designers/language-custom-functions language-function-html-radios.xml
[email protected] ("Messju Mohr") Tue, 13 Dec 2005 23:07:40 -0000
| Newsgroups | php.smarty.cvs |
|---|---|
| Message-ID | <cvsmessju1134515260@cvsserver> |
messju Tue Dec 13 23:07:40 2005 EDT
Modified files:
/smarty/docs/en/designers/language-custom-functions
language-function-html-radios.xml
Log:
fixed example output
http://cvs.php.net/viewcvs.cgi/smarty/docs/en/designers/language-custom-functions/language-function-html-radios.xml?r1=1.9&r2=1.10&diff_format=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.9 smarty/docs/en/designers/language-custom-functions/language-function-html-radios.xml:1.10
--- smarty/docs/en/designers/language-custom-functions/language-function-html-radios.xml:1.9 Tue Sep 13 19:03:11 2005
+++ smarty/docs/en/designers/language-custom-functions/language-function-html-radios.xml Tue Dec 13 23:07:40 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.9 $ -->
+<!-- $Revision: 1.10 $ -->
<sect1 id="language.function.html.radios">
<title>{html_radios}</title>
<para>
@@ -137,21 +137,16 @@
<screen>
<![CDATA[
<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 />
+<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 />
]]>
</screen>
</example>
- <example>
+ <example>
<title>{html_radios}- Database example (eg PEAR or ADODB):</title>
-<programlisting role="php">
+ <programlisting role="php">
<![CDATA[
<?php
@@ -164,24 +159,23 @@
?>
]]>
-</programlisting>
-<para>
-and the template:
-</para>
-<programlisting>
+ </programlisting>
+ <para>
+ and the template:
+ </para>
+ <programlisting>
<![CDATA[
{html_radios name="type" options=$types selected=$contact.type_id separator="<br />"}
]]>
-</programlisting>
+ </programlisting>
</example>
- <para>
- See also
- <link linkend="language.function.html.checkboxes">{html_checkboxes}</link>
- and
- <link linkend="language.function.html.options">{html_options}</link>
+ <para>
+ See also <link
+ linkend="language.function.html.checkboxes">{html_checkboxes}</link>
+ and <link
+ linkend="language.function.html.options">{html_options}</link>
</para>
</sect1>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml