/* * Generated by templates/Attachments/default.latte * for mailing {$mailing->primary} */ var tinyMCELinkList = new Array( {foreach $mailing->attachments as $attachment} {if $attachment->download} {foreach $attachment->keys as $key} ["{$attachment->filename}", "{sprintf($cfg->attachmentdownloadurl, "{$key->key}")}"], {/foreach} {/if} {/foreach} );