MINOR Moved CollectionController_Results template into genericviews module

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@64498 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2008-10-17 22:05:20 +00:00
parent 12f2457677
commit 9025c57e4b
1 changed files with 0 additions and 36 deletions

View File

@ -1,36 +0,0 @@
<% if Results %>
<h3><% _t('RESULTS','Results') %></h3>
<ul class="records">
<% control Results %>
<li>
<% if Top.canDetailView %>
<a href="{$Top.Link}/$ID/view">$Title</a>
<% else %>
$Title
<% end_if %>
</li>
<% end_control %>
</ul>
<% else %>
<p class="message"><% _t('NORESULTSFOUND','No records found') %></p>
<% end_if %>
<% if Results.MoreThanOnePage %>
<div id="PageNumbers">
<% if Results.NotFirstPage %>
<a class="prev" href="$Results.PrevLink"><% _t('PREV','Prev') %></a>
<% end_if %>
<span>
<% control Results.Pages %>
<% if CurrentBool %>
$PageNum
<% else %>
<a href="$Link">$PageNum</a>
<% end_if %>
<% end_control %>
</span>
<% if Results.NotLastPage %>
<a class="next" href="$Results.NextLink"><% _t('NEXT','Next') %></a>
<% end_if %>
</div>
<% end_if %>