aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver/template/confirm_delete_body.html
blob: dc09974d1c2e2775a4d5567db5d5ae63338159ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<!-- IF S_AJAX_REQUEST -->
	<form action="{S_CONFIRM_ACTION}" method="post">
		<p>{MESSAGE_TEXT}</p>

		<!-- IF not S_SOFTDELETED and (S_DELETE_REASON or (S_ALLOWED_DELETE and S_ALLOWED_SOFTDELETE)) -->
			<!-- IF 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} />
					<!-- IF S_TOPIC_MODE -->{L_DELETE_TOPIC_PERMANENTLY}<!-- ELSE -->{L_DELETE_POST_PERMANENTLY}<!-- ENDIF -->
				</label>
			<!-- ENDIF -->

			<!-- IF S_DELETE_REASON -->
				<label for="delete_reason">
					<strong>{L_DELETE_REASON}{L_COLON}</strong><br /><span>{L_DELETE_REASON_EXPLAIN}</span><br />
					<input type="text" name="delete_reason" value="" class="inputbox autowidth" maxlength="120" size="45" />
				</label>
			<!-- ENDIF -->
		<!-- ENDIF -->

		<fieldset class="submit-buttons">
			<input type="button" name="confirm" value="{L_YES}" class="button1" />&nbsp;
			<input type="button" name="cancel" value="{L_NO}" class="button2" />
		</fieldset>
	</form>

<!-- ELSE -->

<!-- INCLUDE overall_header.html -->

<form id="confirm" action="{S_CONFIRM_ACTION}" method="post">
<div class="panel">
	<div class="inner">

	<h2>{MESSAGE_TITLE}</h2>

	<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}{L_COLON}</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}{L_COLON}</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 -->

	<fieldset class="submit-buttons">
		{S_HIDDEN_FIELDS}
		<input type="submit" name="confirm" value="{L_YES}" class="button1" />&nbsp; 
		<input type="submit" name="cancel" value="{L_NO}" class="button2" />
	</fieldset>

	</div>
</div>
</form>

<!-- INCLUDE overall_footer.html -->
<!-- ENDIF -->