mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2026-02-28 17:18:15 +01:00
Apply coding standards.
This commit is contained in:
@@ -93,7 +93,8 @@ $GLOBALS['TL_DCA']['tl_leaflet_style'] = array
|
||||
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_style']['delete'],
|
||||
'href' => 'act=delete',
|
||||
'icon' => 'delete.gif',
|
||||
'attributes' => 'onclick="if(!confirm(\'' . $GLOBALS['TL_LANG']['MSC']['deleteConfirm'] . '\'))return false;Backend.getScrollOffset()"'
|
||||
'attributes' => 'onclick="if(!confirm(\'' . $GLOBALS['TL_LANG']['MSC']['deleteConfirm']
|
||||
. '\'))return false;Backend.getScrollOffset()"'
|
||||
),
|
||||
'toggle' => array
|
||||
(
|
||||
@@ -138,7 +139,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_style'] = array
|
||||
(
|
||||
'id' => array
|
||||
(
|
||||
'sql' => "int(10) unsigned NOT NULL auto_increment"
|
||||
'sql' => 'int(10) unsigned NOT NULL auto_increment'
|
||||
),
|
||||
'tstamp' => array
|
||||
(
|
||||
@@ -167,7 +168,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_style'] = array
|
||||
\Netzmacht\Contao\Leaflet\Dca\Validator::callback('validateAlias'),
|
||||
),
|
||||
'eval' => array('mandatory' => false, 'maxlength' => 255, 'tl_class' => 'w50', 'unique' => true),
|
||||
'sql' => "varchar(255) NULL"
|
||||
'sql' => 'varchar(255) NULL'
|
||||
),
|
||||
'type' => array
|
||||
(
|
||||
@@ -274,8 +275,13 @@ $GLOBALS['TL_DCA']['tl_leaflet_style'] = array
|
||||
'inputType' => 'select',
|
||||
'options' => array('butt', 'round', 'square', 'inherit'),
|
||||
'reference' => &$GLOBALS['TL_LANG']['tl_leaflet_style']['lineCaps'],
|
||||
'eval' => array('mandatory' => false, 'tl_class' => 'w50 clr', 'includeBlankOption' => true, 'helpwizard'),
|
||||
'sql' => "varchar(8) NOT NULL default ''"
|
||||
'eval' => array(
|
||||
'mandatory' => false,
|
||||
'tl_class' => 'w50 clr',
|
||||
'includeBlankOption' => true,
|
||||
'helpwizard' => true,
|
||||
),
|
||||
'sql' => "varchar(8) NOT NULL default ''",
|
||||
),
|
||||
'lineJoin' => array
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user