2008-08-11 04:57:59 +02:00
|
|
|
<div id="$id" class="$CSSClasses field" href="$CurrentLink">
|
2008-07-28 09:44:33 +02:00
|
|
|
<div class="middleColumn">
|
2007-07-19 12:40:28 +02:00
|
|
|
<% include TableListField_PageControls %>
|
|
|
|
<table class="data">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<% if Markable %><th width="18"> </th><% end_if %>
|
|
|
|
<% 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 %>">
|
2008-03-11 02:31:38 +01:00
|
|
|
<a href="$SortLink">
|
2007-07-19 12:40:28 +02:00
|
|
|
<% if SortDirection = desc %>
|
2007-10-25 04:47:45 +02:00
|
|
|
<img src="cms/images/bullet_arrow_up.png" alt="<% _t('SORTASC', 'Sort ascending') %>" />
|
2007-07-19 12:40:28 +02:00
|
|
|
<% else %>
|
2007-10-25 04:47:45 +02:00
|
|
|
<img src="cms/images/bullet_arrow_down.png" alt="<% _t('SORTDESC', 'Sort descending') %>" />
|
2007-07-19 12:40:28 +02:00
|
|
|
<% end_if %>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</span>
|
|
|
|
<% else %>
|
|
|
|
$Title
|
|
|
|
<% end_if %>
|
|
|
|
</th>
|
|
|
|
<% end_control %>
|
2008-08-12 01:24:54 +02:00
|
|
|
<% control Actions %><th width="18"> </th><% end_control %>
|
2007-07-19 12:40:28 +02:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tfoot>
|
|
|
|
<% if HasSummary %>
|
|
|
|
<tr class="summary">
|
|
|
|
<% if Markable %><th width="18"> </th><% end_if %>
|
|
|
|
<td><i>$SummaryTitle</i></td>
|
|
|
|
<% control SummaryFields %>
|
2008-08-08 03:39:34 +02:00
|
|
|
<td<% if Function %> class="$Function"<% end_if %>>$SummaryValue</td>
|
2007-07-19 12:40:28 +02:00
|
|
|
<% end_control %>
|
2008-08-12 01:24:54 +02:00
|
|
|
<% control Actions %><td width="18"> </td><% end_control %>
|
2007-07-19 12:40:28 +02:00
|
|
|
</tr>
|
|
|
|
<% end_if %>
|
|
|
|
<% if Can(add) %>
|
|
|
|
<tr>
|
|
|
|
<% if Markable %><td width="18"> </td><% end_if %>
|
|
|
|
<td colspan="$ItemCount">
|
2008-01-10 04:28:13 +01:00
|
|
|
<a class="popuplink addlink" href="$AddLink" alt="add"><img src="cms/images/add.gif" alt="<% _t('ADDITEM', 'add') %>" /><% _t('ADDITEM', 'Add', PR_MEDIUM, 'Add [name]') %> $Title</a>
|
2007-07-19 12:40:28 +02:00
|
|
|
</td>
|
2008-08-12 01:24:54 +02:00
|
|
|
<% control Actions %><td width="18"> </td><% end_control %>
|
2007-07-19 12:40:28 +02:00
|
|
|
</tr>
|
|
|
|
<% end_if %>
|
|
|
|
</tfoot>
|
|
|
|
<tbody>
|
|
|
|
<% if Items %>
|
|
|
|
<% control Items %>
|
|
|
|
<tr id="record-$Parent.id-$ID"<% if HighlightClasses %> class="$HighlightClasses"<% end_if %>>
|
|
|
|
<% if Markable %><td width="18" class="markingcheckbox">$MarkingCheckbox</td><% end_if %>
|
|
|
|
<% control Fields %>
|
|
|
|
<td>$Value</td>
|
|
|
|
<% end_control %>
|
2008-08-12 01:24:54 +02:00
|
|
|
<% control Actions %>
|
|
|
|
<td width="16" class="action<% if Default %> default<% end_if %>"><a class="$Class" href="$Link"><% if Icon %><img src="$Icon" alt="$Label" /><% else %>$Label<% end_if %></a></td>
|
2007-07-19 12:40:28 +02:00
|
|
|
<% end_if %>
|
|
|
|
</tr>
|
|
|
|
<% end_control %>
|
|
|
|
<% else %>
|
|
|
|
<tr class="notfound">
|
|
|
|
<% if Markable %><th width="18"> </th><% end_if %>
|
2007-10-25 04:47:45 +02:00
|
|
|
<td colspan="$Headings.Count"><i><% _t('NOITEMSFOUND', 'No items found') %></i></td>
|
2008-08-12 01:24:54 +02:00
|
|
|
<% control Actions %><td width="18"> </td><% end_control %>
|
2007-07-19 12:40:28 +02:00
|
|
|
</tr>
|
|
|
|
<% end_if %>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<div class="utility">
|
|
|
|
<% if Can(export) %>
|
2008-06-25 06:00:27 +02:00
|
|
|
<a href="$ExportLink" target="_blank"><% _t('CSVEXPORT', 'Export to CSV' ) %></a>
|
2007-07-19 12:40:28 +02:00
|
|
|
<% end_if %>
|
|
|
|
</div>
|
2008-07-28 09:44:33 +02:00
|
|
|
</div>
|
2008-06-25 06:00:27 +02:00
|
|
|
</div>
|