diff options
author | Marc Alexander <admin@m-a-styles.de> | 2015-10-07 16:50:35 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2015-10-07 16:50:35 +0200 |
commit | e5b2dc922f1c2e94332ffcc5e9ea002ce5326837 (patch) | |
tree | 355c29f083ab1a0b60bd8af68e989209bc58e657 /phpBB/styles/prosilver/template | |
parent | 3fd1fa5492b96715f3bfbd16fcbe416e07ebb6e7 (diff) | |
parent | 0d6c323611eeacf0170dede6bd7980be894f7020 (diff) | |
download | forums-e5b2dc922f1c2e94332ffcc5e9ea002ce5326837.tar forums-e5b2dc922f1c2e94332ffcc5e9ea002ce5326837.tar.gz forums-e5b2dc922f1c2e94332ffcc5e9ea002ce5326837.tar.bz2 forums-e5b2dc922f1c2e94332ffcc5e9ea002ce5326837.tar.xz forums-e5b2dc922f1c2e94332ffcc5e9ea002ce5326837.zip |
Merge pull request #3615 from rxu/ticket/13846
[ticket/13846] Fix softdelete feature workflow in viewtopic
Diffstat (limited to 'phpBB/styles/prosilver/template')
-rw-r--r-- | phpBB/styles/prosilver/template/mcp_post.html | 4 | ||||
-rw-r--r-- | phpBB/styles/prosilver/template/viewtopic_body.html | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/phpBB/styles/prosilver/template/mcp_post.html b/phpBB/styles/prosilver/template/mcp_post.html index 81d1be795e..e5777d206a 100644 --- a/phpBB/styles/prosilver/template/mcp_post.html +++ b/phpBB/styles/prosilver/template/mcp_post.html @@ -91,9 +91,9 @@ <form method="post" id="mcp_approve" action="{U_APPROVE_ACTION}"> <p class="post-notice deleted"> - <input class="button2" type="submit" value="{L_DELETE}" name="action[disapprove]" /> + <!-- IF S_CAN_DELETE_POST --><input class="button2" type="submit" value="{L_DELETE}" name="action[delete]" /> <!-- ENDIF --> <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 --> + <!-- IF not S_FIRST_POST --><input type="hidden" name="mode" value="deleted_posts" /><!-- ENDIF --> <input type="hidden" name="post_id_list[]" value="{POST_ID}" /> {S_FORM_TOKEN} </p> diff --git a/phpBB/styles/prosilver/template/viewtopic_body.html b/phpBB/styles/prosilver/template/viewtopic_body.html index c9559a5b33..07215708a9 100644 --- a/phpBB/styles/prosilver/template/viewtopic_body.html +++ b/phpBB/styles/prosilver/template/viewtopic_body.html @@ -278,7 +278,9 @@ <form method="post" class="mcp_approve" action="{postrow.U_APPROVE_ACTION}"> <p class="post-notice deleted"> <strong>{L_POST_DELETED_ACTION}</strong> - <input class="button2" type="submit" value="{L_DELETE}" name="action[disapprove]" /> + <!-- IF postrow.S_DELETE_PERMANENT --> + <input class="button2" type="submit" value="{L_DELETE}" name="action[delete]" /> + <!-- ENDIF --> <input class="button1" type="submit" value="{L_RESTORE}" name="action[restore]" /> <input type="hidden" name="post_id_list[]" value="{postrow.POST_ID}" /> {S_FORM_TOKEN} |