diff options
author | Adam Tauber <asciimoo@gmail.com> | 2015-02-03 18:37:38 +0100 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2015-02-03 18:37:38 +0100 |
commit | 1de781a143270c8f1f98a04b688b8546ad341ec5 (patch) | |
tree | f9e48a7644e88a2909d0f5e4a2ac251baa4ff9a1 /searx/templates/default | |
parent | 268e0516eee10f97891aa8a136fd910460f71660 (diff) | |
download | searxng-1de781a143270c8f1f98a04b688b8546ad341ec5.tar.gz searxng-1de781a143270c8f1f98a04b688b8546ad341ec5.zip |
[enh] category specific engine deactivation - closes #205
Diffstat (limited to 'searx/templates/default')
-rw-r--r-- | searx/templates/default/preferences.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/default/preferences.html b/searx/templates/default/preferences.html index 1fa8d88b7..112849c3d 100644 --- a/searx/templates/default/preferences.html +++ b/searx/templates/default/preferences.html @@ -87,7 +87,7 @@ <td>{{ search_engine.name }} ({{ shortcuts[search_engine.name] }})</td> <td>{{ _(categ) }}</td> <td class="engine_checkbox"> - <input type="checkbox" id="engine_{{ categ|replace(' ', '_') }}_{{ search_engine.name|replace(' ', '_') }}" name="engine_{{ search_engine.name }}"{% if search_engine.name in blocked_engines %} checked="checked"{% endif %} /> + <input type="checkbox" id="engine_{{ categ|replace(' ', '_') }}_{{ search_engine.name|replace(' ', '_') }}" name="engine_{{ search_engine.name }}__{{ categ }}"{% if (search_engine.name, categ) in blocked_engines %} checked="checked"{% endif %} /> <label class="allow" for="engine_{{ categ|replace(' ', '_') }}_{{ search_engine.name|replace(' ', '_') }}">{{ _('Allow') }}</label> <label class="deny" for="engine_{{ categ|replace(' ', '_') }}_{{ search_engine.name|replace(' ', '_') }}">{{ _('Block') }}</label> </td> |