{{if $tiles}} {{* this is needed to append the upload files in the right order *}}
{{if $parentpath}}
..
{{/if}} {{foreach $entries as $item}}
{{if $item.is_owner}} {{* add file tools here*}} {{/if}}
{{/foreach}}
{{else}} {{if $parentpath}} {{/if}} {{if $channel_id && $is_owner && $entries.0}} {{/if}} {{* this is needed to append the upload files in the right order *}} {{foreach $entries as $item}} {{/if}} {{/foreach}}
{{* multi tool checkbox *}} {{* icon *}} {{$name}} {{* categories *}} {{* lock icon *}} {{* tools icon *}} {{$size}} {{$lastmod}}
..
{{* this is for display consistency *}}
{{if $is_owner}} {{else if $is_admin}} {{/if}}
{{include file="field_select.tpl" field=$newfolder}} {{include file="field_checkbox.tpl" field=$copy}}
{{include file="field_input.tpl" field=$categories}}
{{if $is_owner}} {{include file="field_checkbox.tpl" field=$recurse}} {{/if}}
{{if $is_owner}} {{/if}}
{{if $channel_id && $is_owner}}
{{/if}}
{{$item.name}} {{$item.terms}} {{if $item.lockstate == 'lock'}} {{/if}} {{if ($item.is_owner || $item.is_creator) && $item.attach_id}} {{else}} {{if ($is_admin || !$item.collection) && $item.attach_id}} {{/if}} {{$item.size_formatted}} {{$item.last_modified}}
{{include file="field_input.tpl" field=$item.newfilename}}
{{if ! $item.collection}}
{{/if}}
{{include file="field_select.tpl" field=$item.newfolder}} {{include file="field_checkbox.tpl" field=$item.copy}}
{{include file="field_input.tpl" field=$item.categories}}
{{if $item.is_owner}} {{if !$item.collection}}{{include file="field_checkbox.tpl" field=$item.notify}}{{/if}} {{if $item.collection}}{{include file="field_checkbox.tpl" field=$item.recurse}}{{/if}} {{/if}}
{{if $item.is_owner}} {{/if}}
{{/if}}