mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 17:23:04 +02:00
fix html warnings. unclosed monotags
git-svn-id: http://piwigo.org/svn/trunk@3185 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -257,7 +257,7 @@ if (count($categories) > 0)
|
||||
$category['count_images'],
|
||||
$category['count_categories'],
|
||||
true,
|
||||
'<br />'
|
||||
'<br>'
|
||||
),
|
||||
'DESCRIPTION' =>
|
||||
trigger_event('render_category_literal_description',
|
||||
|
||||
@@ -689,7 +689,7 @@ class FeedCreator extends HtmlDescribable {
|
||||
$this->_redirect($filename);
|
||||
}
|
||||
} else {
|
||||
echo "<br /><b>Error creating feed file, please check write permissions.</b><br />";
|
||||
echo "<br><b>Error creating feed file, please check write permissions.</b><br>";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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 = '<img title="'.$title.'" src="'.$icon_url.'" class="icon" style="border:0;';
|
||||
$output.= 'height:'.$size[1].'px;width:'.$size[0].'px" alt="(!)" />';
|
||||
$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']
|
||||
.'</label>'
|
||||
.'</li>'
|
||||
@@ -344,7 +344,7 @@ function access_denied()
|
||||
if ( isset($user) and !is_a_guest() )
|
||||
{
|
||||
echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8">';
|
||||
echo '<div style="text-align:center;">'.l10n('access_forbiden').'<br />';
|
||||
echo '<div style="text-align:center;">'.l10n('access_forbiden').'<br>';
|
||||
echo '<a href="'.get_root_url().'identification.php">'.l10n('identification').'</a> ';
|
||||
echo '<a href="'.make_index_url().'">'.l10n('home').'</a></div>';
|
||||
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,
|
||||
'<div style="text-align:left; margin-left:5em;margin-bottom:5em;">
|
||||
<h1 style="text-align:left; font-size:36px;">Forbidden</h1><br/>'
|
||||
<h1 style="text-align:left; font-size:36px;">Forbidden</h1><br>'
|
||||
.$msg.'</div>',
|
||||
5 );
|
||||
}
|
||||
@@ -385,7 +385,7 @@ function bad_request($msg, $alternate_url=null)
|
||||
$alternate_url = make_index_url();
|
||||
redirect_html( $alternate_url,
|
||||
'<div style="text-align:left; margin-left:5em;margin-bottom:5em;">
|
||||
<h1 style="text-align:left; font-size:36px;">Bad request</h1><br/>'
|
||||
<h1 style="text-align:left; font-size:36px;">Bad request</h1><br>'
|
||||
.$msg.'</div>',
|
||||
5 );
|
||||
}
|
||||
@@ -402,7 +402,7 @@ function page_not_found($msg, $alternate_url=null)
|
||||
$alternate_url = make_index_url();
|
||||
redirect_html( $alternate_url,
|
||||
'<div style="text-align:left; margin-left:5em;margin-bottom:5em;">
|
||||
<h1 style="text-align:left; font-size:36px;">Page not found</h1><br/>'
|
||||
<h1 style="text-align:left; font-size:36px;">Page not found</h1><br>'
|
||||
.$msg.'</div>',
|
||||
5 );
|
||||
}
|
||||
@@ -486,7 +486,7 @@ function get_tags_content_title()
|
||||
.l10n('remove this tag')
|
||||
.'"><img src="'
|
||||
.get_root_url().get_themeconf('icon_dir').'/remove_s.png'
|
||||
.'" alt="x" style="vertical-align:bottom;" class="button"/>'
|
||||
.'" alt="x" style="vertical-align:bottom;" class="button">'
|
||||
.'</a>';
|
||||
}
|
||||
|
||||
|
||||
@@ -531,7 +531,7 @@ function get_html_description_recent_post_date($date_detail)
|
||||
.'<a href="'.make_index_url(array('section'=>'recent_pics')).'">'
|
||||
.l10n('recent_pics_cat').'</a>'
|
||||
.')'
|
||||
.'</li><br/>';
|
||||
.'</li><br>';
|
||||
|
||||
foreach($date_detail['elements'] as $element)
|
||||
{
|
||||
@@ -541,9 +541,9 @@ function get_html_description_recent_post_date($date_detail)
|
||||
'image_id' => $element['id'],
|
||||
'image_file' => $element['file'],
|
||||
))
|
||||
.'"><img src="'.$tn_src.'"/></a>';
|
||||
.'"><img src="'.$tn_src.'"></a>';
|
||||
}
|
||||
$description .= '...<br/>';
|
||||
$description .= '...<br>';
|
||||
|
||||
$description .=
|
||||
'<li>'
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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: */
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -203,7 +203,7 @@ class PwgResponseEncoder
|
||||
$changed = 0;
|
||||
$changed += PwgResponseEncoder::_removeNamedArray($value);
|
||||
$changed += PwgResponseEncoder::_removeNamedStruct($value);
|
||||
// print_r('walk '.$key."<br/>\n");
|
||||
// print_r('walk '.$key."<br>\n");
|
||||
}
|
||||
while ($changed);
|
||||
}
|
||||
@@ -218,7 +218,7 @@ class PwgResponseEncoder
|
||||
print_r( '_mergeAttributesAndContent is_struct='.PwgResponseEncoder::is_struct($value)
|
||||
.' count='.count($value)
|
||||
.' first_key='.$first_key
|
||||
."<br/>\n"
|
||||
."<br>\n"
|
||||
);*/
|
||||
$ret = 0;
|
||||
if (PwgResponseEncoder::is_struct($value))
|
||||
|
||||
Reference in New Issue
Block a user