aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/templates/subSilver
diff options
context:
space:
mode:
authorLudovic Arnaud <ludovic_arnaud@users.sourceforge.net>2003-03-13 00:40:28 +0000
committerLudovic Arnaud <ludovic_arnaud@users.sourceforge.net>2003-03-13 00:40:28 +0000
commitf408ac052d5559ad776f42a817ab217b3fd3496b (patch)
tree0eb54f5546145f005b78f3c42aef0e6f1e2bc167 /phpBB/templates/subSilver
parent4577cf61d1c8381aaa23a344290fd3b85a560370 (diff)
downloadforums-f408ac052d5559ad776f42a817ab217b3fd3496b.tar
forums-f408ac052d5559ad776f42a817ab217b3fd3496b.tar.gz
forums-f408ac052d5559ad776f42a817ab217b3fd3496b.tar.bz2
forums-f408ac052d5559ad776f42a817ab217b3fd3496b.tar.xz
forums-f408ac052d5559ad776f42a817ab217b3fd3496b.zip
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
Diffstat (limited to 'phpBB/templates/subSilver')
-rw-r--r--phpBB/templates/subSilver/viewforum_body.html14
-rw-r--r--phpBB/templates/subSilver/viewtopic_body.html21
2 files changed, 29 insertions, 6 deletions
diff --git a/phpBB/templates/subSilver/viewforum_body.html b/phpBB/templates/subSilver/viewforum_body.html
index 269e5f88d4..314b827f06 100644
--- a/phpBB/templates/subSilver/viewforum_body.html
+++ b/phpBB/templates/subSilver/viewforum_body.html
@@ -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>
diff --git a/phpBB/templates/subSilver/viewtopic_body.html b/phpBB/templates/subSilver/viewtopic_body.html
index 976f677abd..2a7946b2af 100644
--- a/phpBB/templates/subSilver/viewtopic_body.html
+++ b/phpBB/templates/subSilver/viewtopic_body.html
@@ -105,14 +105,28 @@
<tr>
<td colspan="2"><hr /></td>
</tr>
- <!-- IF postrow.S_POST_REPORTED -->
+ <!-- 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" class="gen"><a href="{postrow.U_MCP_REPORT}">{L_POST_BEEN_REPORTED}</a></td>
+ <td colspan="2"><hr /></td>
</tr>
+ <!-- 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 -->
+ <!-- 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>