mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00:00
Merge pull request #485 from dalf/pref_query_in_title
[mod] new preference: query_in_title
This commit is contained in:
@@ -256,6 +256,18 @@
|
||||
<div class="description">{{ _('Proxying image results through SearXNG') }}</div>
|
||||
</fieldset>
|
||||
{% endif %}
|
||||
{% if 'query_in_title' not in locked_preferences %}
|
||||
<fieldset>
|
||||
<legend>{{ _('Query in the page\'s title') }}</legend>
|
||||
<p class="value">
|
||||
<select name='query_in_title'>
|
||||
<option value="1" {% if query_in_title %}selected="selected"{% endif %}>{{ _('Enabled') }}</option>
|
||||
<option value="" {% if not query_in_title %}selected="selected"{% endif %}>{{ _('Disabled') }}</option>
|
||||
</select>
|
||||
</p>
|
||||
<div class="description">{{ _('When enabled, the result page\'s title contains your query. Your browser can record this title.') }}</div>
|
||||
</fieldset>
|
||||
{% endif %}
|
||||
{{ plugin_preferences('privacy') }}
|
||||
{{ tab_footer() }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user