aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/templates
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-12-24 18:13:05 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-12-24 18:13:05 +0000
commit34c1fd176dfd63ad3e8980e28fada2024d933675 (patch)
treeb31df60a81515ac7c6807b0df1679c849b8c394e /phpBB/templates
parent9be9a6602b6c066e84bbe34598765defef353828 (diff)
downloadforums-34c1fd176dfd63ad3e8980e28fada2024d933675.tar
forums-34c1fd176dfd63ad3e8980e28fada2024d933675.tar.gz
forums-34c1fd176dfd63ad3e8980e28fada2024d933675.tar.bz2
forums-34c1fd176dfd63ad3e8980e28fada2024d933675.tar.xz
forums-34c1fd176dfd63ad3e8980e28fada2024d933675.zip
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
Diffstat (limited to 'phpBB/templates')
-rw-r--r--phpBB/templates/subSilver/overall_header.tpl1
-rw-r--r--phpBB/templates/subSilver/privmsgs_read_body.tpl19
-rw-r--r--phpBB/templates/subSilver/profile_view_body.tpl20
-rw-r--r--phpBB/templates/subSilver/viewtopic_body.tpl20
4 files changed, 56 insertions, 4 deletions
diff --git a/phpBB/templates/subSilver/overall_header.tpl b/phpBB/templates/subSilver/overall_header.tpl
index 66f4805348..1d0af89b21 100644
--- a/phpBB/templates/subSilver/overall_header.tpl
+++ b/phpBB/templates/subSilver/overall_header.tpl
@@ -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) }
diff --git a/phpBB/templates/subSilver/privmsgs_read_body.tpl b/phpBB/templates/subSilver/privmsgs_read_body.tpl
index 48fa70c3cc..09cc9b597b 100644
--- a/phpBB/templates/subSilver/privmsgs_read_body.tpl
+++ b/phpBB/templates/subSilver/privmsgs_read_body.tpl
@@ -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>
diff --git a/phpBB/templates/subSilver/profile_view_body.tpl b/phpBB/templates/subSilver/profile_view_body.tpl
index 4753818fc1..f8e6e143b7 100644
--- a/phpBB/templates/subSilver/profile_view_body.tpl
+++ b/phpBB/templates/subSilver/profile_view_body.tpl
@@ -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>
diff --git a/phpBB/templates/subSilver/viewtopic_body.tpl b/phpBB/templates/subSilver/viewtopic_body.tpl
index 33170e369e..b833c80bf7 100644
--- a/phpBB/templates/subSilver/viewtopic_body.tpl
+++ b/phpBB/templates/subSilver/viewtopic_body.tpl
@@ -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>