initial commit

This commit is contained in:
origin
2023-12-04 16:36:56 +01:00
commit e5dd88a27c
64 changed files with 4545 additions and 0 deletions

11
Resources/Private/.htaccess Executable file
View File

@ -0,0 +1,11 @@
# Apache < 2.3
<IfModule !mod_authz_core.c>
Order allow,deny
Deny from all
Satisfy All
</IfModule>
# Apache >= 2.3
<IfModule mod_authz_core.c>
Require all denied
</IfModule>

View File

@ -0,0 +1,101 @@
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" datatype="plaintext" original="EXT:a2g_maps/Resources/Private/Language/backend.xlf" date="2021-11-14T20:20:24Z" product-name="a2g_maps">
<header/>
<body>
<trans-unit id="flexform_map.position_from_map_controll_stuff">
<source>Position from map controll stuff</source>
</trans-unit>
<trans-unit id="flexform_map.hide">
<source>hide</source>
</trans-unit>
<trans-unit id="flexform_map.top">
<source>top</source>
</trans-unit>
<trans-unit id="flexform_map.bottom">
<source>bottom</source>
</trans-unit>
<trans-unit id="flexform_map.both">
<source>both</source>
</trans-unit>
<trans-unit id="flexform_map.yes">
<source>yes</source>
</trans-unit>
<trans-unit id="flexform_map.show_marker_list">
<source>show marker list</source>
</trans-unit>
<trans-unit id="flexform_map.order_marker_list_by">
<source>order marker list by</source>
</trans-unit>
<trans-unit id="flexform_map.none">
<source>none</source>
</trans-unit>
<trans-unit id="flexform_map.region_state">
<source>region / state</source>
</trans-unit>
<trans-unit id="flexform_map.use_layer_switcher">
<source>use layer switcher</source>
</trans-unit>
<trans-unit id="flexform_map.layer_switcher_init_value">
<source>layer switcher init value (%)</source>
</trans-unit>
<trans-unit id="flexform_map.map_zoom">
<source>map zoom</source>
</trans-unit>
<trans-unit id="flexform_map.map_max_zoom">
<source>map max zoom</source>
</trans-unit>
<trans-unit id="flexform_map.center_lat">
<source>center latitude</source>
</trans-unit>
<trans-unit id="flexform_map.center_lon">
<source>center longitude</source>
</trans-unit>
<trans-unit id="flexform_map.show_layer_select">
<source>show layer select</source>
</trans-unit>
<trans-unit id="flexform_map.show_my_position_btn">
<source>show my position button</source>
</trans-unit>
<trans-unit id="flexform_map.show_remove_marker_btn">
<source>show remove marker button</source>
</trans-unit>
<trans-unit id="flexform_map.show_fullscreen_btn">
<source>show fullscreen button</source>
</trans-unit>
<trans-unit id="flexform_map.show_zoom_slider">
<source>show zoom slider</source>
</trans-unit>
<trans-unit id="flexform_map.selectable_layers">
<source>selectable layers</source>
</trans-unit>
<trans-unit id="flexform_map.selectable_layers_description">
<source>one layer is requiered to show a map. use two if layer switcher is active and/or use more if layer select is active</source>
</trans-unit>
<trans-unit id="flexform_map.markers">
<source>markers</source>
</trans-unit>
<trans-unit id="flexform_map.gpx_data">
<source>gpx data</source>
</trans-unit>
</body>
</file>
</xliff>

View File

