From bea3462f56e589ac95619c865cb4d89efe554d13 Mon Sep 17 00:00:00 2001 From: nikrou Date: Mon, 9 Mar 2009 19:41:45 +0000 Subject: fix html warnings. unclosed monotags git-svn-id: http://piwigo.org/svn/trunk@3185 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/smarty/libs/plugins/function.html_checkboxes.php | 2 +- include/smarty/libs/plugins/function.html_image.php | 2 +- include/smarty/libs/plugins/function.html_radios.php | 2 +- include/smarty/libs/plugins/function.html_select_date.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'include/smarty') 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 .= ''; $_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 . ''.$alt.'' . $suffix; + return $prefix . ''.$alt.'' . $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 .= ''; $_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) { -- cgit v1.2.3