Apply coding standards.

This commit is contained in:
David Molineus
2017-10-05 16:14:46 +02:00
parent 84294686a5
commit 20b9144b89
18 changed files with 654 additions and 709 deletions

View File

@@ -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
(