1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-31 11:39:37 +02:00

[ticket/12270] Reverted templates

Some lines in the templates  were not reverted correctly,
so it's done now.

PHPBB3-12270
This commit is contained in:
marcosbc 2014-03-27 16:51:51 +01:00
parent 55757ddc65
commit b8477ad3a2
2 changed files with 2 additions and 7 deletions

1
phpBB/includes/mcp/mcp_queue.php Executable file → Normal file
View File

@ -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,

8
phpBB/styles/prosilver/template/mcp_post.html Executable file → Normal file
View File

@ -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>