mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/11942] Don't show the checkbox if the post is already soft-deleted
PHPBB3-11942
This commit is contained in:
parent
814d10fe5e
commit
1ba516a052
2 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
||||||
<form action="{S_CONFIRM_ACTION}" method="post">
|
<form action="{S_CONFIRM_ACTION}" method="post">
|
||||||
<p>{MESSAGE_TEXT}</p>
|
<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>
|
<label>
|
||||||
<strong>{L_DELETE_PERMANENTLY}{L_COLON}</strong>
|
<strong>{L_DELETE_PERMANENTLY}{L_COLON}</strong>
|
||||||
<input id="delete_permanent" name="delete_permanent" type="checkbox" value="1" {S_CHECKED_PERMANENT} />
|
<input id="delete_permanent" name="delete_permanent" type="checkbox" value="1" {S_CHECKED_PERMANENT} />
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
<p>{MESSAGE_TEXT}</p>
|
<p>{MESSAGE_TEXT}</p>
|
||||||
|
|
||||||
<fieldset class="fields1">
|
<fieldset class="fields1">
|
||||||
<!-- IF S_ALLOWED_DELETE and S_ALLOWED_SOFTDELETE -->
|
<!-- IF not S_SOFTDELETED and S_ALLOWED_DELETE and S_ALLOWED_SOFTDELETE -->
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="delete_permanent">{L_DELETE_PERMANENTLY}{L_COLON}</label></dt>
|
<dt><label for="delete_permanent">{L_DELETE_PERMANENTLY}{L_COLON}</label></dt>
|
||||||
<dd>
|
<dd>
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<table border="0" width="90%" cellspacing="2" cellpadding="1">
|
<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>
|
<tr>
|
||||||
<td class="row1" width="22%"><b class="gen">{L_DELETE_PERMANENTLY}{L_COLON}</b></td>
|
<td class="row1" width="22%"><b class="gen">{L_DELETE_PERMANENTLY}{L_COLON}</b></td>
|
||||||
<td class="row1" width="78%">
|
<td class="row1" width="78%">
|
||||||
|
|
Loading…
Add table
Reference in a new issue