@ -0,0 +1,126 @@
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" target-language="de" datatype="plaintext" original="EXT:a2g_maps/Resources/Private/Language/backend.xlf" date="2022-01-25T14:39:22Z" product-name="a2g_maps">
<header/>
<body>
<trans-unit id="flexform_map.position_from_map_controll_stuff">
<source>Position from map controll stuff</source>
<target>Position von Karten Bedien Elementen</target>
</trans-unit>
<trans-unit id="flexform_map.hide">
<source>hide</source>
<target>verbergen</target>
</trans-unit>
<trans-unit id="flexform_map.top">
<source>top</source>
<target>darüber</target>
</trans-unit>
<trans-unit id="flexform_map.bottom">
<source>bottom</source>
<target>darunter</target>
</trans-unit>
<trans-unit id="flexform_map.both">
<source>both</source>
<target>beide</target>
</trans-unit>
<trans-unit id="flexform_map.yes">
<source>yes</source>
<target>ja</target>
</trans-unit>
<trans-unit id="flexform_map.show_marker_list">
<source>show marker list</source>
<target>Karten Eintragungen als Liste darstellen</target>
</trans-unit>
<trans-unit id="flexform_map.order_marker_list_by">
<source>order marker list by</source>
<target>Karten Eintragungs Liste sortieren nach</target>
</trans-unit>
<trans-unit id="flexform_map.none">
<source>none</source>
<target>ohne Sortierung</target>
</trans-unit>
<trans-unit id="flexform_map.region_state">
<source>region/state</source>
<target>Region/Bundesland</target>
</trans-unit>
<trans-unit id="flexform_map.use_layer_switcher">
<source>use layer switcher</source>
<target>Anzeigen von Karten Slider</target>
</trans-unit>
<trans-unit id="flexform_map.layer_switcher_init_value">
<source>layer switcher init value (%)</source>
<target>Karten Slider initial Wert (%)</target>
</trans-unit>
<trans-unit id="flexform_map.map_zoom">
<source>map zoom</source>
<target>initial Zoom</target>
</trans-unit>
<trans-unit id="flexform_map.map_max_zoom">
<source>map max zoom</source>
<target>maximaler Zoom</target>
</trans-unit>
<trans-unit id="flexform_map.center_lat">
<source>center latitude</source>
<target>initialer Breitengrad</target>
</trans-unit>
<trans-unit id="flexform_map.center_lon">
<source>center longitude</source>
<target>initialer Längengrad</target>
</trans-unit>
<trans-unit id="flexform_map.show_layer_select">
<source>show layer select</source>
<target>Karten Schichten selektierbar</target>
</trans-unit>
<trans-unit id="flexform_map.show_my_position_btn">
<source>show my position button</source>
<target>meine Position anzeigen Knopf</target>
</trans-unit>
<trans-unit id="flexform_map.show_remove_marker_btn">
<source>show remove marker button</source>
<target>Karten Markierung ein- ausblenden Knopf anzeigen</target>
</trans-unit>
<trans-unit id="flexform_map.show_fullscreen_btn">
<source>show fullscreen button</source>
<target>Karte auf ganzen Bildschirm Knopf</target>
</trans-unit>
<trans-unit id="flexform_map.show_zoom_slider">
<source>show zoom slider</source>
<target>Zoom Slider anzeigen</target>
</trans-unit>
<trans-unit id="flexform_map.selectable_layers">
<source>selectable layers</source>
<target>Karten Schichten</target>
</trans-unit>
<trans-unit id="flexform_map.selectable_layers_description">
<source>one layer is requiered to show a map. use two if layer switcher is active and/or use more if layer select is active</source>
<target>Eine Karten Schicht ist notwendig. Bei verwenudung vom Karten Slider sind zwei notwendig und/oder bei der verwendung von selektierbaren Karten Schichten sind min. zwei notwendig.</target>
</trans-unit>
<trans-unit id="flexform_map.markers">
<source>markers</source>
<target>Karten Markierungen</target>
</trans-unit>
<trans-unit id="flexform_map.gpx_data">
<source>gpx data</source>
<target>gpx Daten</target>
</trans-unit>
</body>
</file>
</xliff>

