summaryrefslogtreecommitdiff
path: root/searx/templates/oscar/preferences.html
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2016-09-04 15:56:46 +0200
committerAdam Tauber <asciimoo@gmail.com>2016-09-04 15:57:43 +0200
commitb4b02316173c911f2b12d7c41b9729b28bc9c32c (patch)
treea1ae565beb913744ef51634f054687c00439ae70 /searx/templates/oscar/preferences.html
parent7591c8bfe314b82262c49373e7c26fe5c333d671 (diff)
downloadsearxng-b4b02316173c911f2b12d7c41b9729b28bc9c32c.tar.gz
searxng-b4b02316173c911f2b12d7c41b9729b28bc9c32c.zip
[fix] links in new tabs without js ++ noopener bug fix - closes #674
Diffstat (limited to 'searx/templates/oscar/preferences.html')
-rw-r--r--searx/templates/oscar/preferences.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/searx/templates/oscar/preferences.html b/searx/templates/oscar/preferences.html
index 0e3848b7c..283b7ba88 100644
--- a/searx/templates/oscar/preferences.html
+++ b/searx/templates/oscar/preferences.html
@@ -117,6 +117,15 @@
<option value="pointhi" {% if cookies['oscar-style'] == 'pointhi' %}selected="selected"{% endif %}>Pointhi</option>
</select>
{{ preferences_item_footer(_('Choose style for this theme'), _('Style'), rtl) }}
+
+ {% set label = _('Results on new tabs') %}
+ {% set info = _('Open result links on new browser tabs') %}
+ {{ preferences_item_header(info, label, rtl) }}
+ <select class="form-control" name='results_on_new_tab'>
+ <option value="1" {% if results_on_new_tab %}selected="selected"{% endif %}>{{ _('On') }}</option>
+ <option value="0" {% if not results_on_new_tab %}selected="selected"{% endif %}>{{ _('Off')}}</option>
+ </select>
+ {{ preferences_item_footer(info, label, rtl) }}
</div>
</fieldset>
</div>