18 lines
790 B
HTML
18 lines
790 B
HTML
<div id="search_url" role="complementary" aria-labelledby="search_url-title">
|
|
<details class="sidebar-collapsable">
|
|
<summary class="title" id="search_url-title">{{ _('Search URL') }}</summary>
|
|
<div class="selectable_url">
|
|
<pre>{{ url_for('search', _external=True) }}?q={{ q|urlencode }}&language={{ current_language }}&time_range={{ time_range }}&safesearch={{ safesearch }}
|
|
{%- if pageno > 1 -%}
|
|
&pageno={{ pageno }}
|
|
{%- endif -%}
|
|
{%- if selected_categories -%}
|
|
&categories={{ selected_categories|join(",") | replace(' ','+') }}
|
|
{%- endif -%}
|
|
{%- if timeout_limit -%}
|
|
&timeout_limit={{ timeout_limit|urlencode }}
|
|
{%- endif -%}
|
|
</pre>
|
|
</div>
|
|
</details>
|
|
</div>
|