2003-07-24 13:22:39 +00:00
|
|
|
<!-- $Id$ -->
|
|
|
|
|
|
|
|
<script language="JavaScript" type="text/javascript">
|
|
|
|
<!--
|
|
|
|
|
|
|
|
function insert_quote(text) {
|
2003-10-07 18:58:01 +00:00
|
|
|
if (document.forms[form_name].elements[text_name].createTextRange && document.forms[form_name].elements[text_name].caretPos)
|
2003-07-24 13:22:39 +00:00
|
|
|
{
|
2003-10-07 18:58:01 +00:00
|
|
|
var caretPos = document.forms[form_name].elements[text_name].caretPos;
|
2003-07-24 13:22:39 +00:00
|
|
|
caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text + ' ' : text;
|
2003-10-07 18:58:01 +00:00
|
|
|
document.forms[form_name].elements[text_name].focus();
|
2003-07-24 13:22:39 +00:00
|
|
|
} else {
|
2003-10-07 18:58:01 +00:00
|
|
|
document.forms[form_name].elements[text_name].value += text;
|
|
|
|
document.forms[form_name].elements[text_name].focus();
|
2003-07-24 13:22:39 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
function addquote(post_id, username) {
|
|
|
|
|
2003-10-07 18:58:01 +00:00
|
|
|
var message_name = 'message_' + post_id;
|
|
|
|
var theSelection = '';
|
|
|
|
|
|
|
|
// Get text selection - not only the post content :(
|
2003-07-24 13:22:39 +00:00
|
|
|
if ((clientVer >= 4) && is_ie && is_win)
|
|
|
|
{
|
2003-10-07 18:58:01 +00:00
|
|
|
theSelection = document.selection.createRange().text;
|
|
|
|
}
|
|
|
|
else if (window.getSelection)
|
|
|
|
{
|
|
|
|
theSelection = window.getSelection();
|
2003-07-24 13:22:39 +00:00
|
|
|
}
|
|
|
|
|
2003-10-07 18:58:01 +00:00
|
|
|
if (theSelection == '')
|
2003-07-24 13:22:39 +00:00
|
|
|
{
|
2003-10-07 18:58:01 +00:00
|
|
|
if (document.all)
|
|
|
|
{
|
|
|
|
eval("theSelection = document.all." + message_name + ".innerText;");
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
eval("theSelection = document.getElementById('" + message_name + "').firstChild.nodeValue;");
|
|
|
|
}
|
2003-07-24 13:22:39 +00:00
|
|
|
}
|
|
|
|
|
2003-10-07 18:58:01 +00:00
|
|
|
if (theSelection != '')
|
2003-07-24 13:22:39 +00:00
|
|
|
{
|
|
|
|
insert_quote('[quote="' + username + '"]' + theSelection + '[/quote]');
|
|
|
|
}
|
|
|
|
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
//-->
|
|
|
|
</script>
|
|
|
|
|
2003-10-09 16:56:40 +00:00
|
|
|
<table class="tablebg" width="95%" border="0" cellpadding="3" cellspacing="1" align="center">
|
|
|
|
<tr>
|
|
|
|
<th height="28" align="center">{L_TOPIC_REVIEW} - {TOPIC_TITLE}</th>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="row1"><div style="overflow: auto; width: 100%; height: 300px; border: 1px;">
|
|
|
|
|
|
|
|
<table class="tablebg" width="95%" cellspacing="1" cellpadding="4" border="0" align="center">
|
|
|
|
<tr>
|
|
|
|
<th width="22%" height="28">{L_AUTHOR}</th>
|
|
|
|
<th>{L_MESSAGE}</th>
|
|
|
|
</tr>
|
|
|
|
<!-- BEGIN topic_review_row -->
|
|
|
|
<!-- IF topic_review_row.S_ROW_COUNT is even -->
|
|
|
|
<tr class="row1">
|
|
|
|
<!-- ELSE -->
|
|
|
|
<tr class="row2">
|
|
|
|
<!-- ENDIF -->
|
|
|
|
<td rowspan="2" align="left" valign="top"><a name="{topic_review_row.U_POST_ID}"></a>
|
|
|
|
<table width="150" cellspacing="0" cellpadding="4" border="0">
|
2003-07-24 13:22:39 +00:00
|
|
|
<tr>
|
2003-10-09 16:56:40 +00:00
|
|
|
<td align="center"><b class="postauthor">{topic_review_row.POSTER_NAME}</b></td>
|
2003-07-24 13:22:39 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2003-10-09 16:56:40 +00:00
|
|
|
<td align="center">{topic_review_row.KARMA_IMG}</td>
|
2003-07-24 13:22:39 +00:00
|
|
|
</tr>
|
2003-10-09 16:56:40 +00:00
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
<td width="100%" height="28">
|
|
|
|
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
|
|
|
<tr>
|
|
|
|
<td> </td>
|
|
|
|
<td class="gensmall" valign="middle" nowrap="nowrap"><b>{L_POST_SUBJECT}:</b> </td>
|
|
|
|
<td class="gensmall" width="100%" valign="middle">{topic_review_row.POST_SUBJECT}</td>
|
|
|
|
<td valign="top" nowrap="nowrap"> <!-- IF topic_review_row.U_QUOTE --><a href="{topic_review_row.U_QUOTE}">{QUOTE_IMG}</a><!-- ENDIF --></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<!-- IF topic_review_row.S_ROW_COUNT is even -->
|
|
|
|
<tr class="row1">
|
|
|
|
<!-- ELSE -->
|
|
|
|
<tr class="row2">
|
|
|
|
<!-- ENDIF -->
|
|
|
|
<td valign="top">
|
|
|
|
<table width="100%" cellspacing="0" cellpadding="5" border="0">
|
|
|
|
<tr>
|
|
|
|
<td valign="top">
|
|
|
|
<table width="100%" cellspacing="0" cellpadding="2">
|
|
|
|
<tr>
|
2003-10-11 11:46:29 +00:00
|
|
|
<td><div id="message_{topic_review_row.U_POST_ID}" class="postbody">{topic_review_row.MESSAGE}</div></td>
|
2003-10-09 16:56:40 +00:00
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
|
|
|
<tr valign="middle">
|
|
|
|
<td width="100%"> </td>
|
|
|
|
<td width="10" nowrap="nowrap"><a href="{topic_review_row.U_MINI_POST}">{topic_review_row.MINI_POST_IMG}</a></td>
|
|
|
|
<td class="gensmall" nowrap="nowrap"><b>{L_POSTED}:</b> {topic_review_row.POST_DATE}</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="spacer" colspan="2" height="1"><img src="images/spacer.gif" alt="" width="1" height="1" /></td>
|
|
|
|
</tr>
|
|
|
|
<!-- END topic_review_row -->
|
|
|
|
</table>
|
2003-09-24 19:41:14 +00:00
|
|
|
</div></td>
|
|
|
|
</tr>
|
2003-07-24 13:22:39 +00:00
|
|
|
</table>
|
|
|
|
|