From f83b64270c6c8cff336889b93fdf6b6e3f20ffa2 Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Tue, 1 Jun 2021 16:21:56 +0200 Subject: [mod] oscar theme /preferences: reorganize the preferences close #115 --- searx/plugins/self_info.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'searx/plugins/self_info.py') diff --git a/searx/plugins/self_info.py b/searx/plugins/self_info.py index 4fdfb4288..053899483 100644 --- a/searx/plugins/self_info.py +++ b/searx/plugins/self_info.py @@ -19,7 +19,9 @@ import re name = gettext('Self Informations') description = gettext('Displays your IP if the query is "ip" and your user agent if the query contains "user agent".') default_on = True - +preference_section = 'query' +query_keywords = ['user-agent'] +query_examples = '' # Self User Agent regex p = re.compile('.*user[ -]agent.*', re.IGNORECASE) -- cgit v1.2.3