diff --git a/searx/templates/simple/preferences.html b/searx/templates/simple/preferences.html index ab237a219..6699a30a4 100644 --- a/searx/templates/simple/preferences.html +++ b/searx/templates/simple/preferences.html @@ -102,79 +102,77 @@ {{ tabs_open() }} -{{ tab_header('maintab', 'general', _('General')) }} - {% if 'categories' not in locked_preferences %} -
- {{ _('Default categories') }} - {% set display_tooltip = false %} - {% include 'simple/categories.html' %} -
- {% endif %} - {% if 'language' not in locked_preferences %} -
- {{ _('Search language') }} -

{{- '' -}} - {{- '' -}} + + {%- for lang_id,lang_name,country_name,english_name in language_codes | sort(attribute=1) -%} + + {%- endfor -%} + {{- '' -}} +

+
{{ _('What language do you prefer for search?') }}
+
+ {% endif %} + {% if 'autocomplete' not in locked_preferences %} +
+ {{ _('Autocomplete') }} +

+ +

+
{{ _('Find stuff as you type') }}
+
+ {% endif %} + {% if 'safesearch' not in locked_preferences %} +
+ {{ _('SafeSearch') }} +

+ +

+

{{ _('Filter content') }}

+
+ {% endif %} + {{ plugin_preferences('general') }} + {% if 'doi_resolver' not in locked_preferences %} +
+ {{ _('Open Access DOI resolver') }} +

+ {{- '' -}} -

-
{{ _('What language do you prefer for search?') }}
-
- {% endif %} - {% if 'autocomplete' not in locked_preferences %} -
- {{ _('Autocomplete') }} -

- -

-
{{ _('Find stuff as you type') }}
-
- {% endif %} - {% if 'safesearch' not in locked_preferences %} -
- {{ _('SafeSearch') }} -

- -

-

{{ _('Filter content') }}

-
- {% endif %} - {{ plugin_preferences('general') }} - {% if 'doi_resolver' not in locked_preferences %} -
- {{ _('Open Access DOI resolver') }} -

- -

-
-
- {% endif %} + +

+
+ + {% endif %} {{ tab_footer() }} {{ tab_header('maintab', 'engines', _('Engines')) }}

{{ _('Currently used search engines') }}

- {{ tabs_open() }} {% for categ in all_categories %} - {{ tab_header('enginetab', 'category' + categ, _(categ)) }}
@@ -190,7 +188,6 @@ {% for search_engine in engines_by_category[categ] %} - {% if not search_engine.private %} {% set engine_id = 'engine_' + search_engine.name|replace(' ', '_') + '__' + categ|replace(' ', '_') %} @@ -214,54 +211,52 @@ {{ tab_footer() }} {{ tab_header('maintab', 'ui', _('User interface')) }} - {% if 'locale' not in locked_preferences %} -
- {{ _('Interface language') }} -

- -

-
{{ _('Change the language of the layout') }}
-
- {% endif %} - {% if 'theme' not in locked_preferences %} -
- {{ _('Themes') }} -

- -

-
{{ _('Change searx layout') }}
-
- {% endif %} - {% if 'results_on_new_tab' not in locked_preferences %} -
- {{ _('Results on new tabs') }} -

- -

-
{{_('Open result links on new browser tabs') }}
-
- {% endif %} - {{ plugin_preferences('ui') }} + {% if 'locale' not in locked_preferences %} +
+ {{ _('Interface language') }} +

+ +

+
{{ _('Change the language of the layout') }}
+
+ {% endif %} + {% if 'theme' not in locked_preferences %} +
+ {{ _('Themes') }} +

+ +

+
{{ _('Change searx layout') }}
+
+ {% endif %} + {% if 'results_on_new_tab' not in locked_preferences %} +
+ {{ _('Results on new tabs') }} +

+ +

+
{{_('Open result links on new browser tabs') }}
+
+ {% endif %} + {{ plugin_preferences('ui') }} {{ tab_footer() }} {{ tab_header('maintab', 'cookies', _('Cookies')) }} -

{{ _('This is the list of cookies and their values searx is storing on your computer.') }}
{{ _('With that list, you can assess searx transparency.') }}

- {% if cookies %}
{{ _("Reliablity") }}
@@ -278,17 +273,14 @@ {% else %} {% include 'oscar/messages/no_cookies.html' %} {% endif %} -

{{ _('Search URL of the currently saved preferences') }} :

{{ url_for('index', _external=True) }}?preferences={{ preferences_url_params|e }}{% raw %}&q=%s{% endraw %}

{{ _('Note: specifying custom settings in the search URL can reduce privacy by leaking data to the clicked result sites.') }}

- {{ tab_footer() }} {{ tab_header('maintab', 'query', _('Special Queries')) }} - {% if answerers %}
@@ -326,39 +318,37 @@
{% endif %} - {{ tab_footer() }} {{ tab_header('maintab', 'privacy', _('Privacy')) }} - {% if 'method' not in locked_preferences %} -
- {{ _('Method') }} -

- -

-
{{ _('Search language') }}
-
- {% endif %} - {% if 'image_proxy' not in locked_preferences %} -
- {{ _('Image proxy') }} -

- -

-
{{ _('Proxying image results through searx') }}
-
- {% endif %} - {{ plugin_preferences('privacy') }} - + {% if 'method' not in locked_preferences %} +
+ {{ _('Method') }} +

+ +

+
{{ _('Search language') }}
+
+ {% endif %} + {% if 'image_proxy' not in locked_preferences %} +
+ {{ _('Image proxy') }} +

+ +

+
{{ _('Proxying image results through searx') }}
+
+ {% endif %} + {{ plugin_preferences('privacy') }} {{ tab_footer() }} - {{ tabs_close() }} +{{ tabs_close() }}

{{ _('These settings are stored in your cookies, this allows us not to store this data about you.') }}