2012-03-12 17:03:14 +01:00
|
|
|
<div id="$id" class="$CSSClasses $extraClass field nolabel" href="$CurrentLink">
|
2008-07-28 09:44:33 +02:00
|
|
|
<div class="middleColumn">
|
2010-10-15 04:27:59 +02:00
|
|
|
<% if Markable %>
|
|
|
|
<% include TableListField_SelectOptions %>
|
|
|
|
<% end_if %>
|
2007-07-19 12:40:28 +02:00
|
|
|
<% include TableListField_PageControls %>
|
|
|
|
<table class="data">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<% if Markable %><th width="18"> </th><% end_if %>
|
2012-05-11 03:49:20 +02:00
|
|
|
<% loop Headings %>
|
2007-07-19 12:40:28 +02:00
|
|
|
<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 %>
|
2013-08-03 20:18:06 +02:00
|
|
|
<img src="$ModulePath(framework)/images/bullet_arrow_up.png" alt="<% _t('ComplexTableField_ss.SORTASC', 'Sort ascending') %>" />
|
2007-07-19 12:40:28 +02:00
|
|
|
<% else %>
|
2013-08-03 20:18:06 +02:00
|
|
|
<img src="$ModulePath(framework)/images/bullet_arrow_down.png" alt="<% _t('ComplexTableField_ss.SORTDESC', 'Sort descending') %>" />
|
2007-07-19 12:40:28 +02:00
|
|
|
<% end_if %>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</span>
|
|
|
|
<% else %>
|
|
|
|
$Title
|
|
|
|
<% end_if %>
|
|
|
|
</th>
|
2012-05-11 03:49:20 +02:00
|
|
|
<% end_loop %>
|
|
|
|
<% loop Actions %><th width="18"> </th><% end_loop %>
|
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>
|
2012-05-11 03:49:20 +02:00
|
|
|
<% loop SummaryFields %>
|
2008-08-08 03:39:34 +02:00
|
|
|
<td<% if Function %> class="$Function"<% end_if %>>$SummaryValue</td>
|
2012-05-11 03:49:20 +02:00
|
|
|
<% end_loop %>
|
|
|
|
<% loop Actions %><td width="18"> </td><% end_loop %>
|
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-10-21 23:42:27 +02:00
|
|
|
<input type="hidden" id="{$id}_PopupHeight" value="$PopupHeight" disabled="disabled">
|
|
|
|
<input type="hidden" id="{$id}_PopupWidth" value="$PopupWidth" disabled="disabled">
|
2013-08-03 20:18:06 +02:00
|
|
|
<a class="popuplink addlink" href="$AddLink" alt="add"><img src="$ModulePath(framework)/images/add.gif" alt="<% _t('ComplexTableField_ss.ADDITEM', 'add') %>" />
|
2012-04-14 00:16:22 +02:00
|
|
|
<% sprintf(_t('ADDITEM', 'Add %s', 'Add [name]'),$Title) %>
|
2008-10-04 00:47:34 +02:00
|
|
|
</a>
|
2007-07-19 12:40:28 +02:00
|
|
|
</td>
|
2012-05-11 03:49:20 +02:00
|
|
|
<% loop Actions %><td width="18"> </td><% end_loop %>
|
2007-07-19 12:40:28 +02:00
|
|
|
</tr>
|
|
|
|
<% end_if %>
|
|
|
|
</tfoot>
|
|
|
|
<tbody>
|
|
|
|
<% if Items %>
|
2012-05-11 03:49:20 +02:00
|
|
|
<% loop Items %>
|
2009-03-13 11:06:41 +01:00
|
|
|
<% include TableListField_Item %>
|
2012-05-11 03:49:20 +02:00
|
|
|
<% end_loop %>
|
2007-07-19 12:40:28 +02:00
|
|
|
<% else %>
|
|
|
|
<tr class="notfound">
|
|
|
|
<% if Markable %><th width="18"> </th><% end_if %>
|
2013-08-03 20:18:06 +02:00
|
|
|
<td colspan="$Headings.Count"><i><% _t('ComplexTableField_ss.NOITEMSFOUND', 'No items found') %></i></td>
|
2012-05-11 03:49:20 +02:00
|
|
|
<% loop Actions %><td width="18"> </td><% end_loop %>
|
2007-07-19 12:40:28 +02:00
|
|
|
</tr>
|
|
|
|
<% end_if %>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2011-02-02 07:50:00 +01:00
|
|
|
<% if Utility %>
|
|
|
|
<div class="utility">
|
2012-05-11 03:49:20 +02:00
|
|
|
<% loop Utility %>
|
2011-02-02 07:50:00 +01:00
|
|
|
<span class="item"><a href="$Link" target="_blank">$Title</a></span>
|
2012-05-11 03:49:20 +02:00
|
|
|
<% end_loop %>
|
2011-02-02 07:50:00 +01:00
|
|
|
</div>
|
|
|
|
<% end_if %>
|
2008-07-28 09:44:33 +02:00
|
|
|
</div>
|
2008-06-25 06:00:27 +02:00
|
|
|
</div>
|