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/functions_html.inc.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'include/functions_html.inc.php') diff --git a/include/functions_html.inc.php b/include/functions_html.inc.php index 45e5e04eb..4dac9cb88 100644 --- a/include/functions_html.inc.php +++ b/include/functions_html.inc.php @@ -61,7 +61,7 @@ function get_icon($date, $is_child_date = false) $size = getimagesize( PHPWG_ROOT_PATH.$icon_url ); $icon_url = get_root_url().$icon_url; $output = '(!)'; + $output.= 'height:'.$size[1].'px;width:'.$size[0].'px" alt="(!)">'; $cache['get_icon']['_icons_'][$key] = $output; } } @@ -307,7 +307,7 @@ function get_html_tag_selection( } $output.= - ' />' + '>' .' '. $tag['name'] .'' .'' @@ -344,7 +344,7 @@ function access_denied() if ( isset($user) and !is_a_guest() ) { echo ''; - echo '
'.l10n('access_forbiden').'
'; + echo '
'.l10n('access_forbiden').'
'; echo ''.l10n('identification').' '; echo ''.l10n('home').'
'; echo str_repeat( ' ', 512); //IE6 doesn't error output if below a size @@ -368,7 +368,7 @@ function page_forbidden($msg, $alternate_url=null) $alternate_url = make_index_url(); redirect_html( $alternate_url, '
-

Forbidden


' +

Forbidden


' .$msg.'
', 5 ); } @@ -385,7 +385,7 @@ function bad_request($msg, $alternate_url=null) $alternate_url = make_index_url(); redirect_html( $alternate_url, '
-

Bad request


' +

Bad request


' .$msg.'
', 5 ); } @@ -402,7 +402,7 @@ function page_not_found($msg, $alternate_url=null) $alternate_url = make_index_url(); redirect_html( $alternate_url, '
-

Page not found


' +

Page not found


' .$msg.'
', 5 ); } @@ -486,7 +486,7 @@ function get_tags_content_title() .l10n('remove this tag') .'">x' + .'" alt="x" style="vertical-align:bottom;" class="button">' .''; } -- cgit v1.2.3