{assign var=mass_delete_size value=count($squashed)} {foreach item=item key=id from=$squashed} {if $item.squashed}{*These items are in chunks / uploaded by the squasher tool*} {if $item.hidden eq false OR $user_level > 99 }
{$item.name} {if $user_level > 99}{if $item.hidden}|publish|{else}|hide|{/if}{if $user_level > 100}|delete|{/if}{/if}
status: {$item.status}
added: {$item.date}
size: {if $item.size>(1024*1024)}{math equation="((x / 1024) / 1024) * (y / z)" x=$item.size y=$item.chunks_finished z=$item.chunks format="%.2f"} / {math equation="(x / 1024) / 1024" x=$item.size format="%.2f"}mb{elseif $item.size>(1024)}{math equation="(x / 1024) * (y / z)" x=$item.size y=$item.chunks_finished z=$item.chunks format="%.2f"} / {math equation="(x / 1024)" x=$item.size format="%.2f"}kb{else}{math equation="x * (y / z)" x=$item.size y=$item.chunks_finished z=$item.chunks format="%.0f"} / {$item.size}b{/if}({math equation="(y / x) * 100" x=$item.chunks y=$item.chunks_finished format="%.0f"}%)
last updated: {$item.lastchange}
{if $item.finished==true} {/if} {if $item.embedable eq true and $item.finished eq false} {if $item.mime=='video/mpeg'} {/if} {/if}
{/if} {else}{*These items are plain files / uploaded manually by the user via ftp*} {if $item.hidden eq false OR $user_level > 99 }
{$item.name} {if $user_level > 99}{if $item.hidden}|publish|{else}|hide|{/if}{if $user_level > 199}|delete|{/if}{/if}
status: {$item.status}
added: {$item.date}
size: {if $item.size>(1024*1024)}{math equation="(x / 1024) / 1024" x=$item.size format="%.2f"}mb{elseif $item.size>(1024)}{math equation="(x / 1024)" x=$item.size format="%.2f"}kb{else}{$item.size}b{/if}
last updated: {$item.lastchange}
{if $item.finished==true} {/if} {if $item.embedable eq true and $item.finished eq false} {if $item.mime=='video/mpeg'} {/if} {/if}
{/if} {/if} {/foreach}
{if $user_level > 100 and $mass_delete_size > 1}

{/if}
{if $debug}{debug}{/if}