diff --git a/searx/preferences.py b/searx/preferences.py index aba712652..6e7d4a5e1 100644 --- a/searx/preferences.py +++ b/searx/preferences.py @@ -383,7 +383,8 @@ class Preferences: '0': False, '1': True, 'True': True, - 'False': False + 'False': False, + 'on': True } ), 'method': EnumStringSetting( @@ -412,7 +413,8 @@ class Preferences: '0': False, '1': True, 'False': False, - 'True': True + 'True': True, + 'on': True } ), 'doi_resolver': MultipleChoiceSetting( @@ -432,7 +434,8 @@ class Preferences: '0': False, '1': True, 'False': False, - 'True': True + 'True': True, + 'on': True } ), 'advanced_search': MapSetting( @@ -454,7 +457,8 @@ class Preferences: '0': False, '1': True, 'True': True, - 'False': False + 'False': False, + 'on': True } ), 'infinite_scroll': MapSetting( @@ -465,7 +469,8 @@ class Preferences: '0': False, '1': True, 'True': True, - 'False': False + 'False': False, + 'on': True } ), # fmt: on diff --git a/searx/templates/simple/preferences/center_alignment.html b/searx/templates/simple/preferences/center_alignment.html index 983a3957b..80508a1ae 100644 --- a/searx/templates/simple/preferences/center_alignment.html +++ b/searx/templates/simple/preferences/center_alignment.html @@ -1,10 +1,14 @@