diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-01-01 17:17:40 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-01-01 17:17:40 +0000 |
commit | d1fdf1e8c7c77d9e16a3c0a6306db96de48ee8ec (patch) | |
tree | a537db6a0a255e0bd10f3d8d9498c5421320de33 | |
parent | bbccb4b745c417081a9e9b9c90684264c0c37d39 (diff) | |
download | forums-d1fdf1e8c7c77d9e16a3c0a6306db96de48ee8ec.tar forums-d1fdf1e8c7c77d9e16a3c0a6306db96de48ee8ec.tar.gz forums-d1fdf1e8c7c77d9e16a3c0a6306db96de48ee8ec.tar.bz2 forums-d1fdf1e8c7c77d9e16a3c0a6306db96de48ee8ec.tar.xz forums-d1fdf1e8c7c77d9e16a3c0a6306db96de48ee8ec.zip |
Added alt and title tags to rank image output
git-svn-id: file:///svn/phpbb/trunk@1767 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r-- | phpBB/viewtopic.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index 91e8cdf692..f8d21fbbec 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -808,7 +808,7 @@ for($i = 0; $i < $total_posts; $i++) if( $postrow[$i]['user_rank'] == $ranksrow[$j]['rank_id'] && $ranksrow[$j]['rank_special'] ) { $poster_rank = $ranksrow[$j]['rank_title']; - $rank_image = ($ranksrow[$j]['rank_image']) ? "<img src=\"" . $ranksrow[$j]['rank_image'] . "\" alt=\"\" border=\"0\" /><br />" : ""; + $rank_image = ( $ranksrow[$j]['rank_image'] ) ? '<img src="' . $ranksrow[$j]['rank_image'] . '" alt="' . $poster_rank . '" title="' . $poster_rank . '" border="0" /><br />' : ""; } } } @@ -819,7 +819,7 @@ for($i = 0; $i < $total_posts; $i++) if( $postrow[$i]['user_posts'] >= $ranksrow[$j]['rank_min'] && !$ranksrow[$j]['rank_special'] ) { $poster_rank = $ranksrow[$j]['rank_title']; - $rank_image = ($ranksrow[$j]['rank_image']) ? "<img src=\"" . $ranksrow[$j]['rank_image'] . "\" alt=\"\" border=\"0\" /><br />" : ""; + $rank_image = ( $ranksrow[$j]['rank_image'] ) ? '<img src="' . $ranksrow[$j]['rank_image'] . '" alt="' . $poster_rank . '" title="' . $poster_rank . '" border="0" /><br />' : ""; } } } |