From d2d0fddc438609d0357afa727412b07beb464e57 Mon Sep 17 00:00:00 2001 From: asciimoo Date: Sat, 19 Oct 2013 20:54:21 +0200 Subject: [PATCH 1/2] [enh] example engine update --- examples/basic_engine.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/basic_engine.py b/examples/basic_engine.py index 36fb62605..34c34d89d 100644 --- a/examples/basic_engine.py +++ b/examples/basic_engine.py @@ -1,4 +1,6 @@ +categories = ['general'] # optional + def request(query, params): '''pre-request callback params: From 567a44fcadfaf8d41462feb664de1eac97409375 Mon Sep 17 00:00:00 2001 From: asciimoo Date: Sat, 19 Oct 2013 22:13:40 +0200 Subject: [PATCH 2/2] [mod] checkbox label position --- searx/templates/search.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/searx/templates/search.html b/searx/templates/search.html index ab83d77ec..e9ec4bc3c 100644 --- a/searx/templates/search.html +++ b/searx/templates/search.html @@ -3,8 +3,8 @@

{% for category in categories %} - {{ category }}: + {{ category }} {% endfor %}

-

remember categories:

+

remember categories