aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm/style/acp_words.html
blob: 44d5a5228e38cf94fb8672a383d1c7f84c4e373e (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
<!-- INCLUDE overall_header.html -->

<a name="maincontent"></a>

<!-- IF S_EDIT_WORD -->

	<a href="{U_BACK}" style="float: right">&laquo; {L_BACK}</a>

	<h1>{L_ACP_WORDS}</h1>

	<p>{L_ACP_WORDS_EXPLAIN}</p>

	<form id="acp_words" method="post" action="{U_ACTION}">

	<fieldset>
		<legend>{L_EDIT_WORD}</legend>
		<dl>
			<dt><label for="word">{L_WORD}</label></dt>
			<dd><input id="word" type="text" name="word" value="{WORD}" /></dd>
		</dl>
		<dl>
			<dt><label for="replacement">{L_REPLACEMENT}</label></dt>
			<dd><input id="replacement" type="text" name="replacement" value="{REPLACEMENT}" /></dd>
		</dl>
		{S_HIDDEN_FIELDS}
	</fieldset>

	<fieldset class="submit-buttons">
		<input class="button1" type="submit" id="submit" name="save" value="{L_SUBMIT}" />&nbsp;
		<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
	</fieldset>

	</form>

<!-- ELSE -->

	<h1>{L_ACP_WORDS}</h1>

	<p>{L_ACP_WORDS_EXPLAIN}</p>

	<form id="acp_words" method="post" action="{U_ACTION}">

	<fieldset class="quick">
		{S_HIDDEN_FIELDS}
		<input class="button2" name="add" type="submit" value="{L_ADD_WORD}" />
	</fieldset>

	</form>

	<table cellspacing="1">
	<thead>
	<tr>
		<th>{L_WORD}</th>
		<th>{L_REPLACEMENT}</th>
		<th colspan="2">{L_ACTION}</th>
	</tr>
	</thead>
	<tbody>
	<!-- BEGIN words -->
		<!-- IF words.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
		<td style="text-align: center;">{words.WORD}</td>
		<td style="text-align: center;">{words.REPLACEMENT}</td>
		<td>&nbsp;<a href="{words.U_EDIT}">{L_EDIT}</a>&nbsp;</td>
		<td>&nbsp;<a href="{words.U_DELETE}">{L_DELETE}</a>&nbsp;</td>
	</tr>
	<!-- END words -->
	</tbody>
	</table>

<!-- ENDIF -->

<!-- INCLUDE overall_footer.html -->