diff --git a/src/Bundle/Resources/contao/dca/tl_content.php b/src/Bundle/Resources/contao/dca/tl_content.php index 2d8cfb9..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 @@ -13,7 +14,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'], diff --git a/src/Bundle/Resources/contao/dca/tl_module.php b/src/Bundle/Resources/contao/dca/tl_module.php index 0601776..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 @@ -13,7 +14,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'],