Bläddra i källkod

Merge f623d658290434ca46d5a9bdd36b3903ba6a7cb1 into cd819ae74bfc204c86f1b3d1588859ec8f7d8240

Matej Cotman 6 år sedan
förälder
incheckning
aa1132a7ea
No account linked to committer's email
2 ändrade filer med 2 tillägg och 2 borttagningar
  1. 1
    1
      searx/templates/oscar/preferences.html
  2. 1
    1
      searx/templates/pix-art/preferences.html

+ 1
- 1
searx/templates/oscar/preferences.html Visa fil

@@ -300,7 +300,7 @@
300 300
         {{ _("These cookies serve your sole convenience, we don't use these cookies to track you.") }}
301 301
         </p>
302 302
         <p style="margin:20px 0;">{{ _('Search URL of the currently saved preferences') }} <small class="text-muted">({{ _('Note: specifying custom settings in the search URL can reduce privacy by leaking data to the clicked result sites.') }})</small>:<br/>
303
-          <input readonly="" class="form-control select-all-on-click cursor-text" type="url" value="{{ url_for('index', _external=True) }}?preferences={{ preferences_url_params|e }}{% raw %}&amp;q=%s{% endraw %}">
303
+          <input readonly="" class="form-control select-all-on-click cursor-text" type="url" value="{{ base_url }}?preferences={{ preferences_url_params|e }}{% raw %}&amp;q=%s{% endraw %}">
304 304
         </p>
305 305
 
306 306
         <input type="submit" class="btn btn-primary" value="{{ _('save') }}" />

+ 1
- 1
searx/templates/pix-art/preferences.html Visa fil

@@ -76,6 +76,6 @@
76 76
 
77 77
     <input type="submit" value="{{ _('save') }}" />
78 78
     <div class="{% if rtl %}left{% else %}right{% endif %} preferences_back"><a href="{{ url_for('index') }}">{{ _('back') }}</a></div>
79
-    </form>    
79
+    </form>
80 80
 </div>
81 81
 {% endblock %}