27 lines
1015 B
Plaintext
27 lines
1015 B
Plaintext
<table class="trans1">
|
|
{var $last = ''}
|
|
{foreach $result as $term}
|
|
{if ($last != $term->string1 && $last != '') }
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
{/if}
|
|
{if $last != $term->string1}
|
|
<tr>
|
|
<td>
|
|
<span class="term">{$term->string1}</span>
|
|
{foreach $term->pronunciations as $pron}
|
|
<span class="ipa-{$pron->type->id}">[{$pron->ipa}]</span>
|
|
<img n:if="$pron->filename" class="sound-ipa ajax" src="/images/sound.png" alt="Prehraj" style="vertical-align: middle;" data-sound-id="{$pron->id}" ></image>
|
|
{/foreach}
|
|
<br/>
|
|
<div style="margin-left: 20px;" class="translations">
|
|
{/if}
|
|
{$last == $term->string1 && trim($last2) != '' && trim($term->string2) != '' ? ', ' : ''}{$term->string2}{foreach $term->flags as $flag} <span class="flag">{$termFlags[$flag]->code}</span>{/foreach}{ifset $term->type->id}<span class="type"> ({$dicttypes[$term->type->id]->fullName|lower})</span>{/ifset}{**
|
|
Nutne kvoli newline
|
|
**}
|
|
{? $last = $term->string1}
|
|
{? $last2 = $term->string2}
|
|
{/foreach}
|
|
</table>
|