|
From: Paul S. O. <ps...@us...> - 2002-03-19 18:47:12
|
Update of /cvsroot/phpbb/phpBB2/templates/subSilver
In directory usw-pr-cvs1:/tmp/cvs-serv5152/templates/subSilver
Modified Files:
profile_view_body.tpl viewtopic_body.tpl
Log Message:
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
Index: profile_view_body.tpl
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/templates/subSilver/profile_view_body.tpl,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** profile_view_body.tpl 28 Feb 2002 14:08:02 -0000 1.13
--- profile_view_body.tpl 19 Mar 2002 18:47:07 -0000 1.14
***************
*** 1,15 ****
- <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(" ") == -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>
--- 1,3 ----
***************
*** 83,93 ****
<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"><!--
! create_icq_subsilver('{ICQ}', '{ICQ_STATUS_IMG}', '{ICQ_IMG}');
! //--></script>
! <noscript>{ICQ_ADD_IMG}</noscript></span></td>
</tr>
</table>
--- 71,82 ----
<tr>
<td valign="middle" nowrap="nowrap" align="right"><span class="gen">{L_ICQ_NUMBER}:</span></td>
! <td class="row1"><script language="JavaScript" type="text/javascript"><!--
! 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></td>
</tr>
</table>
Index: viewtopic_body.tpl
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/templates/subSilver/viewtopic_body.tpl,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -r1.28 -r1.29
*** viewtopic_body.tpl 2 Mar 2002 21:54:24 -0000 1.28
--- viewtopic_body.tpl 19 Mar 2002 18:47:07 -0000 1.29
***************
*** 66,70 ****
document.write(' {postrow.ICQ_ADD_IMG}');
else
! document.write('</td><td> </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>');
//--></script><noscript>{postrow.ICQ_ADD_IMG}</noscript></td>
--- 66,70 ----
document.write(' {postrow.ICQ_ADD_IMG}');
else
! document.write('</td><td> </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>
|