View File

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" target-language="de" datatype="plaintext" original="EXT:a2g_products/Resources/Private/Language/locallang.xlf" date="2021-11-18T10:42:07Z" product-name="a2g_products">
<header/>
<body>
<trans-unit id="product_list.product_detail_link" resname="product_list.product_detail_link">
<source>detail</source>
<target>mehr erfahren</target>
</trans-unit>
<trans-unit id="product.product_nr" resname="product.product_nr">
<source>article nr</source>
<target>Artikel Nr</target>
</trans-unit>
<trans-unit id="product_list.search" resname="product_list.search">
<source>search</source>
<target>suchen</target>
</trans-unit>
<trans-unit id="product_list.advanced_search" resname="product_list.advanced_search">
<source>advanced search</source>
<target>erweiterte Suche</target>
</trans-unit>
<trans-unit id="product_list.search_input_placeholder" resname="product_list.search_input_placeholder">
<source>search</source>
<target>suche</target>
</trans-unit>
<trans-unit id="related_products" resname="related_products">
<source>related products</source>
<target>Produkte mit dieser Zutat</target>
</trans-unit>
<trans-unit id="used_ingredients" resname="used_ingredients">
<source>used ingredients</source>
<target>Verwendete Zutaten</target>
</trans-unit>
</body>
</file>
</xliff>

View File

@ -0,0 +1,78 @@
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" target-language="de" datatype="plaintext" original="EXT:a2g_maps/Resources/Private/Language/locallang_db.xlf" date="2022-01-25T14:39:22Z" product-name="a2g_maps">
<header/>
<body>
<trans-unit id="popup_content" resname="tx_a2gmaps_domain_model_mapentry">
<source>additional popup content</source>
<target>Zusaetzlicher aufklappende Fenster Inhalt</target>
</trans-unit>
<trans-unit id="nav_to_url" resname="tx_a2gmaps_domain_model_mapentry">
<source>navigation url</source>
<target>Navigations Link</target>
</trans-unit>
<trans-unit id="rel_marker" resname="tx_a2gmaps_domain_model_mapentry">
<source>marker icon ( optional )</source>
<target>Marker Icon ( optional )</target>
</trans-unit>
<trans-unit id="a2g_maps" xml:space="preserve">
<source>Map Entry</source>
<target>Karten Eintrag</target>
</trans-unit>
<trans-unit id="pages.rel_coordinate" xml:space="preserve">
<source>Coordinate</source>
<target>Koordinaten</target>
</trans-unit>
<trans-unit id="a2g_maps.name" xml:space="preserve">
<source>Map</source>
<target>Karte</target>
</trans-unit>
<trans-unit id="a2g_maps.description" xml:space="preserve">
<source>altogether Map</source>
<target>altogether Karte</target>
</trans-unit>
<trans-unit id="a2gmaps_map.name" xml:space="preserve">
<source>Map</source>
<target>Karte</target>
</trans-unit>
<trans-unit id="palette.general" xml:space="preserve">
<source>General</source>
<target>General</target>
</trans-unit>
<trans-unit id="palette.general" resname="tx_a2gmaps_domain_model_mapentry" xml:space="preserve">
<source>General</source>
<target>General</target>
</trans-unit>
<trans-unit id="wizard.group.maps" xml:space="preserve">
<source>Maps</source>
<target>Karten</target>
</trans-unit>
<trans-unit id="a2g_maps.marker" resname="tx_a2gmaps_domain_model_marker" xml:space="preserve">
<source>Map Marker</source>
<target>Karten Markierung</target>
</trans-unit>
<trans-unit id="plugin.map.title" xml:space="preserve">
<source>map</source>
<target>Karte</target>
</trans-unit>
<trans-unit id="plugin.map.description" xml:space="preserve">
<source>Altogether map</source>
<target>Altogether Karte</target>
</trans-unit>
</body>
</file>
</xliff>

