{literal} // Register a templates definition set named "xgxsitesetup". CKEDITOR.addTemplates( 'sitesetup', { {/literal} // The name of sub folder which hold the shortcut preview images of the templates. imagesPath: '{$icon_path}', {literal} // The templates definitions. templates: [ {/literal} {foreach name=aussen item=template_data from=$template_listing} {literal} { {/literal} title: '{$template_data.name}', image: '{$template_data.icon}', description: '{$template_data.description}', html: '{$template_data.html}' {if !$smarty.foreach.aussen.last} {literal} }, {/literal} {else} {literal} } {/literal} {/if} {/foreach} ] {literal} }); {/literal}