mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[feature/soft-delete] Use new custom template system for AJAX confirm_box
PHPBB3-9657
This commit is contained in:
parent
b30a608f35
commit
b917e5a4bb
1 changed files with 29 additions and 0 deletions
|
@ -1,3 +1,31 @@
|
||||||
|
<!-- IF S_AJAX_REQUEST -->
|
||||||
|
<p>{MESSAGE_TEXT}</p>
|
||||||
|
|
||||||
|
<!-- IF not S_SOFTDELETED and (S_DELETE_REASON or (S_ALLOWED_DELETE and S_ALLOWED_SOFTDELETE)) -->
|
||||||
|
<fieldset class="fields1">
|
||||||
|
<!-- IF S_ALLOWED_DELETE and S_ALLOWED_SOFTDELETE -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="delete_permanent">{L_DELETE_PERMANENTLY}:</label></dt>
|
||||||
|
<dd>
|
||||||
|
<label for="delete_permanent">
|
||||||
|
<input id="delete_permanent" name="delete_permanent" type="checkbox" value="1" {S_CHECKED_PERMANENT} />
|
||||||
|
<!-- IF S_TOPIC_MODE -->{L_DELETE_TOPIC_PERMANENTLY}<!-- ELSE -->{L_DELETE_POST_PERMANENTLY}<!-- ENDIF -->
|
||||||
|
</label>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_DELETE_REASON -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="delete_reason">{L_DELETE_REASON}:</label><br /><span>{L_DELETE_REASON_EXPLAIN}</span></dt>
|
||||||
|
<dd><input type="text" name="delete_reason" id="delete_reason" value="" class="inputbox autowidth" maxlength="120" size="45" /></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</fieldset>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- ELSE -->
|
||||||
|
|
||||||
<!-- INCLUDE overall_header.html -->
|
<!-- INCLUDE overall_header.html -->
|
||||||
|
|
||||||
<form id="confirm" action="{S_CONFIRM_ACTION}" method="post">
|
<form id="confirm" action="{S_CONFIRM_ACTION}" method="post">
|
||||||
|
@ -42,3 +70,4 @@
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<!-- INCLUDE overall_footer.html -->
|
<!-- INCLUDE overall_footer.html -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
Loading…
Add table
Reference in a new issue