cvs: smarty /docs/en/designers/language-custom-functions language-function-html-checkboxes.xml
"Monte Ohrt" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.smarty |
|---|---|
| Message-ID | <cvsmohrt1112632803@cvsserver> |
mohrt Mon Apr 4 12:40:03 2005 EDT
Modified files:
/smarty/docs/en/designers/language-custom-functions
language-function-html-checkboxes.xml
Log:
fix html_checkboxes example text
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-custom-functions/language-function-html-checkboxes.xml?r1=1.6&r2=1.7&ty=u
Index: smarty/docs/en/designers/language-custom-functions/language-function-html-checkboxes.xml
diff -u smarty/docs/en/designers/language-custom-functions/language-function-html-checkboxes.xml:1.6 smarty/docs/en/designers/language-custom-functions/language-function-html-checkboxes.xml:1.7
--- smarty/docs/en/designers/language-custom-functions/language-function-html-checkboxes.xml:1.6 Mon Nov 1 05:42:34 2004
+++ smarty/docs/en/designers/language-custom-functions/language-function-html-checkboxes.xml Mon Apr 4 12:40:02 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
<sect1 id="language.function.html.checkboxes">
<title>html_checkboxes</title>
<informaltable frame="all">
@@ -84,6 +84,9 @@
</para>
<example>
<title>html_checkboxes</title>
+ <para>
+ where PHP code is:
+ </para>
<programlisting role="php">
<![CDATA[
<?php
@@ -99,13 +102,16 @@
]]>
</programlisting>
<para>
- where index.tpl is:
+ and index.tpl is:
</para>
<programlisting>
<![CDATA[
{html_checkboxes name="id" values=$cust_ids selected=$customer_id output=$cust_names separator="<br />"}
]]>
</programlisting>
+ <para>
+ or where PHP code is:
+ </para>
<programlisting role="php">
<![CDATA[
<?php
@@ -123,7 +129,7 @@
]]>
</programlisting>
<para>
- where index.tpl is:
+ and index.tpl is:
</para>
<programlisting>
<![CDATA[
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php