2007-07-19 12:40:05 +02:00
<div id= "$id" class= "$Classes" >
<% include TableListField_PageControls %>
<table class= "data" >
<thead>
<tr>
2007-09-15 22:47:35 +02:00
<% if Markable %><th width= "36" >  ;</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>
<% control Items %>
<tr id= "record-$Parent.Name-$ID" >
2007-09-16 18:37:15 +02:00
<% if Markable %><td width= "36" class= "markingcheckbox" ><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> $MarkingCheckbox</td><% end_if %>
2007-07-19 12:40:05 +02:00
<% control Fields %>
<td>$Value</td>
<% end_control %>
2007-10-02 23:34:57 +02:00
<% if Can ( show ) %>
<td width= "18" >
2008-01-10 04:28:13 +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>
2007-10-02 23:34:57 +02:00
</td>
<% end_if %>
<% if Can ( edit ) %>
<td width= "18" >
2008-01-10 04:28:13 +01:00
<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>
2007-10-02 23:34:57 +02:00
</td>
<% end_if %>
<% if Can ( delete ) %>
2007-09-15 22:47:35 +02:00
<td width= "18" >
2008-01-10 04:28:13 +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>
2007-09-15 22:47:35 +02:00
</td>
<% end_if %>
2007-07-19 12:40:05 +02:00
</tr>
<% end_control %>
</tbody>
</table>
2007-09-15 22:47:35 +02:00
</div>
<script type= "text/javascript" >
new CheckBoxRange ( document . getElementById ( 'Form_EditForm ' ) , 'Files [ ] ' ) ;
</script>