aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/templates
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2002-03-19 18:47:07 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2002-03-19 18:47:07 +0000
commit7565b5835887904097be44507d6e8738b6937f63 (patch)
tree1277ca138629ceaa429cdbee19d50e93625e8d43 /phpBB/templates
parentf9561ba26ea9290f789758becfc1b043a4c06bac (diff)
downloadforums-7565b5835887904097be44507d6e8738b6937f63.tar
forums-7565b5835887904097be44507d6e8738b6937f63.tar.gz
forums-7565b5835887904097be44507d6e8738b6937f63.tar.bz2
forums-7565b5835887904097be44507d6e8738b6937f63.tar.xz
forums-7565b5835887904097be44507d6e8738b6937f63.zip
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
Diffstat (limited to 'phpBB/templates')
-rw-r--r--phpBB/templates/subSilver/profile_view_body.tpl23
-rw-r--r--phpBB/templates/subSilver/viewtopic_body.tpl2
2 files changed, 7 insertions, 18 deletions
diff --git a/phpBB/templates/subSilver/profile_view_body.tpl b/phpBB/templates/subSilver/profile_view_body.tpl
index efe48a72c6..e2e6f8a567 100644
--- a/phpBB/templates/subSilver/profile_view_body.tpl
+++ b/phpBB/templates/subSilver/profile_view_body.tpl
@@ -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("&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>');
- }
-}
-//-->
-</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>
diff --git a/phpBB/templates/subSilver/viewtopic_body.tpl b/phpBB/templates/subSilver/viewtopic_body.tpl
index be0255505b..9c9c2b1bc8 100644
--- a/phpBB/templates/subSilver/viewtopic_body.tpl
+++ b/phpBB/templates/subSilver/viewtopic_body.tpl
@@ -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>&nbsp;</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>&nbsp;</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>