Page 1 of 1

html closing code for quote_username_open in bbcode.tpl

Posted: Fri Sep 19, 2003 6:01 am
by jlin

Code: Select all

<!-- BEGIN quote_username_open -->
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td><span class="genmed"><strong>{USERNAME} {L_WROTE}:</strong></span></td>
</tr>
<tr>
<td class="quote"><!-- END quote_username_open -->
<!-- BEGIN quote_open -->
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td><span class="genmed"><strong>{L_QUOTE}:</strong></span></td></tr>

[b]
<tr><td class="quote">[/b]
<!-- END quote_open -->
This code is from bbcode.tpl

I noticed the table does not close in the template file. Does anyone know which file contains the closing html code?

The reason i'm asking is I am trying to put a frame around my quote box... Right now I can only go halfway because I can't find the rest of the html code for the table enclosing the quotes

see here http://www.itaiwan.org/viewtopic.php?p=4152#4152

TIA

Posted: Fri Sep 19, 2003 7:48 am
by Arty
in same file few lines below:

Code: Select all

<!-- BEGIN quote_close --></td>
	</tr>
</table>
<span class="postbody"><!-- END quote_close -->

Posted: Fri Sep 19, 2003 8:13 am
by jlin
CyberAlien wrote: in same file few lines below:

Code: Select all

<!-- BEGIN quote_close --></td>
	</tr>
</table>
<span class="postbody"><!-- END quote_close -->



I see two <table> tags and only one </table> tag...

you mean they both use the same code?

TIA

Posted: Fri Sep 19, 2003 8:18 am
by Arty
yes. one <table> tag is used when quoting without username like this:
blah

and other used when quoting with username like this:
blah wrote: blah

Posted: Fri Sep 19, 2003 8:23 am
by jlin
CyberAlien wrote: yes. one <table> tag is used when quoting without username like this:
blah

and other used when quoting with username like this:
blah wrote: blah


cool! thanks for helping