summaryrefslogtreecommitdiff
path: root/searx/templates/simple/preferences/results_on_new_tab.html
diff options
context:
space:
mode:
Diffstat (limited to 'searx/templates/simple/preferences/results_on_new_tab.html')
-rw-r--r--searx/templates/simple/preferences/results_on_new_tab.html12
1 files changed, 8 insertions, 4 deletions
diff --git a/searx/templates/simple/preferences/results_on_new_tab.html b/searx/templates/simple/preferences/results_on_new_tab.html
index c0d6c51a5..972485dcf 100644
--- a/searx/templates/simple/preferences/results_on_new_tab.html
+++ b/searx/templates/simple/preferences/results_on_new_tab.html
@@ -1,10 +1,14 @@
<fieldset>{{- '' -}}
<legend id="pref_results_on_new_tab">{{ _('Results on new tabs') }}</legend>{{- '' -}}
<p class="value">{{- '' -}}
- <select name='results_on_new_tab' aria-labelledby="pref_results_on_new_tab">{{- '' -}}
- <option value="1" {% if results_on_new_tab %}selected="selected"{% endif %}>{{ _('On') }}</option>{{- '' -}}
- <option value="0" {% if not results_on_new_tab %}selected="selected"{% endif %}>{{ _('Off')}}</option>{{- '' -}}
- </select>{{- '' -}}
+ <input type="checkbox" {{- ' ' -}}
+ name="results_on_new_tab" {{- ' ' -}}
+ aria-labelledby="pref_results_on_new_tab" {{- ' ' -}}
+ class="checkbox-onoff" {{- ' ' -}}
+ {%- if preferences.get_value('results_on_new_tab') -%}
+ checked
+ {%- endif -%}{{- ' ' -}}
+ />{{- ' ' -}}
</p>{{- '' -}}
<div class="description">
{{- _('Open result links on new browser tabs') -}}