2008-12-05 05:18:32 +01:00
<div id= "$id" class= "$CSSClasses field" href= "$CurrentLink" >
2008-11-04 00:09:49 +01:00
<div class= "FileFilter filterBox" >
$SearchForm
</div>
2007-07-19 12:40:05 +02:00
<% include TableListField_PageControls %>
<table class= "data" >
<thead>
<tr>
2008-11-17 23:42:40 +01:00
<th width= "18" >  ;</th>
<% if Markable %><th width= "18" >  ;</th><% end_if %>
2007-07-19 12:40:05 +02:00
<% control Headings %>
<th class= "$Name" >$Title</th>
<% end_control %>
<th width= "18" >  ;</th>
2007-09-15 22:47:35 +02:00
<% if Can ( delete ) %><th width= "18" >  ;</th><% end_if %>
2007-07-19 12:40:05 +02:00
</tr>
</thead>
<tbody>
2008-11-20 23:36:53 +01:00
<% if Items %>
<% control Items %>
<tr id= "record-$Parent.Name-$ID" >
<td>
<div class= "dragfile" id= "drag-$Parent.Name-$ID" >
<img id= "drag-img-$Parent.Name-$ID" alt= "Drag" title= "<% _t('DRAGTOFOLDER','Drag to folder on left to move file') %>" src= "sapphire/images/drag.gif" />
</div>
</td>
<% if Markable %><td class= "markingcheckbox" >$MarkingCheckbox</td><% end_if %>
<% control Fields %>
<td>$Value</td>
<% end_control %>
<% if Can ( show ) %>
<td width= "18" >
<a class= "popuplink showlink" href= "$ShowLink" target= "_blank" title= "<% _t('SHOW', 'Show asset') %>" ><img src= "cms/images/show.png" alt= "<% _t('SHOW', 'Show asset') %>" /></a>
</td>
<% end_if %>
<% if Can ( edit ) %>
<td width= "18" >
<a class= "popuplink editlink" href= "$EditLink" target= "_blank" title= "<% _t('EDIT', 'Edit asset') %>" ><img src= "cms/images/edit.gif" alt= "<% _t('EDIT', 'Edit asset') %>" /></a>
</td>
<% end_if %>
<% if Can ( delete ) %>
2008-11-17 23:42:40 +01:00
<td width= "18" >
2008-11-20 23:36:53 +01:00
<a class= "deletelink" href= "admin/assets/removefile/$ID" title= "<% _t('DELFILE', 'Delete this file') %>" ><img src= "cms/images/delete.gif" alt= "<% _t('DELFILE', 'Delete this file') %>" title= "<% _t('DELFILE','Delete this file') %>" /></a>
2008-11-17 23:42:40 +01:00
</td>
2008-11-20 23:36:53 +01:00
<% end_if %>
</tr>
<% end_control %>
<% else %>
<tr class= "notfound" >
<td>  ;</td>
<% if Markable %><td width= "18" >  ;</td><% end_if %>
<td colspan= "$Headings.Count" ><i>No $NamePlural found</i></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 %>
2007-07-19 12:40:05 +02:00
</tr>
2008-11-20 23:36:53 +01:00
<% end_if %>
2007-07-19 12:40:05 +02:00
</tbody>
</table>
2008-04-26 08:40:29 +02:00
</div>