Fixed 'blabla %s' problem in ALT attr (#504666)

git-svn-id: file:///svn/phpbb/trunk@1911 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Bart van Bragt 2002-01-18 23:27:32 +00:00
parent 5e4bb146a3
commit e753ec60fc
2 changed files with 3 additions and 2 deletions

View file

@ -865,8 +865,8 @@ switch($mode)
"L_THIS_POST_IP" => $lang['This_posts_IP'], "L_THIS_POST_IP" => $lang['This_posts_IP'],
"L_OTHER_IPS" => $lang['Other_IP_this_user'], "L_OTHER_IPS" => $lang['Other_IP_this_user'],
"L_OTHER_USERS" => $lang['Users_this_IP'], "L_OTHER_USERS" => $lang['Users_this_IP'],
"L_SEARCH_POSTS" => $lang['Search_user_posts'],
"L_LOOKUP_IP" => $lang['Lookup_IP'], "L_LOOKUP_IP" => $lang['Lookup_IP'],
"L_SEARCH" => $lang['Search'],
"SEARCH_IMG" => $images['icon_search'], "SEARCH_IMG" => $images['icon_search'],
@ -931,6 +931,7 @@ switch($mode)
"ROW_COLOR" => "#" . $row_color, "ROW_COLOR" => "#" . $row_color,
"ROW_CLASS" => $row_class, "ROW_CLASS" => $row_class,
"USERNAME" => $username, "USERNAME" => $username,
"L_SEARCH_POSTS" => sprintf($lang['Search_user_posts'], $username),
"U_PROFILE" => append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$id"), "U_PROFILE" => append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$id"),
"U_SEARCHPOSTS" => append_sid("search.$phpEx?search_author=" . urlencode($username) . "&showresults=topics")) "U_SEARCHPOSTS" => append_sid("search.$phpEx?search_author=" . urlencode($username) . "&showresults=topics"))

View file

@ -32,7 +32,7 @@
<table width="100%" cellspacing="0" cellpadding="0" border="0"> <table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr> <tr>
<td>&nbsp;<span class="gen"><a href="{userrow.U_PROFILE}">{userrow.USERNAME}</a></span></td> <td>&nbsp;<span class="gen"><a href="{userrow.U_PROFILE}">{userrow.USERNAME}</a></span></td>
<td align="right"><a href="{userrow.U_SEARCHPOSTS}"><img src="{SEARCH_IMG}" border="0" alt="{L_SEARCH_POSTS}" /></a> <td align="right"><a href="{userrow.U_SEARCHPOSTS}" title="{userrow.L_SEARCH_POSTS}"><img src="{SEARCH_IMG}" border="0" alt="{L_SEARCH}" /></a>
&nbsp;</td> &nbsp;</td>
</tr> </tr>
</table> </table>