{var $last = ''} {foreach $result as $term} {if ($last != $term->string1 && $last != '') } {/if} {if $last != $term->string1}
{$term->string1}  {foreach $term->pronunciations as $pron} [{$pron->ipa}] Prehraj {/foreach}
{/if} {$last == $term->string1 && trim($last2) != '' && trim($term->string2) != '' ? ', ' : ''}{$term->string2}{foreach $term->flags as $flag} {$termFlags[$flag]->code}{/foreach}{ifset $term->type->id} ({$dicttypes[$term->type->id]->fullName|lower}){/ifset}{** Nutne kvoli newline **} {? $last = $term->string1} {? $last2 = $term->string2} {/foreach}