mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-20 14:29:48 +02:00
81 lines
2.0 KiB
HTML
81 lines
2.0 KiB
HTML
{% include 'overall_header.html' %}
|
|
|
|
<a id="maincontent"></a>
|
|
|
|
<script>
|
|
// <![CDATA[
|
|
/**
|
|
* Popup search progress bar
|
|
*/
|
|
function popup_progress_bar(progress_type)
|
|
{
|
|
close_waitscreen = 0;
|
|
// no scrollbars
|
|
popup('{{ UA_PROGRESS_BAR }}&type=' + progress_type, 400, 240, '_index');
|
|
}
|
|
// ]]>
|
|
</script>
|
|
|
|
<h1>{{ lang('ACP_SEARCH_INDEX') }}</h1>
|
|
|
|
<p>{{ lang('ACP_SEARCH_INDEX_EXPLAIN') }}</p>
|
|
|
|
{% for backend in backends %}
|
|
|
|
{% if backend.S_STATS is not empty %}
|
|
|
|
<form id="acp_search_index_{{ backend.TYPE }}" method="post" action="{{ U_ACTION }}">
|
|
|
|
<fieldset class="tabulated">
|
|
|
|
{{ backend.S_HIDDEN_FIELDS }}
|
|
|
|
<legend>{{ lang('INDEX_STATS') ~ lang('COLON') }} {{ backend.NAME }} {% if backend.S_ACTIVE %}({{ lang('ACTIVE') }}) {% endif %}</legend>
|
|
|
|
<table class="table1">
|
|
<caption>{{ backend.NAME }} {% if backend.S_ACTIVE %}({{ lang('ACTIVE') }}) {% endif %}</caption>
|
|
<col class="col1" /><col class="col2" /><col class="col1" /><col class="col2" />
|
|
<thead>
|
|
<tr>
|
|
<th>{{ lang('STATISTIC') }}</th>
|
|
<th>{{ lang('VALUE') }}</th>
|
|
<th>{{ lang('STATISTIC') }}</th>
|
|
<th>{{ lang('VALUE') }}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for stat in backend.S_STATS | batch(2, '') %}
|
|
<tr>
|
|
{% for key, value in stat %}
|
|
{% if value is not empty %}
|
|
<td>{{ key ~ lang('COLON') }}</td>
|
|
<td>{{ value }}</td>
|
|
{% else %}
|
|
<td></td>
|
|
<td></td>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
|
|
{% endif %}
|
|
|
|
<p class="quick">
|
|
{% if backend.S_INDEXED %}
|
|
<input type="hidden" name="action" value="delete" />
|
|
<input class="button2" type="submit" value="{{ lang('DELETE_INDEX') }}" onclick="popup_progress_bar('delete');" />
|
|
{% else %}
|
|
<input type="hidden" name="action" value="create" />
|
|
<input class="button2" type="submit" value="{{ lang('CREATE_INDEX') }}" onclick="popup_progress_bar('create');" />
|
|
{% endif %}
|
|
</p>
|
|
{{ S_FORM_TOKEN }}
|
|
</fieldset>
|
|
|
|
</form>
|
|
{% endfor %}
|
|
|
|
{% include 'overall_footer.html' %}
|