{literal} {/literal}
{t}Attached Files{/t} ({$files|@count}) [ {t}Back to Top{/t} ] {if $browser.ie5up or $browser.ns6up or $browser.gecko or $browser.safari} [ {get_innerhtml element_name="attachments"} ] {/if}
{if $current_role > $roles.customer} {/if} {section name="i" loop=$files} {cycle values=$cycle assign="row_color"} {if $current_role > $roles.customer} {/if} {sectionelse} {/section} {if $current_role > $roles.viewer} {/if}
{t}Files{/t} {t}Owner{/t}{t}Status{/t}{t}Date{/t} {t}Description{/t}
{section name="y" loop=$files[i].files} {$files[i].files[y].iaf_filename|escape:"html"} ({$files[i].files[y].iaf_filesize}) {if $current_user_id == $files[i].iat_usr_id OR $current_role >= $roles.manager}{t}delete{/t}{/if}
{/section}
{$files[i].usr_full_name|escape:"html"} {if $current_user_id == $files[i].iat_usr_id OR $current_role >= $roles.manager}[ {t}delete{/t} ]{/if} {if $files[i].iat_status == 'internal'} {$files[i].iat_status|capitalize} {else} {$files[i].iat_status|capitalize} {/if} {$files[i].iat_created_date} {$files[i].iat_description}
{t}No attachments could be found.{/t}