2009-01-05 07:17:59 +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-18 02:48:50 +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>
2009-02-03 03:50:25 +01:00
<% if Items %>
<% control Items %>
<tr id= "record-$Parent.Name-$ID" >
<td 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>
<% if Markable %><td class= "markingcheckbox" >$MarkingCheckbox</td><% end_if %>
<% control Fields %>
<td>$Value</td>
<% end_control %>
<% if Can ( show ) %>
2009-01-05 07:17:59 +01:00
<td width= "18" class= "action" >
2009-02-03 03:50:25 +01:00
<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>
2008-11-18 02:48:50 +01:00
</td>
2009-02-03 03:50:25 +01:00
<% end_if %>
<% if Can ( edit ) %>
<td width= "18" class= "action" >
<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 ) %>
<td width= "18" class= "action" >
<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>
</td>
<% 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 %>
</tr>
<% end_if %>
2007-07-19 12:40:05 +02:00
</tbody>
</table>
2008-04-26 08:40:29 +02:00
</div>