Altered way ICQ overlay is done, uses JavaScript ... don't want this generated within the source code.

git-svn-id: file:///svn/phpbb/trunk@1709 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2001-12-24 18:13:05 +00:00
parent 9be9a6602b
commit 34c1fd176d
4 changed files with 56 additions and 4 deletions

View file

@ -20,7 +20,6 @@
TH { background-image: url(templates/subSilver/images/cellpic3.gif) }
TD.cat { background-image: url(templates/subSilver/images/cellpic1.gif) }
TD.rowpic { background-image: url(templates/subSilver/images/cellpic2.jpg); background-repeat: repeat-y }
td.icqback { background-image: url(templates/subSilver/images/icon_icq_add.gif); background-repeat: no-repeat }
TD.catHead,TD.catSides,TD.catLeft,TD.catRight,TD.catBottom { background-image: url(templates/subSilver/images/cellpic1.gif) }

View file

@ -1,4 +1,16 @@
<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 != "&nbsp;" )
{
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>
<td valign="middle">{INBOX_IMG}</td>
@ -51,7 +63,12 @@
<table cellspacing="0" cellpadding="0" border="0" height="18">
<tr>
<td valign="middle" nowrap="nowrap">{PROFILE_IMG} {PM_IMG} {EMAIL_IMG}
{WWW_IMG} {AIM_IMG} {YIM_IMG} {MSN_IMG}&nbsp;</td><td valign="top" align="left" width="100%" nowrap="nowrap">{ICQ_STATUS_IMG}{ICQ_ADD_IMG}</td>
{WWW_IMG} {AIM_IMG} {YIM_IMG} {MSN_IMG}&nbsp;</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>
</td>

View file

@ -1,4 +1,16 @@
<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 != "&nbsp;" )
{
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>
@ -74,7 +86,13 @@
</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">{ICQ_STATUS_IMG}{ICQ_ADD_IMG}</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>
</td>

View file

@ -1,3 +1,16 @@
<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 != "&nbsp;" )
{
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>
<td align="left" valign="bottom" colspan="2"><a class="maintitle" href="{REQUEST_URI}">{TOPIC_TITLE}</a><br />
@ -57,7 +70,12 @@
<table cellspacing="0" cellpadding="0" border="0" height="18" width="18">
<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}&nbsp;</td><td valign="top" align="left" width="100%" nowrap="nowrap">{postrow.ICQ_STATUS_IMG}{postrow.ICQ_ADD_IMG}</td>
{postrow.WWW_IMG} {postrow.AIM_IMG} {postrow.YIM_IMG} {postrow.MSN_IMG}&nbsp;</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>
</td>