{{foreach $rows as $attachment}}

{filesize="$attachment['attach_filesize']"} · {lang="my_attachment_uploaded" htmlsprintf="\IPS\DateTime::ts( $attachment['attach_date'] )->html()"}

{$attachment['attach_content']|raw}
{{if !$attachment['attach_is_image']}}{lang="attach_hits_count" pluralize="$attachment['attach_hits']"}{{endif}}
{{if \IPS\Member::loggedIn()->group['gbw_delete_attachments'] or !count( \IPS\core\extensions\core\EditorMedia\Attachment::$locations[ $attachment['attach_id'] ] )}} {{endif}}
{{endforeach}}