mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
22 lines
931 B
Twig
22 lines
931 B
Twig
<div class="page-header">
|
||
<h1>{{ 'Phrasea search-engine configuration' | trans }}</h1>
|
||
</div>
|
||
|
||
<form method="post" action="{{ path('admin_searchengine_post') }}">
|
||
<fieldset>
|
||
<legend>{{ 'Stemming' | trans }}</legend>
|
||
{{ 'Enable stemming' | trans }} <input type="checkbox" name="stemming_enabled" value="1" {% if configuration['stemming_enabled'] %}checked="checked"{% endif %} />
|
||
</fieldset>
|
||
<fieldset>
|
||
<legend>{{ 'Default sort' | trans }}</legend>
|
||
<select name="default_sort">
|
||
{% for sort, sort_name in available_sort %}
|
||
<option value="{{ sort }}" {%if configuration['default_sort'] == sort %}selected="selected"{% endif %}>{{ sort_name }}</option>
|
||
{% endfor %}
|
||
</select>
|
||
</fieldset>
|
||
<div class="form-actions">
|
||
<button type="submit" class="btn btn-warning">{{ 'boutton::valider' | trans }}</button>
|
||
</div>
|
||
</form>
|