aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver/template
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2012-10-31 17:29:55 +0100
committerJoas Schilling <nickvergessen@gmx.de>2012-10-31 21:28:06 +0100
commit8d05dad63471ffbc58feecd1f44cfa5703f0d5f1 (patch)
tree5b4e7c65be3b7e0ac2c75aedc373b3e89cf195d8 /phpBB/styles/prosilver/template
parent18dec1026ad8cc5dea6117ca1336ca9eba41aa2a (diff)
downloadforums-8d05dad63471ffbc58feecd1f44cfa5703f0d5f1.tar
forums-8d05dad63471ffbc58feecd1f44cfa5703f0d5f1.tar.gz
forums-8d05dad63471ffbc58feecd1f44cfa5703f0d5f1.tar.bz2
forums-8d05dad63471ffbc58feecd1f44cfa5703f0d5f1.tar.xz
forums-8d05dad63471ffbc58feecd1f44cfa5703f0d5f1.zip
[feature/soft-delete] Display message when the posts are already soft deleted
PHPBB3-9567
Diffstat (limited to 'phpBB/styles/prosilver/template')
-rw-r--r--phpBB/styles/prosilver/template/posting_delete_post_body.html14
1 files changed, 10 insertions, 4 deletions
diff --git a/phpBB/styles/prosilver/template/posting_delete_post_body.html b/phpBB/styles/prosilver/template/posting_delete_post_body.html
index 967ecaca78..9ad9e985be 100644
--- a/phpBB/styles/prosilver/template/posting_delete_post_body.html
+++ b/phpBB/styles/prosilver/template/posting_delete_post_body.html
@@ -7,26 +7,32 @@
<h2>{MESSAGE_TITLE}</h2>
<p>{MESSAGE_TEXT}</p>
- <!-- IF S_DELETE_REASON or (S_ALLOWED_DELETE and S_ALLOWED_SOFTDELETE) -->
+ <!-- IF S_SOFTDELETED and S_TOPIC_MODE and S_ALLOWED_DELETE and S_ALLOWED_SOFTDELETE -->
+ <p>{L_TOPIC_ALREADY_SOFTDELETED}</p>
+ <!-- ELSEIF S_SOFTDELETED and S_ALLOWED_DELETE and S_ALLOWED_SOFTDELETE -->
+ <p>{L_POST_ALREADY_SOFTDELETED}</p>
+ <!-- ENDIF -->
+
+ <!-- IF not S_SOFTDELETED and (S_DELETE_REASON or (S_ALLOWED_DELETE and S_ALLOWED_SOFTDELETE)) -->
<fieldset class="fields1">
<!-- IF S_TOPIC_MODE and S_ALLOWED_DELETE and S_ALLOWED_SOFTDELETE -->
<dl>
<dt><label for="soft_delete">{L_DELETE_TOPIC_SOFT}:</label></dt>
<dd><label for="soft_delete"><input id="soft_delete" name="soft_delete" type="checkbox" checked="checked" value="1" /> {L_DELETE_TOPIC_SOFT_EXP}</label></dd>
</dl>
- <!-- ELSE IF S_ALLOWED_DELETE and S_ALLOWED_SOFTDELETE -->
+ <!-- ELSEIF S_ALLOWED_DELETE and S_ALLOWED_SOFTDELETE -->
<dl>
<dt><label for="soft_delete">{L_DELETE_POST_SOFT}:</label></dt>
<dd><label for="soft_delete"><input id="soft_delete" name="soft_delete" type="checkbox" checked="checked" value="1" /> {L_DELETE_POST_SOFT_EXP}</label></dd>
</dl>
<!-- ENDIF -->
- <!-- IF S_DELETE_REASON -->
+ <!-- IF S_DELETE_REASON -->
<dl>
<dt><label for="delete_reason">{L_DELETE_POST_REASON}:</label></dt>
<dd><input type="text" name="delete_reason" id="delete_reason" value="" class="inputbox autowidth" maxlength="120" size="45" /></dd>
</dl>
- <!-- ENDIF -->
+ <!-- ENDIF -->
</fieldset>
<!-- ENDIF -->