diff options
author | Tristan Darricau <github@nicofuma.fr> | 2014-05-26 23:59:27 +0200 |
---|---|---|
committer | Tristan Darricau <github@nicofuma.fr> | 2014-05-26 23:59:27 +0200 |
commit | 1ba516a052b30c0875d72c8aea468cc5153c3fa6 (patch) | |
tree | 2f14f9be803e34775aea460aa6b5d8ddcd94fb5d /phpBB/styles | |
parent | 814d10fe5e6bd1bd883f1a989f3705aa791f2a93 (diff) | |
download | forums-1ba516a052b30c0875d72c8aea468cc5153c3fa6.tar forums-1ba516a052b30c0875d72c8aea468cc5153c3fa6.tar.gz forums-1ba516a052b30c0875d72c8aea468cc5153c3fa6.tar.bz2 forums-1ba516a052b30c0875d72c8aea468cc5153c3fa6.tar.xz forums-1ba516a052b30c0875d72c8aea468cc5153c3fa6.zip |
[ticket/11942] Don't show the checkbox if the post is already soft-deleted
PHPBB3-11942
Diffstat (limited to 'phpBB/styles')
-rw-r--r-- | phpBB/styles/prosilver/template/confirm_delete_body.html | 4 | ||||
-rw-r--r-- | phpBB/styles/subsilver2/template/confirm_delete_body.html | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/styles/prosilver/template/confirm_delete_body.html b/phpBB/styles/prosilver/template/confirm_delete_body.html index df06020325..f164b5f357 100644 --- a/phpBB/styles/prosilver/template/confirm_delete_body.html +++ b/phpBB/styles/prosilver/template/confirm_delete_body.html @@ -2,7 +2,7 @@ <form action="{S_CONFIRM_ACTION}" method="post"> <p>{MESSAGE_TEXT}</p> - <!-- IF S_ALLOWED_DELETE and S_ALLOWED_SOFTDELETE --> + <!-- IF not S_SOFTDELETED and S_ALLOWED_DELETE and S_ALLOWED_SOFTDELETE --> <label> <strong>{L_DELETE_PERMANENTLY}{L_COLON}</strong> <input id="delete_permanent" name="delete_permanent" type="checkbox" value="1" {S_CHECKED_PERMANENT} /> @@ -34,7 +34,7 @@ <p>{MESSAGE_TEXT}</p> <fieldset class="fields1"> - <!-- IF S_ALLOWED_DELETE and S_ALLOWED_SOFTDELETE --> + <!-- IF not S_SOFTDELETED and S_ALLOWED_DELETE and S_ALLOWED_SOFTDELETE --> <dl> <dt><label for="delete_permanent">{L_DELETE_PERMANENTLY}{L_COLON}</label></dt> <dd> diff --git a/phpBB/styles/subsilver2/template/confirm_delete_body.html b/phpBB/styles/subsilver2/template/confirm_delete_body.html index a77534c139..18df397fc3 100644 --- a/phpBB/styles/subsilver2/template/confirm_delete_body.html +++ b/phpBB/styles/subsilver2/template/confirm_delete_body.html @@ -15,7 +15,7 @@ <br /> <table border="0" width="90%" cellspacing="2" cellpadding="1"> - <!-- IF S_ALLOWED_DELETE and S_ALLOWED_SOFTDELETE --> + <!-- IF not S_SOFTDELETED and S_ALLOWED_DELETE and S_ALLOWED_SOFTDELETE --> <tr> <td class="row1" width="22%"><b class="gen">{L_DELETE_PERMANENTLY}{L_COLON}</b></td> <td class="row1" width="78%"> |