search.adp
Delivered as text/html
Related Files
[ hide source ] | [ make this the default ]
File Contents
<master>
<property name="context">@context;literal@</property>
<property name="doc(title)">@page_title;literal@</property>
<if @and_queries_notice_p;literal@ true>
<font color="6f6f6f">
#search.The#
[<a href="help/basics#and">#search.details#</a>]<br>
</font>
</if>
<if @nstopwords@ eq 1>
<font color="6f6f6f">
#search.lt_bstopwordsb_is_a_very#
[<a href="help/basics#stopwords">#search.details#</a>]<br>
</font>
</if>
<if @nstopwords@ gt 1>
<font color="6f6f6f">
#search.lt_The_following_words_a# <strong>@stopwords@</strong>.
[<a href="help/basics#stopwords">#search.details#</a>]<br>
</font>
</if>
<if @count@ eq 0>
#search.lt_No_pages_were_found_c#<strong>@query@</strong>".
<br><br>#search.Suggestions#
<ul>
<li>#search.lt_Make_sure_all_words_a#
<li>#search.lt_Try_different_keyword#
<li>#search.lt_Try_more_general_keyw#
<if @nquery@ gt 2>
<li>#search.Try_fewer_keywords#</li>
</if>
</ul>
</if>
<else>
<div id="search-info">
<p class="subtitle">#search.Searched_for_query#</p>
<p class="times">
#search.Results# <strong>@low@-@high@</strong> #search.of_about# <strong>@result.count@</strong>#search.________Search_took# <strong>@elapsed@</strong> #search.seconds#
</p>
</div>
<div id="search-results">
<ol style="counter-reset:item @offset@">
<multiple name="searchresult">
<li>
<a href="@searchresult.url_one@" class="result-title">
<if @searchresult.title_summary@ nil>#search.Untitled#</if>
<else>@searchresult.title_summary;literal@</else>
</a>
<if @searchresult.txt_summary@ not nil>
<div class="result-text">@searchresult.txt_summary;literal@</div>
</if>
<div class="result-url">@searchresult.url_one@</div>
</li>
</multiple>
</ol>
</div>
</else>
<include src="/packages/search/lib/navbar" &="q"
paginator_class="list-paginator-bottom" count="@result.count;literal@" &="low" &="high"
&="offset" &="num" &="search_package_id">
<if @count@ gt 0>
<div style="text-align:center">
<form method="get" action="search">
<div>
<input type="text" name="q" size="60" maxlength="256" value="@query@">
<if @::__csrf_token@ defined><input type="hidden" name="__csrf_token" value="@::__csrf_token;literal@"></if>
<input type="submit" value="#search.Search#">
</div>
</form>
<if @t@ eq "Search">
<em>#search.lt_Tip_In_most_browsers_#</em>
</if>
</div>
<if @stw@ not nil>
<p style="text-align:center;font-size=-1">#search.lt_Try_your_query_on_stw#</p>
</if>
</if>
<if @and_queries_notice_p;literal@ true>
<p class="hint">#search.and_not_needed# [<a href="help/basics#and">#search.details#</a>]</p>
</if>
<if @nstopwords@ eq 1>
<p class="hint">#search.lt_bstopwordsb_is_a_very# [<a href="help/basics#stopwords">#search.details#</a>]</p>
</if>
<if @nstopwords@ gt 1>
<p class="hint">#search.lt_The_following_words_a# [<a href="help/basics#stopwords">#search.details#</a>]</p>
</if>
<if @debug_p;literal@ true>
<p>#search.Searched_for_query#</p>
<p>#search.Results_count#</p>
</if>