aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2009-03-09 19:41:45 +0000
committernikrou <nikrou@piwigo.org>2009-03-09 19:41:45 +0000
commitbea3462f56e589ac95619c865cb4d89efe554d13 (patch)
tree048b6e1e0737604053f6982ebae253c9ce7fc332 /include
parent10e179f482cdba4ba8bfbe98a51b160435d399c1 (diff)
fix html warnings. unclosed monotags
git-svn-id: http://piwigo.org/svn/trunk@3185 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/category_cats.inc.php2
-rw-r--r--include/feedcreator.class.php2
-rw-r--r--include/functions_html.inc.php14
-rw-r--r--include/functions_notification.inc.php6
-rw-r--r--include/smarty/libs/plugins/function.html_checkboxes.php2
-rw-r--r--include/smarty/libs/plugins/function.html_image.php2
-rw-r--r--include/smarty/libs/plugins/function.html_radios.php2
-rw-r--r--include/smarty/libs/plugins/function.html_select_date.php2
-rw-r--r--include/ws_core.inc.php4
9 files changed, 18 insertions, 18 deletions
diff --git a/include/category_cats.inc.php b/include/category_cats.inc.php
index b923ec569..635b5efed 100644
--- a/include/category_cats.inc.php
+++ b/include/category_cats.inc.php
@@ -257,7 +257,7 @@ if (count($categories) > 0)
$category['count_images'],
$category['count_categories'],
true,
- '<br />'
+ '<br>'
),
'DESCRIPTION' =>
trigger_event('render_category_literal_description',
diff --git a/include/feedcreator.class.php b/include/feedcreator.class.php
index f274b8417..62ba6c06b 100644
--- a/include/feedcreator.class.php
+++ b/include/feedcreator.class.php
@@ -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>";
}
}
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 = '<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>&nbsp;';
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>';
}
diff --git a/include/functions_notification.inc.php b/include/functions_notification.inc.php
index 885dba6e6..2f6d16ed3 100644
--- a/include/functions_notification.inc.php
+++ b/include/functions_notification.inc.php
@@ -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>'
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) {
diff --git a/include/ws_core.inc.php b/include/ws_core.inc.php
index c9ee520f6..6d27d0b93 100644
--- a/include/ws_core.inc.php
+++ b/include/ws_core.inc.php
@@ -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))