View File

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" datatype="plaintext" original="EXT:a2g_products/Resources/Private/Language/locallang.xlf" date="2021-11-18T10:42:07Z" product-name="a2g_products">
<header/>
<body>
<trans-unit id="product_list.product_detail_link" resname="product_list.product_detail_link">
<source>detail</source>
</trans-unit>
<trans-unit id="product.product_nr" resname="product.product_nr">
<source>article nr</source>
</trans-unit>
<trans-unit id="product_list.search" resname="product_list.search">
<source>search</source>
</trans-unit>
<trans-unit id="product_list.advanced_search" resname="product_list.advanced_search">
<source>advanced search</source>
</trans-unit>
<trans-unit id="product_list.search_input_placeholder" resname="product_list.search_input_placeholder">
<source>search</source>
</trans-unit>
<trans-unit id="related_products" resname="related_products">
<source>related products</source>
</trans-unit>
<trans-unit id="used_ingredients" resname="used_ingredients">
<source>used ingredients</source>
</trans-unit>
</body>
</file>
</xliff>

View File

@ -0,0 +1,70 @@
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" datatype="plaintext" original="EXT:a2g_maps/Resources/Private/Language/backend.xlf" date="2021-11-14T20:20:24Z" product-name="a2g_maps">
<header/>
<body>
<trans-unit id="title" resname="tx_a2gmaps_domain_model_marker">
<source>title</source>
</trans-unit>
<trans-unit id="map_icon" resname="tx_a2gmaps_domain_model_marker">
<source>map icon</source>
</trans-unit>
<trans-unit id="popup_content" resname="tx_a2gmaps_domain_model_mapentry">
<source>additional popup content</source>
</trans-unit>
<trans-unit id="nav_to_url" resname="tx_a2gmaps_domain_model_mapentry">
<source>navigation url</source>
</trans-unit>
<trans-unit id="rel_marker" resname="tx_a2gmaps_domain_model_mapentry">
<source>marker icon ( optional )</source>
</trans-unit>
<trans-unit id="a2g_maps" xml:space="preserve">
<source>Map Entry</source>
</trans-unit>
<trans-unit id="pages.rel_coordinate" xml:space="preserve">
<source>Coordinate</source>
</trans-unit>
<trans-unit id="a2g_maps.name" xml:space="preserve">
<source>Map</source>
</trans-unit>
<trans-unit id="a2g_maps.description" xml:space="preserve">
<source>altogether Map</source>
</trans-unit>
<trans-unit id="a2gmaps_map.name" xml:space="preserve">
<source>Map</source>
</trans-unit>
<trans-unit id="palette.general" resname="tx_a2gmaps_domain_model_mapentry" xml:space="preserve">
<source>General</source>
</trans-unit>
<trans-unit id="palette.general" xml:space="preserve">
<source>General</source>
</trans-unit>
<trans-unit id="wizard.group.maps" xml:space="preserve">
<source>Maps</source>
</trans-unit>
<trans-unit id="a2g_maps.marker" resname="tx_a2gmaps_domain_model_marker" xml:space="preserve">
<source>Map Marker</source>
</trans-unit>
<trans-unit id="plugin.map.title" xml:space="preserve">
<source>Map</source>
</trans-unit>
<trans-unit id="plugin.map.description" xml:space="preserve">
<source>Altogether map</source>
</trans-unit>
</body>
</file>
</xliff>

View File

@ -0,0 +1,5 @@
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
<div class="a2g-travel-blog">
<f:render section="content" />
</div>
</html>

View File

@ -0,0 +1,5 @@
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
<div class="a2g-travel-blog-popup">
<f:render section="content" />
</div>
</html>

View File

