From ced18471d2c7f745ccdb6d07085dc5cd2387f7c1 Mon Sep 17 00:00:00 2001 From: messju Date: Thu, 7 Apr 2005 18:11:24 +0000 Subject: [PATCH] added xhtml compliance to html_select_date's year_as_text-feature thanks to Mark West --- NEWS | 2 ++ libs/plugins/function.html_select_date.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index df3571df..b7d8add4 100644 --- a/NEWS +++ b/NEWS @@ -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) diff --git a/libs/plugins/function.html_select_date.php b/libs/plugins/function.html_select_date.php index d81b8906..243dbc9e 100644 --- a/libs/plugins/function.html_select_date.php +++ b/libs/plugins/function.html_select_date.php @@ -253,7 +253,7 @@ function smarty_function_html_select_date($params, &$smarty) if (null !== $year_extra){ $year_result .= ' ' . $year_extra; } - $year_result .= '>'; + $year_result .= ' />'; } else { $years = range((int)$start_year, (int)$end_year); if ($reverse_years) {