aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authormarcosbc <marcosbc>2014-03-27 16:51:51 +0100
committermarcosbc <marcosbc>2014-05-03 20:29:28 +0200
commitb8477ad3a27658a09b238654047f2f4a339c7760 (patch)
treeeeffd1393d5be6e3735f7c0599cdbdacc2b47911 /phpBB
parent55757ddc65c7be7854b15f41fbce24d2b1ee2cef (diff)
downloadforums-b8477ad3a27658a09b238654047f2f4a339c7760.tar
forums-b8477ad3a27658a09b238654047f2f4a339c7760.tar.gz
forums-b8477ad3a27658a09b238654047f2f4a339c7760.tar.bz2
forums-b8477ad3a27658a09b238654047f2f4a339c7760.tar.xz
forums-b8477ad3a27658a09b238654047f2f4a339c7760.zip
[ticket/12270] Reverted templates
Some lines in the templates were not reverted correctly, so it's done now. PHPBB3-12270
Diffstat (limited to 'phpBB')
-rw-r--r--[-rwxr-xr-x]phpBB/includes/mcp/mcp_queue.php1
-rw-r--r--[-rwxr-xr-x]phpBB/styles/prosilver/template/mcp_post.html8
2 files changed, 2 insertions, 7 deletions
diff --git a/phpBB/includes/mcp/mcp_queue.php b/phpBB/includes/mcp/mcp_queue.php
index e003f28c30..23083bfd96 100755..100644
--- a/phpBB/includes/mcp/mcp_queue.php
+++ b/phpBB/includes/mcp/mcp_queue.php
@@ -578,7 +578,6 @@ class mcp_queue
$redirect = reapply_sid($redirect);
$success_msg = $post_url = '';
$approve_log = array();
- $topic_approve_log = array();
$s_hidden_fields = build_hidden_fields(array(
'i' => $id,
diff --git a/phpBB/styles/prosilver/template/mcp_post.html b/phpBB/styles/prosilver/template/mcp_post.html
index f2feccf25d..2b4ebec5c8 100755..100644
--- a/phpBB/styles/prosilver/template/mcp_post.html
+++ b/phpBB/styles/prosilver/template/mcp_post.html
@@ -75,7 +75,7 @@
<p class="post-notice unapproved">
<input class="button2" type="submit" value="{L_DISAPPROVE}" name="action[disapprove]" /> &nbsp;
<input class="button1" type="submit" value="{L_APPROVE}" name="action[approve]" />
- <input type="hidden" name="mode" value="unapproved_posts" />
+ <!-- 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>
@@ -86,12 +86,8 @@
<p class="post-notice deleted">
<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" />
+ <!-- IF not S_FIRST_POST --><input type="hidden" name="mode" value="unapproved_posts" /><!-- ENDIF -->
<input type="hidden" name="post_id_list[]" value="{POST_ID}" />
- <!-- ELSE -->
- <input type="hidden" name="topic_id_list[]" value="{TOPIC_ID}" />
- <!-- ENDIF -->
{S_FORM_TOKEN}
</p>
</form>