{* Set the default translation domain, that will be used by {intl} when the 'd' parameter is not set *} {default_translation_domain domain='bo.default'}

#### {$modal_title}

{if empty($items)}
{if $error_message} {$error_message} {else} {intl l="An unknow error happend"} {/if}
{else} {if $type == "image"}
{foreach from=$items key=key item=item} {if ($key % 4 == 0) && $key != 0}
{/if}
{if $item.is_associated} {/if}
{/foreach}
{elseif $type == "document" || $type == "virtual" }

{intl l="ID"} | {intl l="Filename"} | {intl l="Title"} | {intl l="Associated"}
--- | --- | --- | ---
{foreach from=$items item=item}
{$item.id} | {$item.filename} | {$item.title} |
{/foreach}

{/if} {/if}