From 92a376a3077087a341c797b6560cb8ff89ffd03e Mon Sep 17 00:00:00 2001 From: Fritz Michael Gschwantner Date: Sun, 3 May 2020 16:18:33 +0100 Subject: [PATCH 1/3] use template_legend instead of template_legend --- src/Bundle/Resources/contao/dca/tl_content.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bundle/Resources/contao/dca/tl_content.php b/src/Bundle/Resources/contao/dca/tl_content.php index 2d8cfb9..98c95da 100644 --- a/src/Bundle/Resources/contao/dca/tl_content.php +++ b/src/Bundle/Resources/contao/dca/tl_content.php @@ -13,7 +13,7 @@ $GLOBALS['TL_DCA']['tl_content']['metapalettes']['leaflet'] = [ 'type' => ['type', 'headline'], 'leaflet' => ['leaflet_map', 'leaflet_mapId', 'leaflet_width', 'leaflet_height'], - 'templates' => [':hide', 'customTpl', 'leaflet_template'], + 'template' => [':hide', 'customTpl', 'leaflet_template'], 'protected' => [':hide', 'protected'], 'expert' => [':hide', 'guests', 'cssID', 'space'], 'invisible' => [':hide', 'invisible', 'start', 'start'], From fbd1ef81b07044f758aa179813b89587036bf30d Mon Sep 17 00:00:00 2001 From: Fritz Michael Gschwantner Date: Sun, 3 May 2020 16:19:16 +0100 Subject: [PATCH 2/3] use template_legend instead of templates_legend --- src/Bundle/Resources/contao/dca/tl_module.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bundle/Resources/contao/dca/tl_module.php b/src/Bundle/Resources/contao/dca/tl_module.php index 0601776..2f9c572 100644 --- a/src/Bundle/Resources/contao/dca/tl_module.php +++ b/src/Bundle/Resources/contao/dca/tl_module.php @@ -13,7 +13,7 @@ $GLOBALS['TL_DCA']['tl_module']['metapalettes']['leaflet'] = [ 'type' => ['name', 'type', 'headline'], 'leaflet' => ['leaflet_map', 'leaflet_mapId', 'leaflet_width', 'leaflet_height', 'leaflet_template'], - 'templates' => [':hide', 'customTpl'], + 'template' => [':hide', 'customTpl'], 'protected' => [':hide', 'protected'], 'expert' => [':hide', 'guests', 'cssID', 'space'], 'invisible' => [':hide', 'invisible', 'start', 'start'], From 4198b2b6cda9a81c5a0f465207b57faf2366f880 Mon Sep 17 00:00:00 2001 From: Fritz Michael Gschwantner Date: Mon, 4 May 2020 09:12:00 +0100 Subject: [PATCH 3/3] add author --- src/Bundle/Resources/contao/dca/tl_content.php | 1 + src/Bundle/Resources/contao/dca/tl_module.php | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Bundle/Resources/contao/dca/tl_content.php b/src/Bundle/Resources/contao/dca/tl_content.php index 98c95da..ed2474f 100644 --- a/src/Bundle/Resources/contao/dca/tl_content.php +++ b/src/Bundle/Resources/contao/dca/tl_content.php @@ -5,6 +5,7 @@ * * @package contao-leaflet-maps * @author David Molineus + * @author Fritz Michael Gschwantner * @copyright 2014-2017 netzmacht David Molineus. All rights reserved. * @license LGPL-3.0 https://github.com/netzmacht/contao-leaflet-maps/blob/master/LICENSE * @filesource diff --git a/src/Bundle/Resources/contao/dca/tl_module.php b/src/Bundle/Resources/contao/dca/tl_module.php index 2f9c572..329c0f6 100644 --- a/src/Bundle/Resources/contao/dca/tl_module.php +++ b/src/Bundle/Resources/contao/dca/tl_module.php @@ -5,6 +5,7 @@ * * @package contao-leaflet-maps * @author David Molineus + * @author Fritz Michael Gschwantner * @copyright 2014-2017 netzmacht David Molineus. All rights reserved. * @license LGPL-3.0 https://github.com/netzmacht/contao-leaflet-maps/blob/master/LICENSE * @filesource