{if $browse_location_settings.type!="single" && $bl_locations.values|@count > 1}
{/if}
{capture name=some_content assign=title_field}title_{$crt_lang}{/capture} {if ($browse_location_settings.type=="single" || $bl_locations.values|@count <= 1) && $browse_location_settings[$title_field]}

{$browse_location_settings[$title_field]}

{/if}
{if $browse_location_settings.type=="single"}
    {foreach name=list from=$bl_locations.elements item=t} {capture name=sfield assign=field2}{$t|replace:'/':'--'|urlencode}{/capture}
  • {$t|escape:"html"}
  • {if ($smarty.foreach.list.index+1)%$bl_locations.no_each_row==0 && $smarty.foreach.list.index && $smarty.foreach.list.index!=$bl_locations.no_elements-1}
    {/if} {/foreach}
{else} {foreach name=loc1 from=$bl_locations.values item=v}
    {capture name=sfield assign=field1}{$v.name|replace:'/':'--'|urlencode}{/capture} {foreach name=list from=$v.elements item=t} {capture name=sfield assign=field2}{$t|replace:'/':'--'|urlencode}{/capture}
  • {$t|escape:"html"}
  • {if ($smarty.foreach.list.index+1)%$v.no_each_row==0 && $smarty.foreach.list.index && $smarty.foreach.list.index!=$v.no_elements-1}
    {/if} {/foreach}
{/foreach} {/if}