@ -0,0 +1,80 @@
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" xmlns:bk2k="http://typo3.org/ns/BK2K/BootstrapPackage/ViewHelpers" data-namespace-typo3-fluid="true">
<picture>
<f:for each="{variants}" key="name" as="variant">
<f:variable name="breakpoint">{variant.breakpoint as integer}</f:variable>
<f:variable name="width">{variant.width as integer}</f:variable>
<f:variable name="height" value="" />
<f:if condition="{width}">
<f:if condition="{variant.aspectRatio}">
<f:variable name="aspectRatio">{variant.aspectRatio as float}</f:variable>
<f:variable name="height">{width / aspectRatio}</f:variable>
<f:variable name="height">{height as integer}</f:variable>
</f:if>
<f:variable name="mediaQuery">{f:if(condition: breakpoint, then: 'media="(min-width: {breakpoint}px)"')}</f:variable>
<f:if condition="{variant.sizes}">
<f:variable name="srcset" value="" />
<f:for each="{variant.sizes}" key="sizeKey" as="sizeConfig" iteration="iteration">
<f:variable name="sizeWidth">{sizeConfig.multiplier as float}</f:variable>
<f:variable name="sizeWidth">{sizeWidth * width}</f:variable>
<f:variable name="sizeHeight" value="" />
<f:if condition="{height}">
<f:then>
<f:variable name="sizeHeight">{sizeConfig.multiplier as float}</f:variable>
<f:variable name="sizeHeight">{sizeHeight * height}</f:variable>
<f:variable name="sizeUrl">{f:uri.image(image: file, cropVariant: name, width: '{sizeWidth}c', height: '{sizeHeight}c',absolute:'true')}</f:variable>
</f:then>
<f:else>
<f:if condition="{maxWidth} < {sizeWidth}">
<f:then>
<f:variable name="sizeUrl">{f:uri.image(image: file, cropVariant: 'default', width: maxWidth, absolute:'true')}</f:variable>
</f:then>
<f:else>
<f:variable name="sizeUrl">{f:uri.image(image: file, cropVariant: 'default', width: sizeWidth, absolute:'true')}</f:variable>
</f:else>
</f:if>
</f:else>
</f:if>
<f:variable name="srcset">{srcset}{sizeUrl} {sizeKey}{f:if(condition: iteration.isLast, else: ',')}</f:variable>
</f:for>
</f:if>
<source data-variant="{name}" {f:if(condition: sizeHeight, then: 'data-width="{width}" data-height="{sizeHeight}"', else: 'data-maxwidth="{width}"')} {mediaQuery->f:format.raw()} srcset="{srcset}">
</f:if>
</f:for>
<f:variable name="defaultWidth" value="{variants.default.width}" />
<f:variable name="defaultAspectRatio" value="{variants.default.aspectRatio}" />
<f:if condition="{defaultAspectRatio}">
<f:variable name="aspectRatio">{defaultAspectRatio as float}</f:variable>
<f:variable name="defaultHeight">{defaultWidth / aspectRatio}</f:variable>
<f:variable name="defaultHeight">{defaultHeight as integer}c</f:variable>
</f:if>
<f:if condition="{defaultHeight}">
<f:then>
<f:variable name="src" value="{f:uri.image(image: file, cropVariant: 'default', width: defaultWidth, height: defaultHeight, absolute:'true')}" />
</f:then>
<f:else>
<f:if condition="{maxWidth}">
<f:then>
<f:variable name="src" value="{f:uri.image(image: file, cropVariant: 'default', width: maxWidth, absolute:'true')}" />
</f:then>
<f:else>
<f:variable name="src" value="{f:uri.image(image: file, cropVariant: 'default', width: defaultWidth, absolute:'true')}" />
</f:else>
</f:if>
</f:else>
</f:if>
<f:variable name="finalWidth" value="{bk2k:data.imageInfo(src: src, property: 'width')}" />
<f:variable name="finalHeight" value="{bk2k:data.imageInfo(src: src, property: 'height')}" />
<f:if condition="itemprop">
<f:then>
<img loading="lazy" itemprop="image" src="{src}" width="{finalWidth}" height="{finalHeight}" intrinsicsize="{finalWidth}x{finalHeight}" title="{file.properties.title}" alt="{file.properties.alternative}">
</f:then>
<f:else>
<img loading="lazy" src="{src}" width="{finalWidth}" height="{finalHeight}" intrinsicsize="{finalWidth}x{finalHeight}" title="{file.properties.title}" alt="{file.properties.alternative}">
</f:else>
</f:if>
</picture>
</html>

View File

@ -0,0 +1,31 @@
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" xmlns:bk2k="http://typo3.org/ns/BK2K/BootstrapPackage/ViewHelpers" data-namespace-typo3-fluid="true">
<f:if condition="{settings.useLayerSwitcher} === '1' && {settings.controllsPositions} === '2'">
<input class="a2g-map-layer-swipe form-range" type="range" style="width: 100%" value="{settings.layerSwitcherValue}">
</f:if>
<div class="d-flex justify-content-center">
<f:if condition="{settings.showRemoveMarkerButton} === '1'">
<div class="m-3 form-check form-switch">
<input id="{mapId}-hide-marker-{settings.controllsPositions}" class="form-check-input a2g-map-marker-visible-switcher" type="checkbox">
<label for="{mapId}-hide-marker-{settings.controllsPositions}" class="form-check-label">hide marker</label>
</div>
</f:if>
<f:if condition="{settings.showMyPositionButton} === '1'">
<div class="m-3 form-check form-switch">
<input id="{mapId}-lacate-me-{settings.controllsPositions}" class="form-check-input a2g-map-geolocate-me" type="checkbox">
<label for="{mapId}-hide-marker-{settings.controllsPositions}" class="form-check-label">locate me</label>
</div>
</f:if>
<f:if condition="{settings.showLayerSelect} === '1' && {countMapLayers}>1">
<div class="m-3">
<label>Geometry type &nbsp;</label>
<select class="a2g-map-layer-select">
</select>
</div>
</f:if>
</div>
<f:if condition="{settings.useLayerSwitcher} === '1' && ( {settings.controllsPositions} === '1' || {settings.controllsPositions} === '3'} )">
<input class="a2g-map-layer-swipe form-range" type="range" style="width: 100%" value="{settings.layerSwitcherValue}">
</f:if>
</html>

View File

@ -0,0 +1,72 @@
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" xmlns:bk2k="http://typo3.org/ns/BK2K/BootstrapPackage/ViewHelpers" data-namespace-typo3-fluid="true">
<bk2k:data.imageVariants as="variants" variants="{variants}" multiplier="{columnConfig.multiplier}" gutters="{columnConfig.gutters}" corrections="{columnConfig.corrections}" />
<f:for each="{mapEntries}" iteration="it" as="mapEntriesa" key="region">
<div class="accordion" id="a2g-maps-region-accordion"><div class="accordion-item">
<h2 class="accordion-header" id="a2g-maps-region-accodion-{it.cycle}-heading">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#a2g-maps-region-accodion-{it.cycle}" aria-expanded="false" aria-controls="a2g-maps-region-accodion-{it.cycle}">
{region}
</button>
</h2>
<div id="a2g-maps-region-accodion-{it.cycle}" class="accordion-collapse collapse" aria-labelledby="a2g-maps-region-accodion-{it.cycle}-heading" data-bs-parent="#a2g-maps-region-accodion">
<div class="accordion-body">
<div class="card-group-element card-group-element-align-left card-group-element-columns-3">
<f:for each="{mapEntriesa}" as="mapEntry">
<div class="card-group-element-item">
<div class="card">
<div class="card-body">
<div>
<f:if condition="{mapEntry.title} !== ''">
<f:then>
<h4>
{mapEntry.title}
</h4>
</f:then>
</f:if>
<div>
<f:if condition="{mapEntry.addressline} !== ''">
<f:then>
{mapEntry.addressline}
</f:then>
</f:if>
<f:if condition="{mapEntry.zip}">
<f:then>
<br/>{mapEntry.zip}
</f:then>
</f:if>
<f:if condition="{mapEntry.city}">
<f:then>
{mapEntry.city}
</f:then>
</f:if>
<f:if condition="{mapEntry.region} !== ''">
<f:then>
<br/>{mapEntry.region}
</f:then>
</f:if>
</div>
<f:if condition="{mapEntry.popupContent}">
<f:then>
<f:format.htmlentitiesDecode>
{mapEntry.popupContent}
</f:format.htmlentitiesDecode>
</f:then>
</f:if>
<f:if condition="{mapEntry.navToUrl}">
<f:then>
<a href="{mapEntry.navToUrl}" target="_blank"><f:translate key="nav_me_to" default="mich navigieren"></f:translate></a>
</f:then>
</f:if>
</div>
</div>
</div>
</div>
</f:for>
</div>
</div>
</div>
</div>
</div>
</f:for>
</html>

View File

@ -0,0 +1,31 @@
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" xmlns:bk2k="http://typo3.org/ns/BK2K/BootstrapPackage/ViewHelpers" data-namespace-typo3-fluid="true">
<f:layout name="Default" />
<f:section name="content">
<bk2k:data.imageVariants as="variants" variants="{variants}" multiplier="{columnConfig.multiplier}" gutters="{columnConfig.gutters}" corrections="{columnConfig.corrections}" />
<div id="a2g-costum-icons" data-content='{mapIcons}'></div>
<div class="a2g-map-wrap">
<div class="ol-popup a2g-map-popup d-none" >
<a href="#" class="ol-popup-closer a2g-map-popup-closer"></a>
<div class="a2g-map-popup-content"></div>
</div>
<f:if condition="{settings.controllsPositions} == '1' || {settings.controllsPositions} == '3'">
<f:then>
<f:render partial="Map/Controll" arguments="{_all}"></f:render>
</f:then>
</f:if>
<div id="{mapId}" class="a2g-map"
data-map-config='{mapConfig}'
></div>
<f:if condition="{settings.controllsPositions} == '2' || {settings.controllsPositions} == '3'">
<f:render partial="Map/Controll" arguments="{_all}"></f:render>
</f:if>
</div>
<f:if condition="{settings.showMarkerList} == '1'">
<f:then>
<div class="a2g-map-list mt-3">
<f:render partial="Map/List" arguments="{_all}"></f:render>
</div>
</f:then>
</f:if>
</f:section>
</html>

View File

@ -0,0 +1,54 @@
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" xmlns:bk2k="http://typo3.org/ns/BK2K/BootstrapPackage/ViewHelpers" data-namespace-typo3-fluid="true">
<f:layout name="MapPopupContent" />
<f:section name="content">
<bk2k:data.imageVariants as="variants" variants="{variants}" multiplier="{columnConfig.multiplier}" gutters="{columnConfig.gutters}" corrections="{columnConfig.corrections}" />
<f:if condition="{mapEntry.image}">
<f:then>
<f:render partial="Image" arguments="{file: mapEntry.image, settings: settings, variants: variants, maxWidth: 230}" />
</f:then>
</f:if>
<div class="{f:if(condition:'{mapEntry.image}',then:'mt-2')}">
<f:if condition="{mapEntry.title} !== ''">
<f:then>
<h4>
{mapEntry.title}
</h4>
</f:then>
</f:if>
<div>
<f:if condition="{mapEntry.addressline} !== ''">
<f:then>
{mapEntry.addressline}
</f:then>
</f:if>
<f:if condition="{mapEntry.zip}">
<f:then>
<br/>{mapEntry.zip}
</f:then>
</f:if>
<f:if condition="{mapEntry.city}">
<f:then>
{mapEntry.city}
</f:then>
</f:if>
<f:if condition="{mapEntry.region} !== ''">
<f:then>
<br/>{mapEntry.region}
</f:then>
</f:if>
</div>
<f:if condition="{mapEntry.popupContent}">
<f:then>
<f:format.htmlentitiesDecode>
{mapEntry.popupContent}
</f:format.htmlentitiesDecode>
</f:then>
</f:if>
<f:if condition="{mapEntry.navToUrl}">
<f:then>
<a href="{mapEntry.navToUrl}" target="_blank"><f:translate key="nav_me_to" default="mich navigieren"></f:translate></a>
</f:then>
</f:if>
</div>
</f:section>
</html>