Improve input mask.

This commit is contained in:
David Molineus
2016-11-09 11:57:44 +01:00
parent 37065f2183
commit 8947efc351

View File

@@ -218,13 +218,14 @@ $GLOBALS['TL_DCA']['tl_leaflet_layer'] = array
'config' => array( 'config' => array(
'overpassQuery', 'overpassQuery',
'overpassEndpoint', 'overpassEndpoint',
'overpassCallback',
'minZoom', 'minZoom',
'overpassCallback',
), ),
'+expert' => array( '+expert' => array(
'minZoomIndicatorPosition', 'minZoomIndicatorPosition',
'minZoomIndicatorMessageNoLayer', 'debug',
'minZoomIndicatorMessage', 'minZoomIndicatorMessage',
'minZoomIndicatorMessageNoLayer',
), ),
), ),
), ),
@@ -816,7 +817,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_layer'] = array
'exclude' => true, 'exclude' => true,
'inputType' => 'text', 'inputType' => 'text',
'default' => '', 'default' => '',
'eval' => array('tl_class' => 'long'), 'eval' => array('tl_class' => 'w50'),
'sql' => "varchar(255) NOT NULL default ''" 'sql' => "varchar(255) NOT NULL default ''"
), ),
'overpassCallback' => array 'overpassCallback' => array
@@ -851,7 +852,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_layer'] = array
'exclude' => true, 'exclude' => true,
'inputType' => 'text', 'inputType' => 'text',
'default' => '', 'default' => '',
'eval' => array('tl_class' => 'long'), 'eval' => array('tl_class' => 'clr w50'),
'sql' => "varchar(255) NOT NULL default ''" 'sql' => "varchar(255) NOT NULL default ''"
), ),
'minZoomIndicatorMessageNoLayer' => array 'minZoomIndicatorMessageNoLayer' => array
@@ -860,8 +861,17 @@ $GLOBALS['TL_DCA']['tl_leaflet_layer'] = array
'exclude' => true, 'exclude' => true,
'inputType' => 'text', 'inputType' => 'text',
'default' => '', 'default' => '',
'eval' => array('tl_class' => 'long'), 'eval' => array('tl_class' => 'w50'),
'sql' => "varchar(255) NOT NULL default ''" 'sql' => "varchar(255) NOT NULL default ''"
), ),
'debug' => array
(
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_layer']['debug'],
'exclude' => true,
'inputType' => 'checkbox',
'default' => false,
'eval' => array('tl_class' => 'w50 m12'),
'sql' => "char(1) NOT NULL default ''"
),
) )
); );