2007-07-19 12:40:28 +02:00
|
|
|
<div id="$id" class="$Classes">
|
|
|
|
<% 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 %>
|
|
|
|
<% 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">
|
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>
|
|
|
|
<% 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 %>
|
|
|
|
<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 %>
|
|
|
|
<% if Can(show) %>
|
2007-10-25 04:47:45 +02:00
|
|
|
<td width="18"><a class="popuplink showlink" href="$ShowLink" target="_blank"><img src="cms/images/show.png" alt="<% _t('SHOW', 'show') %>" /></a></td>
|
2007-07-19 12:40:28 +02:00
|
|
|
<% end_if %>
|
|
|
|
<% if Can(edit) %>
|
2007-10-25 04:47:45 +02:00
|
|
|
<td width="18"><a class="popuplink editlink" href="$EditLink" target="_blank"><img src="cms/images/edit.gif" alt="<% _t('EDIT', 'edit') %>" /></a></td>
|
2007-07-19 12:40:28 +02:00
|
|
|
<% end_if %>
|
|
|
|
<% if Can(delete) %>
|
2007-10-25 04:47:45 +02:00
|
|
|
<td width="18"><a class="deletelink" href="$DeleteLink" title="<% _t('DELETEROW', 'Delete this row') %>"><img src="cms/images/delete.gif" alt="<% _t('DELETE', 'delete') %>" /></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>
|
2007-07-19 12:40:28 +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>
|
|
|
|
<div class="utility">
|
|
|
|
<% if Can(export) %>
|
|
|
|
$ExportButton
|
|
|
|
<% end_if %>
|
|
|
|
</div>
|
|
|
|
</div>
|