Support custom templates and map ids.

This commit is contained in:
David Molineus
2015-01-30 17:44:24 +01:00
parent 1bfd99746c
commit 31136afd42
8 changed files with 102 additions and 7 deletions

View File

@@ -0,0 +1,12 @@
<?php
$GLOBALS['TL_LANG']['tl_content']['leaflet_map'][0] = 'Leaflet Map';
$GLOBALS['TL_LANG']['tl_content']['leaflet_map'][1] = 'Choose a Leaflet Map';
$GLOBALS['TL_LANG']['tl_content']['leaflet_mapId'][0] = 'Leaflet map id';
$GLOBALS['TL_LANG']['tl_content']['leaflet_mapId'][1] = 'You can force a specific map id which is used as HTML id. Otherwise the content element id is used to generate the id.';
$GLOBALS['TL_LANG']['tl_content']['leaflet_width'][0] = 'Map width';
$GLOBALS['TL_LANG']['tl_content']['leaflet_width'][1] = 'Define the width of the map.';
$GLOBALS['TL_LANG']['tl_content']['leaflet_height'][0] = 'Map height';
$GLOBALS['TL_LANG']['tl_content']['leaflet_height'][1] = 'Define the height of the map.';
$GLOBALS['TL_LANG']['tl_content']['leaflet_template'][0] = 'Map Template';
$GLOBALS['TL_LANG']['tl_content']['leaflet_template'][1] = 'Choose a template to generate the map. The template has to create javscript, not HTML!';