2007-07-19 12:40:28 +02:00
<div id= "$id" class= "$Classes" >
<% 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>
<% control Headings %>
<th class= "$Name $Class" scope= "col" >$Title</th>
<% end_control %>
<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>
<% control SummaryFields %>
<td<% if Function %> class= "$Function" <% end_if %>>$SummaryValue</td>
<% end_control %>
<th style= "display: none" ></th>
<% if Can ( delete ) %><td width= "18" >  ;</td><% end_if %>
</tr>
<% end_if %>
<% if Can ( add ) %>
<tr>
<td colspan= "$ItemCount" >
<a href= "#" class= "addrow" title= "Add a new row" ><img src= "cms/images/add.gif" alt= "add" /> Add $Title</a>
</td>
<td style= "display: none" ></td>
<% if Can ( delete ) %><td width= "18" >  ;</td><% end_if %>
</tr>
<% end_if %>
</tfoot>
<tbody>
<% if Items %>
<% control Items %>
<tr id= "record-$Parent.id-$ID" class= "row<% if HighlightClasses %> $HighlightClasses<% end_if %>" >
<% control Fields %>
2007-08-23 07:47:54 +02:00
<td class= "$FieldClass $ExtraClass $ClassName $Title tablecolumn" >$Field</td>
2007-07-19 12:40:28 +02:00
<% end_control %>
<td style= "display: none" >$ExtraData</td>
<% if Can ( delete ) %><td width= "18" ><a class= "deletelink" href= "$DeleteLink" title= "Delete this row" ><img src= "cms/images/delete.gif" alt= "delete" /></a></td><% end_if %>
</tr>
<% end_control %>
<% else %>
<tr class= "notfound" >
<% if Markable %><th width= "18" >  ;</th><% end_if %>
<td colspan= "$Headings.Count" ><i>No $NamePlural found</i></td>
<% if Can ( delete ) %><td width= "18" >  ;</td><% end_if %>
</tr>
<% end_if %>
</tbody>
</table>
<div class= "utility" >
<% if Can ( export ) %>
<a href= "$ExportLink" target= "_blank" >Export to CSV</a>
<% end_if %>
</div>
</div>