aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/templates
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-12-24 18:30:43 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-12-24 18:30:43 +0000
commit0a194b5f1191d38552102465d1c7c1e274e1b230 (patch)
treec5e4bdfbb5ee125796a369c3757237f983adde7a /phpBB/templates
parent34c1fd176dfd63ad3e8980e28fada2024d933675 (diff)
downloadforums-0a194b5f1191d38552102465d1c7c1e274e1b230.tar
forums-0a194b5f1191d38552102465d1c7c1e274e1b230.tar.gz
forums-0a194b5f1191d38552102465d1c7c1e274e1b230.tar.bz2
forums-0a194b5f1191d38552102465d1c7c1e274e1b230.tar.xz
forums-0a194b5f1191d38552102465d1c7c1e274e1b230.zip
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
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>');
}