aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/templates
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/templates')
-rw-r--r--phpBB/templates/subSilver/privmsgs_read_body.tpl2
-rw-r--r--phpBB/templates/subSilver/profile_view_body.tpl2
-rw-r--r--phpBB/templates/subSilver/viewtopic_body.tpl2
3 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/templates/subSilver/privmsgs_read_body.tpl b/phpBB/templates/subSilver/privmsgs_read_body.tpl
index 09cc9b597b..baa0406819 100644
--- a/phpBB/templates/subSilver/privmsgs_read_body.tpl
+++ b/phpBB/templates/subSilver/privmsgs_read_body.tpl
@@ -3,7 +3,7 @@
<!--
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>');
}
diff --git a/phpBB/templates/subSilver/profile_view_body.tpl b/phpBB/templates/subSilver/profile_view_body.tpl
index f8e6e143b7..5591e67c79 100644
--- a/phpBB/templates/subSilver/profile_view_body.tpl
+++ b/phpBB/templates/subSilver/profile_view_body.tpl
@@ -3,7 +3,7 @@
<!--
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>');
}
diff --git a/phpBB/templates/subSilver/viewtopic_body.tpl b/phpBB/templates/subSilver/viewtopic_body.tpl
index b833c80bf7..7313556677 100644
--- a/phpBB/templates/subSilver/viewtopic_body.tpl
+++ b/phpBB/templates/subSilver/viewtopic_body.tpl
@@ -3,7 +3,7 @@
<!--
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>');
}