diff options
author | Thomas Pointhuber <thomas.pointhuber@gmx.at> | 2015-02-08 21:53:37 +0100 |
---|---|---|
committer | Thomas Pointhuber <thomas.pointhuber@gmx.at> | 2015-02-08 21:53:37 +0100 |
commit | e7de9674b14c2ff06fac009274742819d6468138 (patch) | |
tree | 6a0de8ca26494c2cb6b9c5028ec2ad45cd1e20d9 /searx/templates/default | |
parent | dd4686a3886458f600427aba0ed7b9666b3644db (diff) | |
download | searxng-e7de9674b14c2ff06fac009274742819d6468138.tar.gz searxng-e7de9674b14c2ff06fac009274742819d6468138.zip |
[enh] add safesearch functionality
2 = strict
1 = moderate
0 = none
Diffstat (limited to 'searx/templates/default')
-rw-r--r-- | searx/templates/default/preferences.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/searx/templates/default/preferences.html b/searx/templates/default/preferences.html index 112849c3d..8ac6a895c 100644 --- a/searx/templates/default/preferences.html +++ b/searx/templates/default/preferences.html @@ -61,6 +61,16 @@ </p> </fieldset> <fieldset> + <legend>{{ _('SafeSearch') }}</legend> + <p> + <select name='safesearch'> + <option value="2" {% if safesearch == '2' %}selected="selected"{% endif %}>{{ _('Strict') }}</option> + <option value="1" {% if safesearch == '1' %}selected="selected"{% endif %}>{{ _('Moderate') }}</option> + <option value="0" {% if safesearch == '0' %}selected="selected"{% endif %}>{{ _('None') }}</option> + </select> + </p> + </fieldset> + <fieldset> <legend>{{ _('Themes') }}</legend> <p> <select name="theme"> |