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 | <cvsmohrt1109966253@cvsserver> |
mohrt Fri Mar 4 14:57:33 2005 EDT
Modified files:
/smarty/docs/en/designers/language-custom-functions
language-function-html-options.xml
Log:
update html_options example with labels
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-custom-functions/language-function-html-options.xml?r1=1.4&r2=1.5&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.4 smarty/docs/en/designers/language-custom-functions/language-function-html-options.xml:1.5
--- smarty/docs/en/designers/language-custom-functions/language-function-html-options.xml:1.4 Tue Jan 4 12:19:32 2005
+++ smarty/docs/en/designers/language-custom-functions/language-function-html-options.xml Fri Mar 4 14:57:30 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<sect1 id="language.function.html.options">
<title>html_options</title>
<informaltable frame="all">
@@ -126,10 +126,10 @@
-----------------------
<select name=customer_id>
- <option value="1000">Joe Schmoe</option>
- <option value="1001" selected="selected">Jack Smith</option>
- <option value="1002">Jane Johnson</option>
- <option value="1003">Charlie Brown</option>
+ <option label="Joe Schmoe" value="1000">Joe Schmoe</option>
+ <option label="Jack Smith" value="1001" selected="selected">Jack Smith</option>
+ <option label="Jane Johnson" value="1002">Jane Johnson</option>
+ <option label="Charlie Brown" value="1003">Charlie Brown</option>
</select></programlisting>
</example>
</sect1>
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php