continue;
}
- $element = [];
+ $element = ['class' => ''];
if (in_array($link, $dynamicAlphabets)) {
$klass = '';
if ($link == $sortByCharacter) {
),
ts('All')
);
- $aToZBar[] = ['item' => $url];
+ $aToZBar[] = ['item' => $url, 'class' => ''];
return $aToZBar;
}
<div id="alpha-filter">
<ul>
{foreach from=$aToZ item=letter}
- <li {if !empty($letter.class)}class="{$letter.class}"{/if}>{$letter.item}</li>
+ <li {if $letter.class}class="{$letter.class}"{/if}>{$letter.item}</li>
{/foreach}
</ul>
</div>