There is a code:
{%foreach from=$title_reverse item='tit' name='i'%} {%$tit.name|strip_tags%} {%$allregions[$message.region].name%} {%if $smarty.foreach.i.last eq false %} / {%/if%} {%/foreach%} {%if $regions|@count > 0%} {%$locale.1019%} {%foreach from=$regions item='region' name='i'%} {%$region.name%}{%if $smarty.foreach.i.last eq false %}, {%/if%} {%/foreach%} {%/if%} It displays the text like this: Name + City / Site name + City + Region
How to fix the code to display everything as well, except for the second time "City"?