cvs: smarty / NEWS /libs/plugins function.html_select_date.php

"Messju Mohr" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvsmessju1112897484@cvsserver>
messju		Thu Apr  7 14:11:24 2005 EDT

  Modified files:              
    /smarty	NEWS 
    /smarty/libs/plugins	function.html_select_date.php 
  Log:
  added xhtml compliance to html_select_date's year_as_text-feature
  thanks to Mark West
  
  
  
http://cvs.php.net/diff.php/smarty/NEWS?r1=1.498&r2=1.499&ty=u
Index: smarty/NEWS
diff -u smarty/NEWS:1.498 smarty/NEWS:1.499
--- smarty/NEWS:1.498	Thu Apr  7 14:06:19 2005
+++ smarty/NEWS	Thu Apr  7 14:11:23 2005
@@ -1,3 +1,5 @@
+  - updated html_select_date's year_as_text-feature to be xhtml compliant
+    (Mark West, messju)
   - fix handling of selected month html_select_date (Yuri Weseman, messju)
 
 Version 2.6.9 (Mar 31, 2005)
http://cvs.php.net/diff.php/smarty/libs/plugins/function.html_select_date.php?r1=1.30&r2=1.31&ty=u
Index: smarty/libs/plugins/function.html_select_date.php
diff -u smarty/libs/plugins/function.html_select_date.php:1.30 smarty/libs/plugins/function.html_select_date.php:1.31
--- smarty/libs/plugins/function.html_select_date.php:1.30	Thu Apr  7 14:06:21 2005
+++ smarty/libs/plugins/function.html_select_date.php	Thu Apr  7 14:11:24 2005
@@ -253,7 +253,7 @@
             if (null !== $year_extra){
                 $year_result .= ' ' . $year_extra;
             }
-            $year_result .= '>';
+            $year_result .= ' />';
         } else {
             $years = range((int)$start_year, (int)$end_year);
             if ($reverse_years) {

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