mirror of
https://github.com/searxng/searxng.git
synced 2024-12-02 07:31:00 +00:00
Merge pull request #754 from return42/fix-751
[theme] /preferences: rename "Method" to "HTTP Method"
This commit is contained in:
commit
599d882d0a
2 changed files with 3 additions and 3 deletions
|
@ -259,7 +259,7 @@
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
{% if 'method' not in locked_preferences %}
|
{% if 'method' not in locked_preferences %}
|
||||||
{% set method_label = _('Method') %}
|
{% set method_label = _('HTTP Method') %}
|
||||||
{% set method_info = _('Change how forms are submited, <a href="http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods" rel="external">learn more about request methods</a>') %}
|
{% set method_info = _('Change how forms are submited, <a href="http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods" rel="external">learn more about request methods</a>') %}
|
||||||
{{ preferences_item_header(method_info, method_label, rtl, 'method') }}
|
{{ preferences_item_header(method_info, method_label, rtl, 'method') }}
|
||||||
<select class="form-control {{ custom_select_class(rtl) }}" name="method" id="method">
|
<select class="form-control {{ custom_select_class(rtl) }}" name="method" id="method">
|
||||||
|
|
|
@ -234,14 +234,14 @@
|
||||||
{{ tab_header('maintab', 'privacy', _('Privacy')) }}
|
{{ tab_header('maintab', 'privacy', _('Privacy')) }}
|
||||||
{% if 'method' not in locked_preferences %}
|
{% if 'method' not in locked_preferences %}
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>{{ _('Method') }}</legend>
|
<legend>{{ _('HTTP Method') }}</legend>
|
||||||
<p class="value">
|
<p class="value">
|
||||||
<select name='method'>
|
<select name='method'>
|
||||||
<option value="POST" {% if method == 'POST' %}selected="selected"{% endif %}>POST</option>
|
<option value="POST" {% if method == 'POST' %}selected="selected"{% endif %}>POST</option>
|
||||||
<option value="GET" {% if method == 'GET' %}selected="selected"{% endif %}>GET</option>
|
<option value="GET" {% if method == 'GET' %}selected="selected"{% endif %}>GET</option>
|
||||||
</select>
|
</select>
|
||||||
</p>
|
</p>
|
||||||
<div class="description">{{ _('Search language') }}</div>
|
<div class="description">{{ _('Change how forms are submited, <a href="http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods" rel="external">learn more about request methods</a>') }}</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if 'image_proxy' not in locked_preferences %}
|
{% if 'image_proxy' not in locked_preferences %}
|
||||||
|
|
Loading…
Reference in a new issue