diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-02-12 15:54:49 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-02-12 15:54:49 +0000 |
commit | d521902402539d9802f42a2d746187d89c67a0b3 (patch) | |
tree | 1a6334e15f7ddfc462ee5f8ca5a9f5ea7caf1fe3 /phpBB/templates/subSilver | |
parent | 8bf3e708802f7d98d9e5bd9925884c08f6a774d6 (diff) | |
download | forums-d521902402539d9802f42a2d746187d89c67a0b3.tar forums-d521902402539d9802f42a2d746187d89c67a0b3.tar.gz forums-d521902402539d9802f42a2d746187d89c67a0b3.tar.bz2 forums-d521902402539d9802f42a2d746187d89c67a0b3.tar.xz forums-d521902402539d9802f42a2d746187d89c67a0b3.zip |
Resolve Netscape 4.x issue with page display problems due to ICQ icon
git-svn-id: file:///svn/phpbb/trunk@2107 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/templates/subSilver')
-rw-r--r-- | phpBB/templates/subSilver/privmsgs_read_body.tpl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/phpBB/templates/subSilver/privmsgs_read_body.tpl b/phpBB/templates/subSilver/privmsgs_read_body.tpl index 405ffd685a..74e953f41c 100644 --- a/phpBB/templates/subSilver/privmsgs_read_body.tpl +++ b/phpBB/templates/subSilver/privmsgs_read_body.tpl @@ -53,7 +53,10 @@ <td valign="middle" nowrap="nowrap">{PROFILE_IMG} {PM_IMG} {EMAIL_IMG} {WWW_IMG} {AIM_IMG} {YIM_IMG} {MSN_IMG}</td><td> </td><td valign="top" nowrap="nowrap"><script language="JavaScript" type="text/javascript"><!-- - document.write('<div style="position:relative"><div style="position:absolute">{ICQ_ADD_IMG}</div><div style="position:absolute;left:3px">{ICQ_STATUS_IMG}</div></div>'); + if ( navigator.userAgent.toLowerCase().indexOf('mozilla') != -1 && navigator.userAgent.indexOf('5.') == -1 ) + document.write('{ICQ_ADD_IMG}'); + else + document.write('<div style="position:relative"><div style="position:absolute">{ICQ_ADD_IMG}</div><div style="position:absolute;left:3px">{ICQ_STATUS_IMG}</div></div>'); //--></script><noscript>{ICQ_ADD_IMG}</noscript></td> </tr> |