cvs: smarty /docs/en/designers/language-custom-functions language-function-html-select-date.xml

"Messju Mohr" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvsmessju1086117114@cvsserver>
messju		Tue Jun  1 15:11:54 2004 EDT

  Modified files:              
    /smarty/docs/en/designers/language-custom-functions	
                                                       	language-function-html-select-date.xml 
  Log:
  added notes how to make the values of year-, month- and day_empty
  selected.
  
  
  
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-custom-functions/language-function-html-select-date.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/en/designers/language-custom-functions/language-function-html-select-date.xml
diff -u smarty/docs/en/designers/language-custom-functions/language-function-html-select-date.xml:1.1 smarty/docs/en/designers/language-custom-functions/language-function-html-select-date.xml:1.2
--- smarty/docs/en/designers/language-custom-functions/language-function-html-select-date.xml:1.1	Tue Apr 13 04:40:22 2004
+++ smarty/docs/en/designers/language-custom-functions/language-function-html-select-date.xml	Tue Jun  1 15:11:53 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
 		<sect1 id="language.function.html.select.date">
 			<title>html_select_date</title>
             <informaltable frame="all">
@@ -199,23 +199,30 @@
                         <entry>null</entry>
                         <entry>If supplied then the first element of the year's select-box has this
                         value as it's label and "" as it's value. This is useful to make the
-                        select-box read "Please select a year" for example.</entry>
+                        select-box read "Please select a year" for example.
+
+                        Note that you can use values like "-MM-DD" as time-attribute to indicate
+                        an unselected year.</entry>
                     </row>
                     <row>
-                        <entry>day_empty</entry>
+                        <entry>month_empty</entry>
                         <entry>string</entry>
                         <entry>No</entry>
                         <entry>null</entry>
-                        <entry>If supplied then the first element of the day's select-box has this
-                        value as it's label and "" as it's value.</entry>
+                        <entry>If supplied then the first element of the month's select-box has this
+                        value as it's label and "" as it's value. .
+                        Note that you can use values like "YYYY--DD" as time-attribute to indicate
+                        an unselected month.</entry>
                     </row>
                     <row>
-                        <entry>month_empty</entry>
+                        <entry>day_empty</entry>
                         <entry>string</entry>
                         <entry>No</entry>
                         <entry>null</entry>
-                        <entry>If supplied then the first element of the month's select-box has this
-                        value as it's label and "" as it's value. .</entry>
+                        <entry>If supplied then the first element of the day's select-box has this
+                        value as it's label and "" as it's value.
+                        Note that you can use values like "YYYY-MM-" as time-attribute to indicate
+                        an unselected day.</entry>
                     </row>
                 </tbody>
                 </tgroup>

-- 
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.