mirror of
https://github.com/searxng/searxng.git
synced 2025-11-03 02:57:06 -05:00
[fix] template: safesearch uses the wrong type (#5136)
This fixes a regression from 60bd8b9#diff-1b714182564ef1fa942ff81b28f9ba3365ab76f75346f4255398bf9d6064b4cc Closes https://github.com/searxng/searxng/issues/5135
This commit is contained in:
parent
3649917ce6
commit
41a4a3e224
@ -3,15 +3,15 @@
|
|||||||
<div class="value">{{- '' -}}
|
<div class="value">{{- '' -}}
|
||||||
<select name='safesearch' aria-labelledby="pref_safesearch">{{- '' -}}
|
<select name='safesearch' aria-labelledby="pref_safesearch">{{- '' -}}
|
||||||
<option value="2"
|
<option value="2"
|
||||||
{%- if safesearch == '2' %} selected="selected" {%- endif -%}>
|
{%- if safesearch == 2 %} selected="selected" {%- endif -%}>
|
||||||
{{- _('Strict') -}}
|
{{- _('Strict') -}}
|
||||||
</option>{{- '' -}}
|
</option>{{- '' -}}
|
||||||
<option value="1"
|
<option value="1"
|
||||||
{%- if safesearch == '1' %} selected="selected" {%- endif -%}>
|
{%- if safesearch == 1 %} selected="selected" {%- endif -%}>
|
||||||
{{- _('Moderate') -}}
|
{{- _('Moderate') -}}
|
||||||
</option>{{- '' -}}
|
</option>{{- '' -}}
|
||||||
<option value="0"
|
<option value="0"
|
||||||
{%- if safesearch == '0' %} selected="selected" {%- endif -%}>
|
{%- if safesearch == 0 %} selected="selected" {%- endif -%}>
|
||||||
{{- _('None') -}}
|
{{- _('None') -}}
|
||||||
</option>{{- '' -}}
|
</option>{{- '' -}}
|
||||||
</select>{{- '' -}}
|
</select>{{- '' -}}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user