+[% keyword_str = search_keywords.join(' ');
+ keyword_esc = uri_escape(keyword_str);
+ keyword_enc = html_encode(keyword_str);
+
+ section_str = params.values.section.no_replace.join(', ');
+ section_esc = uri_escape(section_str);
+ section_enc = html_encode(section_str);
+
+ suite_str = params.values.suite.no_replace.join(', ');
+ suite_esc = uri_escape(suite_str);
+ suite_enc = html_encode(suite_str);
+
+ architectures_str = params.values.arch.no_replace.join(', ');
+ architectures_esc = uri_escape(architectures_str);
+ architectures_enc = html_encode(architectures_str);
+%]
+
+<div id="psearchsug">
+[% UNLESS results %]
+ <p>You can try a different search on the <a href="[% searchformurl %]#search_packages">Packages search page</a>.</p>
+
+ [% IF opts.searchon != "names" && opts.exact %]
+ <p>You have searched only for words exactly matching your keywords.
+ You can try to search <a href="[% make_search_url('',"keywords=$keyword_esc",'exact',0) %]">allowing subword matching</a>
+ [% END %]
+[% END %]
+[% IF opts.searchon == "names" && non_results %]
+<p><a href="[% search_url %][% keyword_esc %]">[% non_results %]</a>
+results have not been displayed due to the search parameters.</p>
+[% END %]
+</div>
+