1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-10 18:54:08 +02:00

Added indicators for reported and/or unapproved items. Note that moderators with m_approve permission can now read unapproved topics and posts normally.

git-svn-id: file:///svn/phpbb/trunk@3640 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Ludovic Arnaud
2003-03-13 00:40:28 +00:00
parent 4577cf61d1
commit f408ac052d
4 changed files with 63 additions and 19 deletions

View File

@@ -53,7 +53,18 @@
<!-- IF S_TOPIC_ICONS -->
<td class="row1" align="center" valign="middle">{topicrow.TOPIC_ICON_IMG}</td>
<!-- ENDIF -->
<td class="row1" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />{topicrow.GOTO_PAGE}</span></td>
<td class="row1" width="100%">
<!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_TOPIC_REPORTED -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="middle" class="topictitle">
<td><!-- IF topicrow.S_TOPIC_UNAPPROVED --><a href="{topicrow.U_MCP_QUEUE}">{UNAPPROVED_IMG}</a>&nbsp;<!-- ENDIF --><!-- IF topicrow.S_TOPIC_REPORTED --><a href="{topicrow.U_MCP_REPORT}">{REPORTED_IMG}</a>&nbsp;<!-- ENDIF --></td>
<td width="100%">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />{topicrow.GOTO_PAGE}</td>
</tr>
</table>
<!-- ELSE -->
<span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />{topicrow.GOTO_PAGE}</span>
<!-- ENDIF -->
</td>
<td class="row2" align="center" valign="middle"><span class="name">{topicrow.TOPIC_AUTHOR}</span></td>
<td class="row1" align="center" valign="middle"><span class="postdetails">{topicrow.REPLIES}</span></td>
<td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.VIEWS}</span></td>
@@ -130,7 +141,6 @@
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="left"><!-- IF S_SHOW_SEARCHBOX --><!-- INCLUDE searchbox.html --><!-- ENDIF --></td>
<td align="right"><!-- INCLUDE jumpbox.html --></td>
</tr>
</table>

View File

@@ -105,14 +105,28 @@
<tr>
<td colspan="2"><hr /></td>
</tr>
<!-- IF postrow.S_POST_REPORTED -->
<tr>
<td colspan="2" class="gen"><a href="{postrow.U_MCP_REPORT}">{L_POST_BEEN_REPORTED}</a></td>
</tr>
<!-- IF postrow.S_POST_UNAPPROVED -->
<tr><td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="middle">
<td><a href="{postrow.U_MCP_POST_DETAILS}">{UNAPPROVED_IMG}</a></td>
<td class="gensmall" width="100%">&nbsp;{L_POST_NOT_BEEN_APPROVED}&nbsp;<a href="{postrow.U_MCP_APPROVE}">{L_APPROVE_POST}</a></td>
</tr>
</table></td></tr>
<tr>
<td colspan="2"><hr /></td>
</tr>
<!-- ENDIF -->
<!-- ENDIF -->
<!-- IF postrow.S_POST_REPORTED -->
<tr><td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="middle">
<td><a href="{postrow.U_MCP_REPORT}">{REPORTED_IMG}</a></td>
<td class="gensmall" width="100%">&nbsp;<a href="{postrow.U_MCP_REPORT}">{L_POST_BEEN_REPORTED}</a></td>
</tr>
</table></td></tr>
<tr>
<td colspan="2"><hr /></td>
</tr>
<!-- ENDIF -->
<tr>
<td><span class="postbody">{postrow.MESSAGE}{postrow.SIGNATURE}</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>
</tr>
@@ -175,7 +189,6 @@
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="left"><!-- IF S_SHOW_SEARCHBOX --><!-- INCLUDE searchbox.html --><!-- ENDIF --></td>
<td align="right"><!-- INCLUDE jumpbox.html --></td>
</tr>
</table>