diff options
Diffstat (limited to 'include/smarty')
4 files changed, 4 insertions, 4 deletions
diff --git a/include/smarty/libs/plugins/function.html_checkboxes.php b/include/smarty/libs/plugins/function.html_checkboxes.php index ed8ad7f33..7733eea74 100644 --- a/include/smarty/libs/plugins/function.html_checkboxes.php +++ b/include/smarty/libs/plugins/function.html_checkboxes.php @@ -133,7 +133,7 @@ function smarty_function_html_checkboxes_output($name, $value, $output, $selecte if (in_array((string)$value, $selected)) { $_output .= ' checked="checked"'; } - $_output .= $extra . ' />' . $output; + $_output .= $extra . '>' . $output; if ($labels) $_output .= '</label>'; $_output .= $separator; diff --git a/include/smarty/libs/plugins/function.html_image.php b/include/smarty/libs/plugins/function.html_image.php index 9abae72ef..96cd795c2 100644 --- a/include/smarty/libs/plugins/function.html_image.php +++ b/include/smarty/libs/plugins/function.html_image.php @@ -134,7 +134,7 @@ function smarty_function_html_image($params, &$smarty) $height = round($height * $_resize); } - return $prefix . '<img src="'.$path_prefix.$file.'" alt="'.$alt.'" width="'.$width.'" height="'.$height.'"'.$extra.' />' . $suffix; + return $prefix . '<img src="'.$path_prefix.$file.'" alt="'.$alt.'" width="'.$width.'" height="'.$height.'"'.$extra.'>' . $suffix; } /* vim: set expandtab: */ diff --git a/include/smarty/libs/plugins/function.html_radios.php b/include/smarty/libs/plugins/function.html_radios.php index 7503cfaca..c3bc903b0 100644 --- a/include/smarty/libs/plugins/function.html_radios.php +++ b/include/smarty/libs/plugins/function.html_radios.php @@ -146,7 +146,7 @@ function smarty_function_html_radios_output($name, $value, $output, $selected, $ if ((string)$value==$selected) { $_output .= ' checked="checked"'; } - $_output .= $extra . ' />' . $output; + $_output .= $extra . '>' . $output; if ($labels) $_output .= '</label>'; $_output .= $separator; diff --git a/include/smarty/libs/plugins/function.html_select_date.php b/include/smarty/libs/plugins/function.html_select_date.php index e5eb18307..ede9c7be1 100644 --- a/include/smarty/libs/plugins/function.html_select_date.php +++ b/include/smarty/libs/plugins/function.html_select_date.php @@ -268,7 +268,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) { |