{tr}Wiki attachments{/tr}
{ticket}
{section name=x loop=$attachments} {if $attachments[x].path} {$current = 'file'}{$move = 'move2db'}{$confirm = "{tr}Move attachment to database?{/tr}"} {$tip = "{tr}Move to database{/tr}"} {else} {$current = 'db'}{$move = 'move2file'}{$confirm = "{tr}Move attachment to file system?{/tr}"} {$tip = "{tr}Move to file system{/tr}"} {/if} {sectionelse} {norecords _colspan=9} {/section}
{self_link _sort_arg='sort_mode' _sort_field='user'}{tr}User{/tr}{/self_link} {self_link _sort_arg='sort_mode' _sort_field='page'}{tr}Page{/tr}{/self_link} {self_link _sort_arg='sort_mode' _sort_field='filename'}{tr}Name{/tr}{/self_link} {self_link _sort_arg='sort_mode' _sort_field='filesize'}{tr}Size{/tr}{/self_link} {self_link _sort_arg='sort_mode' _sort_field='filetype'}{tr}Type{/tr}{/self_link} {self_link _sort_arg='sort_mode' _sort_field='path'}{tr}Storage{/tr}{/self_link} {self_link _sort_arg='sort_mode' _sort_field='created'}{tr}Created{/tr}{/self_link} {self_link _sort_arg='sort_mode' _sort_field='hits'}{tr}Hits{/tr}{/self_link}  
{$attachments[x].user} {$attachments[x].page} {$attachments[x].filename} {$attachments[x].filesize|kbsize} {$attachments[x].filetype} {$current} {$attachments[x].created|tiki_short_date} {$attachments[x].hits}
{ticket}
{pagination_links cant=$cant_pages step=$prefs.maxRecords offset=$offset}{/pagination_links}
{ticket}
{ticket}