2012-08-22 07:11:19 +02:00
|
|
|
<div id="Content" class="searchResults">
|
2012-04-04 07:52:54 +02:00
|
|
|
<h1>$Title</h1>
|
2012-10-27 05:15:51 +02:00
|
|
|
|
|
|
|
<% if $Query %>
|
2012-10-08 06:02:34 +02:00
|
|
|
<p class="searchQuery">You searched for "{$Query}"</p>
|
2012-04-04 07:52:54 +02:00
|
|
|
<% end_if %>
|
2012-10-27 05:15:51 +02:00
|
|
|
|
|
|
|
<% if $Results %>
|
2012-04-04 07:52:54 +02:00
|
|
|
<ul id="SearchResults">
|
2012-10-27 05:15:51 +02:00
|
|
|
<% loop $Results %>
|
2012-04-04 07:52:54 +02:00
|
|
|
<li>
|
2012-10-08 06:02:34 +02:00
|
|
|
<h4>
|
|
|
|
<a href="$Link">
|
2012-10-27 05:15:51 +02:00
|
|
|
<% if $MenuTitle %>
|
2012-10-08 06:02:34 +02:00
|
|
|
$MenuTitle
|
|
|
|
<% else %>
|
|
|
|
$Title
|
|
|
|
<% end_if %>
|
|
|
|
</a>
|
|
|
|
</h4>
|
2012-10-27 05:15:51 +02:00
|
|
|
<% if $Content %>
|
2012-10-08 06:02:34 +02:00
|
|
|
<p>$Content.LimitWordCountXML</p>
|
|
|
|
<% end_if %>
|
2012-04-04 07:52:54 +02:00
|
|
|
<a class="readMoreLink" href="$Link" title="Read more about "{$Title}"">Read more about "{$Title}"...</a>
|
|
|
|
</li>
|
2012-10-27 05:15:51 +02:00
|
|
|
<% end_loop %>
|
2012-04-04 07:52:54 +02:00
|
|
|
</ul>
|
|
|
|
<% else %>
|
|
|
|
<p>Sorry, your search query did not return any results.</p>
|
|
|
|
<% end_if %>
|
2012-10-27 05:15:51 +02:00
|
|
|
|
|
|
|
<% if $Results.MoreThanOnePage %>
|
2012-04-04 07:52:54 +02:00
|
|
|
<div id="PageNumbers">
|
2012-04-10 00:45:25 +02:00
|
|
|
<div class="pagination">
|
2012-10-27 05:15:51 +02:00
|
|
|
<% if $Results.NotFirstPage %>
|
2012-05-09 17:16:21 +02:00
|
|
|
<a class="prev" href="$Results.PrevLink" title="View the previous page">←</a>
|
2012-04-10 00:45:25 +02:00
|
|
|
<% end_if %>
|
|
|
|
<span>
|
2012-10-27 05:15:51 +02:00
|
|
|
<% loop $Results.Pages %>
|
|
|
|
<% if $CurrentBool %>
|
2012-04-10 00:45:25 +02:00
|
|
|
$PageNum
|
|
|
|
<% else %>
|
|
|
|
<a href="$Link" title="View page number $PageNum" class="go-to-page">$PageNum</a>
|
|
|
|
<% end_if %>
|
2012-10-27 05:15:51 +02:00
|
|
|
<% end_loop %>
|
2012-04-10 00:45:25 +02:00
|
|
|
</span>
|
2012-10-27 05:15:51 +02:00
|
|
|
<% if $Results.NotLastPage %>
|
2012-05-09 17:16:21 +02:00
|
|
|
<a class="next" href="$Results.NextLink" title="View the next page">→</a>
|
2012-04-10 00:45:25 +02:00
|
|
|
<% end_if %>
|
2012-10-27 05:15:51 +02:00
|
|
|
</div>
|
2012-04-04 07:52:54 +02:00
|
|
|
<p>Page $Results.CurrentPage of $Results.TotalPages</p>
|
|
|
|
</div>
|
|
|
|
<% end_if %>
|
2012-10-27 05:15:51 +02:00
|
|
|
</div>
|