2009-02-02 00:49:53 +01:00
|
|
|
<div id="$id" class="$CSSClasses" href="$CurrentLink">
|
2010-05-20 09:28:05 +02:00
|
|
|
<% if Markable %>
|
|
|
|
<% include TableListField_SelectOptions %>
|
|
|
|
<% end_if %>
|
2007-09-03 07:30:32 +02:00
|
|
|
<% include TableListField_PageControls %>
|
|
|
|
<table class="data">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<% if Markable %><th width="18"> </th><% end_if %>
|
|
|
|
<% control Headings %>
|
|
|
|
<th class="$Name">$Title</th>
|
|
|
|
<% end_control %>
|
|
|
|
<% if Can(show) %><th width="18"> </th><% end_if %>
|
|
|
|
<% if Can(edit) %><th width="18"> </th><% end_if %>
|
|
|
|
<% if Can(delete) %><th width="18"> </th><% end_if %>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tfoot>
|
|
|
|
<% if HasSummary %>
|
|
|
|
<tr class="summary">
|
|
|
|
<% if Markable %><th width="18"> </th><% end_if %>
|
|
|
|
<td><i>$SummaryTitle</i></td>
|
|
|
|
<% control SummaryFields %>
|
|
|
|
<td<% if Function %> class="$Function"<% end_if %>> </td>
|
|
|
|
<% end_control %>
|
|
|
|
<% if Can(show) %><td width="18"> </td><% end_if %>
|
|
|
|
<% if Can(edit) %><td width="18"> </td><% end_if %>
|
|
|
|
<% if Can(delete) %><td width="18"> </td><% end_if %>
|
|
|
|
</tr>
|
|
|
|
<% end_if %>
|
|
|
|
<% if Can(add) %>
|
|
|
|
<tr>
|
|
|
|
<% if Markable %><td width="18"> </td><% end_if %>
|
|
|
|
<td colspan="$ItemCount">
|
2009-10-23 01:50:58 +02:00
|
|
|
<input type="hidden" id="{$id}_PopupHeight" value="$PopupHeight" disabled="disabled">
|
|
|
|
<input type="hidden" id="{$id}_PopupWidth" value="$PopupWidth" disabled="disabled">
|
2008-04-18 07:02:56 +02:00
|
|
|
<a class="popuplink addlink" href="$AddLink" alt="<% _t('ADD', 'Add') %>"><img src="cms/images/add.gif" alt="<% _t('ADD', 'Add') %>" /><% _t('ADD', 'Add') %> $Title</a>
|
2007-09-03 07:30:32 +02:00
|
|
|
</td>
|
|
|
|
<% if Can(show) %><td width="18"> </td><% end_if %>
|
|
|
|
<% if Can(edit) %><td width="18"> </td><% end_if %>
|
|
|
|
<% if Can(delete) %><td width="18"> </td><% end_if %>
|
|
|
|
</tr>
|
|
|
|
<% end_if %>
|
|
|
|
</tfoot>
|
|
|
|
<tbody>
|
|
|
|
<% if Items %>
|
|
|
|
<% control Items %>
|
2009-03-13 11:06:41 +01:00
|
|
|
<% include TableListField_Item %>
|
2007-09-03 07:30:32 +02:00
|
|
|
<% end_control %>
|
|
|
|
<% else %>
|
|
|
|
<tr class="notfound">
|
|
|
|
<% if Markable %><th width="18"> </th><% end_if %>
|
2008-01-10 04:28:13 +01:00
|
|
|
<td colspan="$Headings.Count"><i><% _t('NOTFOUND', 'No items found') %></i></td>
|
2007-09-03 07:30:32 +02:00
|
|
|
<% if Can(show) %><td width="18"> </td><% end_if %>
|
|
|
|
<% if Can(edit) %><td width="18"> </td><% end_if %>
|
|
|
|
<% if Can(delete) %><td width="18"> </td><% end_if %>
|
|
|
|
</tr>
|
|
|
|
<% end_if %>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
$ExtraData
|
|
|
|
<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-09-03 07:30:32 +02:00
|
|
|
<% end_if %>
|
|
|
|
</div>
|
2008-06-25 06:00:27 +02:00
|
|
|
</div>
|