diff options
author | nikrou <nikrou@piwigo.org> | 2009-03-09 19:41:45 +0000 |
---|---|---|
committer | nikrou <nikrou@piwigo.org> | 2009-03-09 19:41:45 +0000 |
commit | bea3462f56e589ac95619c865cb4d89efe554d13 (patch) | |
tree | 048b6e1e0737604053f6982ebae253c9ce7fc332 /include/smarty/libs | |
parent | 10e179f482cdba4ba8bfbe98a51b160435d399c1 (diff) |
fix html warnings. unclosed monotags
git-svn-id: http://piwigo.org/svn/trunk@3185 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/smarty/libs')
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) { |