[prev in list] [next in list] [prev in thread] [next in thread]
List: smarty-cvs
Subject: [SMARTY-CVS] cvs: smarty /libs/plugins function.html_select_date.php
From: "Messju Mohr" <messju () php ! net>
Date: 2004-02-22 23:29:08
Message-ID: cvsmessju1077492548 () cvsserver
[Download RAW message or body]
messju Sun Feb 22 18:29:08 2004 EDT
Modified files:
/smarty/libs/plugins function.html_select_date.php
Log:
removed notice on html_select_date with the month_empty-attribute
http://cvs.php.net/diff.php/smarty/libs/plugins/function.html_select_date.php?r1=1.22&r2=1.23&ty=u
Index: smarty/libs/plugins/function.html_select_date.php
diff -u smarty/libs/plugins/function.html_select_date.php:1.22 \
smarty/libs/plugins/function.html_select_date.php:1.23
--- smarty/libs/plugins/function.html_select_date.php:1.22 Fri Feb 13 18:38:08 2004
+++ smarty/libs/plugins/function.html_select_date.php Sun Feb 22 18:29:08 2004
@@ -183,10 +183,9 @@
$month_result .= smarty_function_html_options(array('output' => \
$month_names,
'values' => \
$month_values,
- 'selected' => \
$month_values[(int)$time[1]], + \
'selected' => $a=$time[1] ? strftime($month_value_format, mktime(0, 0, 0, \
(int)$time[1], 1, 2000)) : '',
'print_result' => \
false), $smarty);
-
$month_result .= '</select>';
}
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic