<{if $section.address || $section.embed_code}> <{* Zoomniveau -> Google Maps z-parameter *}> <{$z = 14}> <{if $section.zoom == 'close'}> <{$z = 16}> <{elseif $section.zoom == 'wide'}> <{$z = 12}> <{/if}> <{* Korthøjde *}> <{$map_height = '420px'}> <{if $section.map_height == 'low'}> <{$map_height = '300px'}> <{elseif $section.map_height == 'high'}> <{$map_height = '560px'}> <{/if}> <{* Adresse url-encodet til map-query. escape:'url' er en indbygget Smarty-modifier, så den virker i secure mode. *}> <{$map_query = $section.address|escape:'url'}> <{capture name="map"}>
<{if $section.embed_code}> <{$section.embed_code nofilter}> <{elseif $section.address}> <{/if}>
<{/capture}> <{capture name="details"}>
<{if $section.title}>

<{$section.title}>

<{/if}> <{if $section.address}>

<{$section.address|nl2br}>

<{/if}> <{if $section.info}> <{include file="components/wysiwyg.html" content=$section.info}> <{/if}>
<{if $section.directions && $section.address}> <{t}>Få rutevejledning<{/t}> <{/if}> <{/capture}>
<{if $section.layout == 'map_only'}> <{$smarty.capture.map nofilter}> <{else}>
<{if $section.layout == 'map_left'}>
<{$smarty.capture.map nofilter}>
<{$smarty.capture.details nofilter}>
<{else}>
<{$smarty.capture.details nofilter}>
<{$smarty.capture.map nofilter}>
<{/if}>
<{/if}>
<{/if}>