summaryrefslogtreecommitdiff
path: root/searx/templates/simple/simple_search.html
diff options
context:
space:
mode:
authorMonty <aroxus@protonmail.com>2022-03-24 18:18:19 +0100
committerMonty <aroxus@protonmail.com>2022-03-26 13:52:38 +0100
commitd4d42b423c6a3f4f8308da4afbf425f433f145ec (patch)
treefa6eaa1da7fa82767f38deee57c232206d10aa05 /searx/templates/simple/simple_search.html
parentb14ed494fb70f976cd77c47d27f29e6fb0bac670 (diff)
Search_url only if method is POST
Shows search_url only if method is set to POST.
Diffstat (limited to 'searx/templates/simple/simple_search.html')
-rw-r--r--searx/templates/simple/simple_search.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/searx/templates/simple/simple_search.html b/searx/templates/simple/simple_search.html
index 218f70496..3fd07abc5 100644
--- a/searx/templates/simple/simple_search.html
+++ b/searx/templates/simple/simple_search.html
@@ -6,4 +6,12 @@
<button id="send_search" type="submit" aria-label="{{ _('search') }}"><span class="hide_if_nojs">{{ icon_big('search-outline') }}</span><span class="show_if_nojs">{{ _('search') }}</span></button>
</div>
</div>
+ {% for category in selected_categories %}
+ <input type="hidden" name="category_{{ category }}" value="1" >
+ {% endfor %}
+ <input type="hidden" name="language" value="{{ current_language }}" >
+ <input type="hidden" name="time_range" value="{{ time_range }}" >
+ <input type="hidden" name="safesearch" value="{{ safesearch }}" >
+ <input type="hidden" name="theme" value="{{ theme }}" >
+ {% if timeout_limit %}<input type="hidden" name="timeout_limit" value="{{ timeout_limit|e }}" >{% endif %}
</form>