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 @@
 -----------------------
 
 &lt;select name=customer_id&gt;
-	&lt;option value="1000"&gt;Joe Schmoe&lt;/option&gt;
-	&lt;option value="1001" selected="selected"&gt;Jack Smith&lt;/option&gt;
-	&lt;option value="1002"&gt;Jane Johnson&lt;/option&gt;
-	&lt;option value="1003"&gt;Charlie Brown&lt;/option&gt;
+	&lt;option label="Joe Schmoe" value="1000"&gt;Joe Schmoe&lt;/option&gt;
+	&lt;option label="Jack Smith" value="1001" selected="selected"&gt;Jack Smith&lt;/option&gt;
+	&lt;option label="Jane Johnson" value="1002"&gt;Jane Johnson&lt;/option&gt;
+	&lt;option label="Charlie Brown" value="1003"&gt;Charlie Brown&lt;/option&gt;
 &lt;/select&gt;</programlisting>
 </example>
 </sect1>

-- 
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.