mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 02:14:26 +02:00
made html_options output xhtml compatible
This commit is contained in:
2
NEWS
2
NEWS
@@ -1,3 +1,5 @@
|
||||
- made html_options output xhtml compatible (Monte, Arnaud Limbourg)
|
||||
|
||||
Version 1.4.5
|
||||
-------------
|
||||
- update FAQ with index of questions at the top
|
||||
|
@@ -2,7 +2,9 @@
|
||||
-----
|
||||
|
||||
Mostly bug fixes and minor improvements. Added compile id for separate compiled
|
||||
versions of the same script. See the ChangeLog for detailed changes.
|
||||
versions of the same script. The directory format and filename convention for
|
||||
the files in templates_c has changed, so you may want to remove all of the
|
||||
existing ones before you upgrade.
|
||||
|
||||
1.4.4
|
||||
-----
|
||||
|
@@ -225,7 +225,7 @@ function smarty_func_html_options()
|
||||
foreach ($options as $key => $value) {
|
||||
$html_result .= "<option value=\"$key\"";
|
||||
if (in_array($key, $selected))
|
||||
$html_result .= " selected";
|
||||
$html_result .= " selected=\"selected\"";
|
||||
$html_result .= ">$value</option>\n";
|
||||
}
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user