2008-08-06 04:16:16 +02:00
<div id= "$id" class= "$CSSClasses field" >
2008-07-28 09:44:33 +02:00
<div class= "middleColumn" >
2007-07-19 12:40:28 +02:00
<% include TableListField_PageControls %>
2007-08-23 07:47:54 +02:00
<% if Message %>
<p id= "{$id}_error" class= "message $MessageType" >$Message</p>
<% else %>
<p id= "{$id}_error" class= "message $MessageType" style= "display: none" ></p>
<% end_if %>
2007-07-19 12:40:28 +02:00
<table class= "data" >
<thead>
<tr>
2012-05-11 03:49:20 +02:00
<% loop Headings %>
2007-07-19 12:40:28 +02:00
<th class= "$Name $Class" scope= "col" >$Title</th>
2012-05-11 03:49:20 +02:00
<% end_loop %>
2007-07-19 12:40:28 +02:00
<th style= "display: none" ></th>
<% if Can ( delete ) %><th width= "18" >  ;</th><% end_if %>
</tr>
</thead>
<tfoot>
<% if HasSummary %>
<tr class= "summary" >
<td><i>$SummaryTitle</i></td>
2012-05-11 03:49:20 +02:00
<% loop SummaryFields %>
2007-07-19 12:40:28 +02:00
<td<% if Function %> class= "$Function" <% end_if %>>$SummaryValue</td>
2012-05-11 03:49:20 +02:00
<% end_loop %>
2007-07-19 12:40:28 +02:00
<th style= "display: none" ></th>
<% if Can ( delete ) %><td width= "18" >  ;</td><% end_if %>
</tr>
<% end_if %>
<% if Can ( add ) %>
<tr>
<td colspan= "$ItemCount" >
2012-08-06 13:44:21 +02:00
<a href= "#" class= "addrow" title= "<% _t('TableField.ss.ADD', 'Add a new row') %>" ><img src= "$ModulePath(framework)/images/add.gif" alt= "<% _t('TableField.ss.ADD','Add a new row') %>" />
<% sprintf ( _t ( 'TableField . ss . ADDITEM ', 'Add %s ' ) , $Title ) %>
2008-10-04 00:47:34 +02:00
</a>
2007-07-19 12:40:28 +02:00
</td>
<td style= "display: none" ></td>
<% if Can ( delete ) %><td width= "18" >  ;</td><% end_if %>
</tr>
<% end_if %>
</tfoot>
<tbody>
<% if Items %>
2012-05-11 03:49:20 +02:00
<% loop Items %>
2007-07-19 12:40:28 +02:00
<tr id= "record-$Parent.id-$ID" class= "row<% if HighlightClasses %> $HighlightClasses<% end_if %>" >
2012-05-11 03:49:20 +02:00
<% loop Fields %>
2007-11-26 01:57:03 +01:00
<td class= "$FieldClass $extraClass $ClassName $Title tablecolumn" >$Field</td>
2012-05-11 03:49:20 +02:00
<% end_loop %>
2007-07-19 12:40:28 +02:00
<td style= "display: none" >$ExtraData</td>
2012-08-06 13:44:21 +02:00
<% if Can ( delete ) %><td width= "18" ><a class= "deletelink" href= "$DeleteLink" title= "<% _t('TableField.ss.DELETEROW') %>" ><img src= "$ModulePath(framework)/images/delete.gif" alt= "<% _t('TableField.ss.DELETE') %>" /></a></td><% end_if %>
2007-07-19 12:40:28 +02:00
</tr>
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 %>
2012-08-06 13:44:21 +02:00
<td colspan= "$Headings.Count" ><i><% _t ( 'TableField . ss . NOITEMSFOUND ' ) %></i></td>
2007-07-19 12:40:28 +02:00
<% if Can ( delete ) %><td width= "18" >  ;</td><% end_if %>
</tr>
<% end_if %>
</tbody>
</table>
2011-03-18 21:00:00 +01:00
<% if Print %><% else %><div class= "utility" >
2012-05-11 03:49:20 +02:00
<% loop Utility %>
2011-03-18 21:00:00 +01:00
<span class= "item" ><a href= "$Link" >$Title</a></span>
2012-05-11 03:49:20 +02:00
<% end_loop %>
2011-03-18 21:00:00 +01:00
</div><% end_if %>
2008-04-15 11:33:50 +02:00
<% if Message %>
<span class= "message $MessageType" >$Message</span>
<% end_if %>
2008-07-28 09:44:33 +02:00
</div>
2012-03-24 04:38:57 +01:00
</div>