2008-10-08 04:00:12 +02:00
|
|
|
<div id="$id" class="$CSSClasses field">
|
2007-07-19 12:40:28 +02:00
|
|
|
<% if Print %><% else %><% include TableListField_PageControls %><% end_if %>
|
|
|
|
<table class="data">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
2008-10-08 04:00:12 +02:00
|
|
|
<% if Markable %><th width="16"><% if MarkableTitle %>$MarkableTitle<% else %> <% end_if %></th><% end_if %>
|
2007-07-19 12:40:28 +02:00
|
|
|
<% if Print %>
|
|
|
|
<% control Headings %>
|
|
|
|
<th class="$Name">
|
|
|
|
$Title
|
|
|
|
</th>
|
|
|
|
<% end_control %>
|
|
|
|
<% else %>
|
|
|
|
<% control Headings %>
|
|
|
|
<th class="$Name">
|
|
|
|
<% if IsSortable %>
|
|
|
|
<span class="sortTitle">
|
|
|
|
<a href="$SortLink">$Title</a>
|
|
|
|
</span>
|
|
|
|
<span class="sortLink <% if SortBy %><% else %>sortLinkHidden<% end_if %>">
|
2010-02-04 02:14:00 +01:00
|
|
|
<% if SortDirection = desc %>
|
2010-02-04 04:43:32 +01:00
|
|
|
<a href="$SortLink"><img src="cms/images/bullet_arrow_up.png" alt="<% _t('SORTDESC', 'Sort in descending order') %>" /></a>
|
2010-02-04 02:14:00 +01:00
|
|
|
<% else %>
|
2010-02-04 04:43:32 +01:00
|
|
|
<a href="$SortLink"><img src="cms/images/bullet_arrow_down.png" alt="<% _t('SORTASC', 'Sort in ascending order') %>" /></a>
|
2010-02-04 02:14:00 +01:00
|
|
|
<% end_if %>
|
2007-07-19 12:40:28 +02:00
|
|
|
</a>
|
|
|
|
|
|
|
|
</span>
|
|
|
|
<% else %>
|
2010-02-04 02:14:00 +01:00
|
|
|
<span>$Title</span>
|
2007-07-19 12:40:28 +02:00
|
|
|
<% end_if %>
|
|
|
|
</th>
|
|
|
|
<% end_control %>
|
|
|
|
<% end_if %>
|
|
|
|
<% if Can(delete) %><th width="18"> </th><% end_if %>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
<% if HasSummary %>
|
|
|
|
<tfoot>
|
|
|
|
<tr class="summary">
|
|
|
|
<% include TableListField_Summary %>
|
|
|
|
</tr>
|
|
|
|
</tfoot>
|
|
|
|
<% end_if %>
|
|
|
|
|
|
|
|
<tbody>
|
|
|
|
<% if HasGroupedItems %>
|
|
|
|
<% control GroupedItems %>
|
|
|
|
<% control Items %>
|
|
|
|
<% include TableListField_Item %>
|
|
|
|
<% end_control %>
|
|
|
|
<tr class="summary partialSummary">
|
|
|
|
<% include TableListField_Summary %>
|
|
|
|
</tr>
|
|
|
|
<% end_control %>
|
|
|
|
<% else %>
|
|
|
|
<% if Items %>
|
|
|
|
<% control Items %>
|
|
|
|
<% include TableListField_Item %>
|
|
|
|
<% end_control %>
|
|
|
|
<% else %>
|
|
|
|
<tr class="notfound">
|
|
|
|
<% if Markable %><th width="18"> </th><% end_if %>
|
2009-04-29 01:55:53 +02:00
|
|
|
<td colspan="$Headings.Count"><i><% _t('NOITEMSFOUND','No items found') %></i></td>
|
2007-07-19 12:40:28 +02:00
|
|
|
<% if Can(delete) %><td width="18"> </td><% end_if %>
|
|
|
|
</tr>
|
|
|
|
<% end_if %>
|
|
|
|
<% if Can(add) %>
|
2007-10-25 04:47:45 +02:00
|
|
|
$AddRecordAsTableRow
|
2007-07-19 12:40:28 +02:00
|
|
|
<% end_if %>
|
|
|
|
<% end_if %>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2010-02-04 05:31:20 +01:00
|
|
|
<% if Print %><% else %><div class="utility">
|
2007-07-19 12:40:28 +02:00
|
|
|
<% control Utility %>
|
2008-08-14 01:57:53 +02:00
|
|
|
<span class="item"><a href="$Link">$Title</a></span>
|
2007-07-19 12:40:28 +02:00
|
|
|
<% end_control %>
|
2010-02-04 05:31:20 +01:00
|
|
|
</div><% end_if %>
|
2009-04-29 01:55:53 +02:00
|
|
|
</div>
|