cvs: smarty /docs/en/designers/language-custom-functions language-function-html-options.xml
"Monte Ohrt" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.smarty |
|---|---|
| Message-ID | <cvsmohrt1104859172@cvsserver> |
mohrt Tue Jan 4 12:19:32 2005 EDT
Modified files:
/smarty/docs/en/designers/language-custom-functions
language-function-html-options.xml
Log:
make examples easier to identify
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-custom-functions/language-function-html-options.xml?r1=1.3&r2=1.4&ty=u
Index: smarty/docs/en/designers/language-custom-functions/language-function-html-options.xml
diff -u smarty/docs/en/designers/language-custom-functions/language-function-html-options.xml:1.3 smarty/docs/en/designers/language-custom-functions/language-function-html-options.xml:1.4
--- smarty/docs/en/designers/language-custom-functions/language-function-html-options.xml:1.3 Tue Jan 4 12:17:50 2005
+++ smarty/docs/en/designers/language-custom-functions/language-function-html-options.xml Tue Jan 4 12:19:32 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<sect1 id="language.function.html.options">
<title>html_options</title>
<informaltable frame="all">
@@ -81,6 +81,9 @@
<example>
<title>html_options</title>
<programlisting>
+EXAMPLE 1
+---------
+
index.php:
require('Smarty.class.php');
@@ -97,6 +100,8 @@
{html_options values=$cust_ids selected=$customer_id output=$cust_names}
</select>
+EXAMPLE 2
+---------
index.php:
@@ -118,6 +123,7 @@
OUTPUT: (both examples)
+-----------------------
<select name=customer_id>
<option value="1000">Joe Schmoe</option>
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php