mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00: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:
parent
55757ddc65
commit
b8477ad3a2
2 changed files with 2 additions and 7 deletions
1
phpBB/includes/mcp/mcp_queue.php
Executable file → Normal file
1
phpBB/includes/mcp/mcp_queue.php
Executable file → Normal file
|
@ -578,7 +578,6 @@ class mcp_queue
|
||||||
$redirect = reapply_sid($redirect);
|
$redirect = reapply_sid($redirect);
|
||||||
$success_msg = $post_url = '';
|
$success_msg = $post_url = '';
|
||||||
$approve_log = array();
|
$approve_log = array();
|
||||||
$topic_approve_log = array();
|
|
||||||
|
|
||||||
$s_hidden_fields = build_hidden_fields(array(
|
$s_hidden_fields = build_hidden_fields(array(
|
||||||
'i' => $id,
|
'i' => $id,
|
||||||
|
|
8
phpBB/styles/prosilver/template/mcp_post.html
Executable file → Normal file
8
phpBB/styles/prosilver/template/mcp_post.html
Executable file → Normal file
|
@ -75,7 +75,7 @@
|
||||||
<p class="post-notice unapproved">
|
<p class="post-notice unapproved">
|
||||||
<input class="button2" type="submit" value="{L_DISAPPROVE}" name="action[disapprove]" />
|
<input class="button2" type="submit" value="{L_DISAPPROVE}" name="action[disapprove]" />
|
||||||
<input class="button1" type="submit" value="{L_APPROVE}" name="action[approve]" />
|
<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}" />
|
<input type="hidden" name="post_id_list[]" value="{POST_ID}" />
|
||||||
{S_FORM_TOKEN}
|
{S_FORM_TOKEN}
|
||||||
</p>
|
</p>
|
||||||
|
@ -86,12 +86,8 @@
|
||||||
<p class="post-notice deleted">
|
<p class="post-notice deleted">
|
||||||
<input class="button2" type="submit" value="{L_DELETE}" name="action[disapprove]" />
|
<input class="button2" type="submit" value="{L_DELETE}" name="action[disapprove]" />
|
||||||
<input class="button1" type="submit" value="{L_RESTORE}" name="action[restore]" />
|
<input class="button1" type="submit" value="{L_RESTORE}" name="action[restore]" />
|
||||||
<!-- IF not S_FIRST_POST -->
|
<!-- IF not S_FIRST_POST --><input type="hidden" name="mode" value="unapproved_posts" /><!-- ENDIF -->
|
||||||
<input type="hidden" name="mode" value="unapproved_posts" />
|
|
||||||
<input type="hidden" name="post_id_list[]" value="{POST_ID}" />
|
<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}
|
{S_FORM_TOKEN}
|
||||||
</p>
|
</p>
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Add table
Reference in a new issue