{block title}Slovnik{/block}
{layout ../@layout.latte}
{block head}
{/block}
{block content}
Zadaj vyhladavany vyraz.
{form searchForm}
| {label string /} | {label translation /} | {label clen /} |
| {input string} | {input translation} | {input clen} | {input search} |
{ifset $result}
| Preklad |
{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}]
{/foreach}
{/if}
{$last == $term->string1 && trim($last2) != '' && trim($term->string2) != '' ? ', ' : ''}{$term->string2}{**
Nutne kvoli newline
**}
{? $last = $term->string1}
{? $last2 = $term->string2}
{/foreach}
|
{/ifset}
{/form}
{control paginator}
{/block}