mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-09 12:58:52 +00:00
merged topic and post review
git-svn-id: file:///svn/phpbb/trunk@4543 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
736b1262e4
commit
f0e6b45dcf
2 changed files with 181 additions and 144 deletions
|
@ -42,7 +42,9 @@ function checkForm()
|
|||
</script>
|
||||
<script language="javascript" type="text/javascript" src="styles/subSilver/template/editor.js"></script>
|
||||
|
||||
<form action="{S_POST_ACTION}" method="post" name="post" onsubmit="return checkForm(this)" {S_FORM_ENCTYPE}><table width="95%" cellspacing="2" cellpadding="2" border="0" align="center">
|
||||
<form action="{S_POST_ACTION}" method="post" name="post" onsubmit="return checkForm(this)" {S_FORM_ENCTYPE}>
|
||||
|
||||
<table width="95%" cellspacing="2" cellpadding="2" border="0" align="center">
|
||||
<tr>
|
||||
<td colspan="2" align="left" valign="bottom"><a class="titles" href="{U_VIEW_FORUM}" title="{FORUM_DESC}">{FORUM_NAME}</a><!-- IF TOPIC_TITLE --> :: <a class="titles" href="{U_VIEWTOPIC}">{TOPIC_TITLE}</a><!-- ENDIF --><!-- IF MODERATORS neq '' --><br /><b class="gensmall">{L_MODERATORS}: {MODERATORS}</b><br /><!-- ENDIF --></td>
|
||||
</tr>
|
||||
|
@ -78,51 +80,81 @@ function checkForm()
|
|||
<tr>
|
||||
<th height="28" align="center">{L_POST_REVIEW}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1" align="center"><span class="gen">{L_POST_REVIEW_EXPLAIN}</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="spacer" height="1"><img src="images/spacer.gif" alt="" width="1" height="1" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row2">
|
||||
|
||||
<table class="tablebg" width="100%" cellpadding="2" cellspacing="1" border="0">
|
||||
<td class="row1">
|
||||
<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 post_postrow -->
|
||||
<!-- IF post_postrow.S_ROW_COUNT is even -->
|
||||
<!-- BEGIN post_review_row -->
|
||||
<!-- IF post_review_row.S_ROW_COUNT is even -->
|
||||
<tr class="row1">
|
||||
<!-- ELSE -->
|
||||
<tr class="row2">
|
||||
<!-- ENDIF -->
|
||||
<td width="22%" align="left" valign="top"><span class="name"><a name="{post_postrow.U_POST_ID}"></a><b>{post_postrow.POSTER_NAME}</b></span></td>
|
||||
<td height="28" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<td rowspan="2" align="left" valign="top"><a name="{post_review_row.U_POST_ID}"></a>
|
||||
<table width="150" cellspacing="0" cellpadding="4" border="0">
|
||||
<tr>
|
||||
<td width="100%">{post_postrow.MINI_POST_IMG}<span class="postdetails">{L_POSTED}: {post_postrow.POST_DATE}<span class="gen"> </span> {L_POST_SUBJECT}: {post_postrow.POST_SUBJECT}</span></td>
|
||||
<td align="center"><b class="postauthor">{post_review_row.POSTER_NAME}</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><hr /></td>
|
||||
<td align="center">{post_review_row.KARMA_IMG}</td>
|
||||
</tr>
|
||||
</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">{post_review_row.POST_SUBJECT}</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- IF post_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>
|
||||
<td class="postbody">{post_review_row.MESSAGE}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><span class="postbody">{post_postrow.MESSAGE}</span></td>
|
||||
<td>
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tr valign="middle">
|
||||
<td width="100%"> </td>
|
||||
<td width="10" nowrap="nowrap"><a href="{post_review_row.U_MINI_POST}" target="post_review">{post_review_row.MINI_POST_IMG}</a></td>
|
||||
<td class="gensmall" nowrap="nowrap"><b>{L_POSTED}:</b> {post_review_row.POST_DATE}</td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</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 post_postrow -->
|
||||
<!-- END post_review_row -->
|
||||
</table>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -1,12 +1,5 @@
|
|||
<!-- $Id$ -->
|
||||
|
||||
<table class="tablebg" width="95%" border="0" cellpadding="3" cellspacing="1" align="center">
|
||||
<tr>
|
||||
<th height="28" align="center">{L_TOPIC_REVIEW}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1"><div style="overflow: auto; width: 100%; height: 300px; border: 1px;">
|
||||
|
||||
<script language="JavaScript" type="text/javascript">
|
||||
<!--
|
||||
|
||||
|
@ -60,68 +53,80 @@ function addquote(post_id, username) {
|
|||
//-->
|
||||
</script>
|
||||
|
||||
<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 postrow -->
|
||||
<!-- IF postrow.S_ROW_COUNT is even -->
|
||||
<!-- 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="{postrow.U_POST_ID}"></a>
|
||||
|
||||
<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">
|
||||
<tr>
|
||||
<td align="center"><b class="postauthor">{postrow.POSTER_NAME}</b></td>
|
||||
<td align="center"><b class="postauthor">{topic_review_row.POSTER_NAME}</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">{postrow.KARMA_IMG}</td>
|
||||
<td align="center">{topic_review_row.KARMA_IMG}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td width="100%" height="28"><table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<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">{postrow.POST_SUBJECT}</td>
|
||||
<td valign="top" nowrap="nowrap"> <!-- IF postrow.U_QUOTE --><a href="{postrow.U_QUOTE}">{QUOTE_IMG}</a><!-- ENDIF --></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>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- IF postrow.S_ROW_COUNT is even -->
|
||||
<!-- 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">
|
||||
<td valign="top">
|
||||
<table width="100%" cellspacing="0" cellpadding="5" border="0">
|
||||
<tr>
|
||||
<td valign="top"><table width="100%" cellspacing="0" cellpadding="2">
|
||||
<td valign="top">
|
||||
<table width="100%" cellspacing="0" cellpadding="2">
|
||||
<tr>
|
||||
<td><div id="message_{postrow.POST_ID}" class="postbody">{postrow.MESSAGE}</div></td>
|
||||
<td><div id="message_{topic_review_row.POST_ID}" class="postbody">{topic_review_row.MESSAGE}</div></td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<td>
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tr valign="middle">
|
||||
<td width="100%"> </td>
|
||||
<td width="10" nowrap="nowrap"><a href="{postrow.U_MINI_POST}">{postrow.MINI_POST_IMG}</a></td>
|
||||
<td class="gensmall" nowrap="nowrap"><b>{L_POSTED}:</b> {postrow.POST_DATE}</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>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="spacer" colspan="2" height="1"><img src="images/spacer.gif" alt="" width="1" height="1" /></td>
|
||||
</tr>
|
||||
<!-- END postrow -->
|
||||
<!-- END topic_review_row -->
|
||||
</table>
|
||||
|
||||
</div></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
Loading…
Add table
Reference in a new issue