diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-01-04 17:34:22 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-01-04 17:34:22 +0000 |
commit | cb604136832e0ed6edfce445aff26e7a5252d3d4 (patch) | |
tree | dc4dbb90ce8cb80bbc6d80c028e73be72de4c911 /phpBB/templates/subSilver/viewtopic_body.tpl | |
parent | 58ad760b3c4b6604fa96d794f90a5d0211f43a80 (diff) | |
download | forums-cb604136832e0ed6edfce445aff26e7a5252d3d4.tar forums-cb604136832e0ed6edfce445aff26e7a5252d3d4.tar.gz forums-cb604136832e0ed6edfce445aff26e7a5252d3d4.tar.bz2 forums-cb604136832e0ed6edfce445aff26e7a5252d3d4.tar.xz forums-cb604136832e0ed6edfce445aff26e7a5252d3d4.zip |
Update (compromise) for differing button images sizes ...
git-svn-id: file:///svn/phpbb/trunk@1800 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/templates/subSilver/viewtopic_body.tpl')
-rw-r--r-- | phpBB/templates/subSilver/viewtopic_body.tpl | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/phpBB/templates/subSilver/viewtopic_body.tpl b/phpBB/templates/subSilver/viewtopic_body.tpl index 7313556677..a4fa4901e1 100644 --- a/phpBB/templates/subSilver/viewtopic_body.tpl +++ b/phpBB/templates/subSilver/viewtopic_body.tpl @@ -1,11 +1,19 @@ <script language="Javascript" type="text/javascript"> <!-- + + var icq_add_img_src = new Image(); + function create_icq_subsilver(icq_user_addr, icq_status_img, icq_add_img) { + while( !icq_add_img_src.src ) + { + icq_add_img_src.src = 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>'); + document.write('<table 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="' + icq_add_img_src.width + '" height="' + icq_add_img_src.height + '" border="0" alt="{L_ICQ_NUMBER}" /></a></td></tr></table>'); } } //--> @@ -13,18 +21,20 @@ function create_icq_subsilver(icq_user_addr, icq_status_img, icq_add_img) <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 /> + <td align="left" valign="bottom" colspan="2"><a class="maintitle" href="{U_TOPIC}">{TOPIC_TITLE}</a><br /> <span class="gensmall"><b>{PAGINATION}</b><br /> </span></td> </tr> </table> + <table width="100%" cellspacing="2" cellpadding="2" border="0"> <tr> - <td align="left" valign="bottom" nowrap="nowrap"><span class="nav"><a href="{U_POST_NEW_TOPIC}"><img src="{IMG_POST}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" width="82" height="25" /></a> <a href="{U_POST_REPLY_TOPIC}"><img src="{IMG_REPLY}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" width="82" height="25" /></a></span></td> + <td align="left" valign="bottom" nowrap="nowrap"><span class="nav"><a href="{U_POST_NEW_TOPIC}"><img src="{IMG_POST}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" /></a> <a href="{U_POST_REPLY_TOPIC}"><img src="{IMG_REPLY}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></span></td> <td align="left" valign="middle" width="100%"><span class="nav"> <a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a></span></td> </tr> </table> + <table border="0" cellpadding="3" cellspacing="1" width="100%" class="forumline"> <tr align="right"> <td class="catHead" colspan="2" height="28"><span class="nav"><a href="{U_VIEW_OLDER_TOPIC}" class="nav">{L_VIEW_PREVIOUS_TOPIC}</a> @@ -98,9 +108,10 @@ function create_icq_subsilver(icq_user_addr, icq_status_img, icq_add_img) </td> </tr> </table> + <table width="100%" cellspacing="2" border="0" align="center" cellpadding="2"> <tr> - <td align="left" valign="middle" nowrap="nowrap"><a href="{U_POST_NEW_TOPIC}"><img src="{IMG_POST}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" width="82" height="25" /></a> <a href="{U_POST_REPLY_TOPIC}"><img src="{IMG_REPLY}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" width="82" height="25" /></a><span class="nav"></span></td> + <td align="left" valign="middle" nowrap="nowrap"><span class="nav"><a href="{U_POST_NEW_TOPIC}"><img src="{IMG_POST}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" /></a> <a href="{U_POST_REPLY_TOPIC}"><img src="{IMG_REPLY}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></span></td> <td align="left" valign="middle" width="100%"><span class="nav"> <a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a></span></td> <td align="right" valign="top" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}</span><br /><span class="nav">{PAGINATION}</span> |