|
From: Paul S. O. <ps...@us...> - 2001-12-24 18:10:46
|
Update of /cvsroot/phpbb/phpBB2/templates/subSilver
In directory usw-pr-cvs1:/tmp/cvs-serv675/templates/subSilver
Modified Files:
privmsgs_read_body.tpl profile_view_body.tpl
viewtopic_body.tpl
Log Message:
Altered way ICQ overlay is done, uses JavaScript ... don't want this generated within the source code.
Index: privmsgs_read_body.tpl
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/templates/subSilver/privmsgs_read_body.tpl,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** privmsgs_read_body.tpl 2001/11/18 14:01:35 1.4
--- privmsgs_read_body.tpl 2001/12/24 18:10:43 1.5
***************
*** 1,3 ****
--- 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 != "" || icq_user_addr != " " )
+ {
+ 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 cellspacing="2" cellpadding="2" border="0" align="center">
<tr>
***************
*** 52,56 ****
<tr>
<td valign="middle" nowrap="nowrap">{PROFILE_IMG} {PM_IMG} {EMAIL_IMG}
! {WWW_IMG} {AIM_IMG} {YIM_IMG} {MSN_IMG} </td><td valign="top" align="left" width="100%" nowrap="nowrap">{ICQ_STATUS_IMG}{ICQ_ADD_IMG}</td>
</tr>
</table>
--- 64,73 ----
<tr>
<td valign="middle" nowrap="nowrap">{PROFILE_IMG} {PM_IMG} {EMAIL_IMG}
! {WWW_IMG} {AIM_IMG} {YIM_IMG} {MSN_IMG} </td><td valign="top" align="left" width="100%" nowrap="nowrap"><script language="JavaScript" type="text/javascript"><!--
!
! create_icq_subsilver('{ICQ}', '{ICQ_STATUS_IMG}', '{ICQ_IMG}');
!
! //--></script>
! <noscript>{ICQ_ADD_IMG}</noscript></td>
</tr>
</table>
Index: profile_view_body.tpl
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/templates/subSilver/profile_view_body.tpl,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** profile_view_body.tpl 2001/12/24 17:17:52 1.10
--- profile_view_body.tpl 2001/12/24 18:10:43 1.11
***************
*** 1,3 ****
--- 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 != "" || icq_user_addr != " " )
+ {
+ 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>
***************
*** 75,79 ****
<tr>
<td valign="middle" nowrap="nowrap" align="right"><span class="gen">{L_ICQ_NUMBER}:</span></td>
! <td class="row1" valign="middle"><span class="gen">{ICQ_STATUS_IMG}{ICQ_ADD_IMG}</span></td>
</tr>
</table>
--- 87,97 ----
<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>
Index: viewtopic_body.tpl
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/templates/subSilver/viewtopic_body.tpl,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -r1.17 -r1.18
*** viewtopic_body.tpl 2001/12/20 19:00:22 1.17
--- viewtopic_body.tpl 2001/12/24 18:10:43 1.18
***************
*** 1,2 ****
--- 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 != "" || icq_user_addr != " " )
+ {
+ 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">
<tr>
***************
*** 58,62 ****
<tr>
<td valign="middle" nowrap="nowrap">{postrow.PROFILE_IMG} {postrow.PM_IMG} {postrow.EMAIL_IMG}
! {postrow.WWW_IMG} {postrow.AIM_IMG} {postrow.YIM_IMG} {postrow.MSN_IMG} </td><td valign="top" align="left" width="100%" nowrap="nowrap">{postrow.ICQ_STATUS_IMG}{postrow.ICQ_ADD_IMG}</td>
</tr>
</table>
--- 71,80 ----
<tr>
<td valign="middle" nowrap="nowrap">{postrow.PROFILE_IMG} {postrow.PM_IMG} {postrow.EMAIL_IMG}
! {postrow.WWW_IMG} {postrow.AIM_IMG} {postrow.YIM_IMG} {postrow.MSN_IMG} </td><td valign="top" align="left" width="100%" nowrap="nowrap"><script language="JavaScript" type="text/javascript"><!--
!
! create_icq_subsilver('{postrow.ICQ}', '{postrow.ICQ_STATUS_IMG}', '{postrow.ICQ_IMG}');
!
! //--></script>
! <noscript>{postrow.ICQ_ADD_IMG}</noscript></td>
</tr>
</table>
|