Doh! This is JavaScript not PHP ... brain is stuck in neutral and clutch has failed ...

git-svn-id: file:///svn/phpbb/trunk@1710 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2001-12-24 18:30:43 +00:00
parent 34c1fd176d
commit 0a194b5f11
3 changed files with 3 additions and 3 deletions

View file

@ -3,7 +3,7 @@
<!-- <!--
function create_icq_subsilver(icq_user_addr, icq_status_img, icq_add_img) function create_icq_subsilver(icq_user_addr, icq_status_img, icq_add_img)
{ {
if( icq_user_addr != "" || icq_user_addr != "&nbsp;" ) if( icq_user_addr.length && icq_user_addr.indexOf("&nbsp;") == -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>'); 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>');
} }

View file

@ -3,7 +3,7 @@
<!-- <!--
function create_icq_subsilver(icq_user_addr, icq_status_img, icq_add_img) function create_icq_subsilver(icq_user_addr, icq_status_img, icq_add_img)
{ {
if( icq_user_addr != "" || icq_user_addr != "&nbsp;" ) if( icq_user_addr.length && icq_user_addr.indexOf("&nbsp;") == -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>'); 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>');
} }

View file

@ -3,7 +3,7 @@
<!-- <!--
function create_icq_subsilver(icq_user_addr, icq_status_img, icq_add_img) function create_icq_subsilver(icq_user_addr, icq_status_img, icq_add_img)
{ {
if( icq_user_addr != "" || icq_user_addr != "&nbsp;" ) if( icq_user_addr.length && icq_user_addr.indexOf("&nbsp;") == -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>'); 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>');
} }