Add standalone feature to the reference map.

This commit is contained in:
David Molineus
2015-01-12 09:29:48 +01:00
parent c9d7befc08
commit c5c4810837
3 changed files with 16 additions and 2 deletions

View File

@@ -147,7 +147,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_layer'] = array
'+active' => array('deferred'),
),
'reference extends default' => array(
'+title' => array('reference')
'+title' => array('reference', 'standalone')
)
),
@@ -324,6 +324,15 @@ $GLOBALS['TL_DCA']['tl_leaflet_layer'] = array
),
'sql' => "int(10) unsigned NOT NULL default '0'",
),
'standalone' => array
(
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_layer']['standalone'],
'exclude' => true,
'inputType' => 'checkbox',
'default' => false,
'eval' => array('tl_class' => 'w50', 'submitOnChange' => false, 'isBoolean' => true),
'sql' => "char(1) NOT NULL default ''"
),
'onEachFeature' => array
(
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_layer']['onEachFeature'],