{$mod->Lang('info_edittemplate_templates_tab')}
{if !isset($all_templates)}
{$mod->Lang('warning_edittemplate_notemplates')}
{else} {assign var='tmpl' value=$design->get_templates()}
{$mod->Lang('available_templates')}
    {foreach from=$all_templates item='tpl'} {if !$tmpl || !in_array($tpl->get_id(),$tmpl)}
  • {$tpl->get_name()}
  • {/if} {/foreach}
{$mod->Lang('attached_templates')}
    {if $design->get_templates()|@count == 0}
  • {$mod->Lang('drop_items')}
  • {/if} {foreach from=$all_templates item='tpl'} {if $tmpl && in_array($tpl->get_id(),$tmpl)}
  • {$tpl->get_name()} {$mod->Lang('remove')}
  • {/if} {/foreach}
{/if}