aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm/style/acp_search.html
blob: ff83f6b79229a1958520967dadeba0d9f2037107 (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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
<!-- INCLUDE overall_header.html -->

<a id="maincontent"></a>

<!-- IF S_SETTINGS -->
	<h1>{L_ACP_SEARCH_SETTINGS}</h1>

	<p>{L_ACP_SEARCH_SETTINGS_EXPLAIN}</p>

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

	<fieldset>
		<legend>{L_GENERAL_SEARCH_SETTINGS}</legend>
	<dl>
		<dt><label for="load_search">{L_YES_SEARCH}:</label><br /><span>{L_YES_SEARCH_EXPLAIN}</span></dt>
		<dd><label><input type="radio" class="radio" id="load_search" name="config[load_search]" value="1"<!-- IF S_YES_SEARCH --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
			<label><input type="radio" class="radio" name="config[load_search]" value="0"<!-- IF not S_YES_SEARCH --> checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
	</dl>
	<dl>
		<dt><label for="search_interval">{L_SEARCH_INTERVAL}:</label><br /><span>{L_SEARCH_INTERVAL_EXPLAIN}</span></dt>
		<dd><input id="search_interval" type="text" size="4" maxlength="4" name="config[search_interval]" value="{SEARCH_INTERVAL}" /> {L_SECONDS}</dd>
	</dl>
	<dl>
		<dt><label for="search_anonymous_interval">{L_SEARCH_GUEST_INTERVAL}:</label><br /><span>{L_SEARCH_GUEST_INTERVAL_EXPLAIN}</span></dt>
		<dd><input id="search_anonymous_interval" type="text" size="4" maxlength="4" name="config[search_anonymous_interval]" value="{SEARCH_GUEST_INTERVAL}" /> {L_SECONDS}</dd>
	</dl>
	<dl>
		<dt><label for="limit_search_load">{L_LIMIT_SEARCH_LOAD}:</label><br /><span>{L_LIMIT_SEARCH_LOAD_EXPLAIN}</span></dt>
		<dd><input id="limit_search_load" type="text" size="4" maxlength="4" name="config[limit_search_load]" value="{LIMIT_SEARCH_LOAD}" /></dd>
	</dl>
	<dl>
		<dt><label for="min_search_author_chars">{L_MIN_SEARCH_AUTHOR_CHARS}:</label><br /><span>{L_MIN_SEARCH_AUTHOR_CHARS_EXPLAIN}</span></dt>
		<dd><input id="min_search_author_chars" type="text" size="4" maxlength="4" name="config[min_search_author_chars]" value="{MIN_SEARCH_AUTHOR_CHARS}" /></dd>
	</dl>
	<dl>
		<dt><label for="max_num_search_keywords">{L_MAX_NUM_SEARCH_KEYWORDS}:</label><br /><span>{L_MAX_NUM_SEARCH_KEYWORDS_EXPLAIN}</span></dt>
		<dd><input id="max_num_search_keywords" type="text" size="4" maxlength="4" name="config[max_num_search_keywords]" value="{MAX_NUM_SEARCH_KEYWORDS}" /></dd>
	</dl>
	<dl>
		<dt><label for="search_store_results">{L_SEARCH_STORE_RESULTS}:</label><br /><span>{L_SEARCH_STORE_RESULTS_EXPLAIN}</span></dt>
		<dd><input id="search_store_results" type="text" size="4" maxlength="6" name="config[search_store_results]" value="{SEARCH_STORE_RESULTS}" /> {L_SECONDS}</dd>
	</dl>
	</fieldset>

	<fieldset>
		<legend>{L_SEARCH_TYPE}</legend>
	<dl>
		<dt><label for="search_type">{L_SEARCH_TYPE}:</label><br /><span>{L_SEARCH_TYPE_EXPLAIN}</span></dt>
		<dd><select id="search_type" name="config[search_type]">{S_SEARCH_TYPES}</select></dd>
	</dl>
	</fieldset>

	<!-- BEGIN backend -->

		<fieldset>
			<legend>{backend.NAME}</legend>
		{backend.SETTINGS}
		</fieldset>

	<!-- END backend -->

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

<!-- ELSEIF S_INDEX -->

	<script type="text/javascript">
	// <![CDATA[
		/**
		* Popup search progress bar
		*/
		function popup_progress_bar(progress_type)
		{
			close_waitscreen = 0;
			// no scrollbars
			popup('{UA_PROGRESS_BAR}&amp;type=' + progress_type, 400, 240, '_index');
		}
	// ]]>
	</script>

	<h1>{L_ACP_SEARCH_INDEX}</h1>

	<!-- IF S_CONTINUE_INDEXING -->
		<p>{L_CONTINUE_EXPLAIN}</p>

		<form id="acp_search_continue" method="post" action="{U_CONTINUE_INDEXING}">
			<fieldset class="submit-buttons">
				<legend>{L_SUBMIT}</legend>
				<input class="button1" type="submit" id="continue" name="continue" value="{L_CONTINUE}" onclick="popup_progress_bar('{S_CONTINUE_INDEXING}');" />&nbsp;
				<input class="button2" type="submit" id="cancel" name="cancel" value="{L_CANCEL}" />
				{S_FORM_TOKEN}
			</fieldset>
		</form>
	<!-- ELSE -->

		<p>{L_ACP_SEARCH_INDEX_EXPLAIN}</p>

		<!-- BEGIN backend -->

			<!-- IF backend.S_STATS -->

			<form id="acp_search_index_{backend.NAME}" method="post" action="{U_ACTION}">

				<fieldset class="tabulated">

				{backend.S_HIDDEN_FIELDS}

				<legend>{L_INDEX_STATS}: {backend.L_NAME} <!-- IF backend.S_ACTIVE -->({L_ACTIVE}) <!-- ENDIF --></legend>

				<table cellspacing="1">
					<caption>{backend.L_NAME} <!-- IF backend.S_ACTIVE -->({L_ACTIVE}) <!-- ENDIF --></caption>
					<col class="col1" /><col class="col2" /><col class="col1" /><col class="col2" />
				<thead>
				<tr>
					<th>{L_STATISTIC}</th>
					<th>{L_VALUE}</th>
					<th>{L_STATISTIC}</th>
					<th>{L_VALUE}</th>
				</tr>
				</thead>
				<tbody>
				<!-- BEGIN data -->
					<tr>
						<td>{backend.data.STATISTIC_1}:</td>
						<td>{backend.data.VALUE_1}</td>
						<td>{backend.data.STATISTIC_2}<!-- IF backend.data.STATISTIC_2 -->:<!-- ENDIF --></td>
						<td>{backend.data.VALUE_2}</td>
					</tr>
				<!-- END data -->
				</tbody>
				</table>

			<!-- ENDIF -->

			<p class="quick">
			<!-- IF backend.S_INDEXED -->
				<input type="hidden" name="action" value="delete" />
				<input class="button2" type="submit" value="{L_DELETE_INDEX}" onclick="popup_progress_bar('delete');" />
			<!-- ELSE -->
				<input type="hidden" name="action" value="create" />
				<input class="button2" type="submit" value="{L_CREATE_INDEX}" onclick="popup_progress_bar('create');" />
			<!-- ENDIF -->
			</p>
			{S_FORM_TOKEN}
			</fieldset>

			</form>
		<!-- END backend -->

	<!-- ENDIF -->

<!-- ENDIF -->

<!-- INCLUDE overall_footer.html -->