aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-03-12 11:37:36 +0100
committerJoas Schilling <nickvergessen@gmx.de>2013-03-12 11:37:36 +0100
commitd44a0a17dff553c9b10b13da681498f4275b17fe (patch)
treee78c3d79aa97f4fc3c2925016be80f8c3fa10847
parentb712cff49662c4356ec69048cd5a834c1415c0cf (diff)
downloadforums-d44a0a17dff553c9b10b13da681498f4275b17fe.tar
forums-d44a0a17dff553c9b10b13da681498f4275b17fe.tar.gz
forums-d44a0a17dff553c9b10b13da681498f4275b17fe.tar.bz2
forums-d44a0a17dff553c9b10b13da681498f4275b17fe.tar.xz
forums-d44a0a17dff553c9b10b13da681498f4275b17fe.zip
[ticket/9657] Provide option to restore post in mcp_post
PHPBB3-9657
-rw-r--r--phpBB/styles/prosilver/template/mcp_post.html13
1 files changed, 12 insertions, 1 deletions
diff --git a/phpBB/styles/prosilver/template/mcp_post.html b/phpBB/styles/prosilver/template/mcp_post.html
index 6f53f5024e..4cdd62957c 100644
--- a/phpBB/styles/prosilver/template/mcp_post.html
+++ b/phpBB/styles/prosilver/template/mcp_post.html
@@ -79,6 +79,17 @@
{S_FORM_TOKEN}
</p>
</form>
+ <!-- ELSEIF S_POST_DELETED -->
+ <form method="post" id="mcp_approve" action="{U_APPROVE_ACTION}">
+
+ <p class="rules">
+ <input class="button2" type="submit" value="{L_DELETE}" name="action[disapprove]" /> &nbsp;
+ <input class="button1" type="submit" value="{L_RESTORE}" name="action[restore]" />
+ <!-- IF not S_FIRST_POST --><input type="hidden" name="mode" value="unapproved_posts" /><!-- ENDIF -->
+ <input type="hidden" name="post_id_list[]" value="{POST_ID}" />
+ {S_FORM_TOKEN}
+ </p>
+ </form>
<!-- ENDIF -->
<!-- IF S_MESSAGE_REPORTED -->
@@ -103,7 +114,7 @@
<!-- IF DELETED_MESSAGE or DELETE_REASON -->
<div class="notice">
{DELETED_MESSAGE}
- <!-- IF DELETE_REASON --><br /><strong>{L_REASON}:</strong> <em>{DELETE_REASON}</em><!-- ENDIF -->
+ <!-- IF DELETE_REASON --><br /><strong>{L_REASON}{L_COLON}</strong> <em>{DELETE_REASON}</em><!-- ENDIF -->
</div>
<!-- ENDIF -->