mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-30 11:11:23 +02:00
Update profile ICQ output to layers for IE, nothing for NS ... note a height is set for the icon but since all languages use the same ICQ icon it's not apparently a problem for subSilver
git-svn-id: file:///svn/phpbb/trunk@2354 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
f9561ba26e
commit
7565b58358
@ -1,16 +1,4 @@
|
||||
|
||||
<script language="Javascript" type="text/javascript">
|
||||
<!--
|
||||
function create_icq_subsilver(icq_user_addr, icq_status_img, icq_add_img)
|
||||
{
|
||||
if( icq_user_addr.length && icq_user_addr.indexOf(" ") == -1 )
|
||||
{
|
||||
document.write('<table width="59" border="0" cellspacing="0" cellpadding="0"><tr><td nowrap="nowrap" style=" background-image: url(\'' + icq_add_img + '\'); background-repeat: no-repeat"><img src="images/spacer.gif" width="3" height="18" alt = "">' + icq_status_img + '<a href="http://wwp.icq.com/scripts/search.dll?to=' + icq_user_addr + '"><img src="images/spacer.gif" width="35" height="18" border="0" alt="{L_ICQ_NUMBER}" /></a></td></tr></table>');
|
||||
}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
|
||||
<tr>
|
||||
<td align="left"><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></span></td>
|
||||
@ -82,13 +70,14 @@ function create_icq_subsilver(icq_user_addr, icq_status_img, icq_add_img)
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="middle" nowrap="nowrap" align="right"><span class="gen">{L_ICQ_NUMBER}:</span></td>
|
||||
<td class="row1" valign="middle"><span class="gen">
|
||||
<script language="JavaScript" type="text/javascript"><!--
|
||||
<td class="row1"><script language="JavaScript" type="text/javascript"><!--
|
||||
|
||||
create_icq_subsilver('{ICQ}', '{ICQ_STATUS_IMG}', '{ICQ_IMG}');
|
||||
if ( navigator.userAgent.toLowerCase().indexOf('mozilla') != -1 && navigator.userAgent.indexOf('5.') == -1 )
|
||||
document.write(' {ICQ_ADD_IMG}');
|
||||
else
|
||||
document.write('<table cellspacing="0" cellpadding="0" border="0"><tr><td nowrap="nowrap"><div style="position:relative;height:18px"><div style="position:absolute">{ICQ_ADD_IMG}</div><div style="position:absolute;left:3px;top:-1px">{ICQ_STATUS_IMG}</div></div></td></tr></table>');
|
||||
|
||||
//--></script>
|
||||
<noscript>{ICQ_ADD_IMG}</noscript></span></td>
|
||||
//--></script><noscript>{ICQ_ADD_IMG}</noscript></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
|
@ -65,7 +65,7 @@
|
||||
if ( navigator.userAgent.toLowerCase().indexOf('mozilla') != -1 && navigator.userAgent.indexOf('5.') == -1 )
|
||||
document.write(' {postrow.ICQ_ADD_IMG}');
|
||||
else
|
||||
document.write('</td><td> </td><td valign="top" nowrap="nowrap"><div style="position:relative"><div style="position:absolute">{postrow.ICQ_ADD_IMG}</div><div style="position:absolute;left:3px">{postrow.ICQ_STATUS_IMG}</div></div>');
|
||||
document.write('</td><td> </td><td valign="top" nowrap="nowrap"><div style="position:relative"><div style="position:absolute">{postrow.ICQ_ADD_IMG}</div><div style="position:absolute;left:3px;top:-1px">{postrow.ICQ_STATUS_IMG}</div></div>');
|
||||
|
||||
//--></script><noscript>{postrow.ICQ_ADD_IMG}</noscript></td>
|
||||
</tr>
|
||||
|
Loading…
x
Reference in New Issue
Block a user