diff --git a/contao/dca/tl_form_field.php b/contao/dca/tl_form_field.php
index d1fbe59..2912617 100755
--- a/contao/dca/tl_form_field.php
+++ b/contao/dca/tl_form_field.php
@@ -13,20 +13,10 @@
use Contao\Controller;
-/*
- * Load tl_content
- */
-
Controller::loadDataContainer('tl_content');
-/*
- * Palettes
- */
$GLOBALS['TL_DCA']['tl_form_field']['palettes']['checkbox_extended'] = '{type_legend},type,name,label;{options_legend},checkbox_extended_value;{extended_checkbox_legend},checkbox_extended_url,checkbox_extended_target,checkbox_extended_singleSRC,checkbox_extended_title,checkbox_extended_embed;{fconfig_legend:hide},mandatory;{template_legend:hide},checkbox_extended_tpl;{expert_legend:hide},class;{submit_legend:hide},addSubmit';
-/*
- * Fields
- */
$GLOBALS['TL_DCA']['tl_form_field']['fields']['checkbox_extended_value'] = [
'label' => &$GLOBALS['TL_LANG']['tl_form_field']['checkbox_extended_value'],
'exclude' => true,
@@ -41,7 +31,14 @@
'exclude' => true,
'search' => true,
'inputType' => 'text',
- 'eval' => ['mandatory' => false, 'rgxp' => 'url', 'decodeEntities' => true, 'maxlength' => 255, 'tl_class' => 'w50 wizard', 'dcaPicker' => true],
+ 'eval' => [
+ 'mandatory' => false,
+ 'rgxp' => 'url',
+ 'decodeEntities' => true,
+ 'maxlength' => 255,
+ 'tl_class' => 'w50 wizard',
+ 'dcaPicker' => true
+ ],
'sql' => "varchar(255) NOT NULL default ''",
];
diff --git a/contao/languages/de/default.php b/contao/languages/de/default.php
index 3f29a70..49f8031 100755
--- a/contao/languages/de/default.php
+++ b/contao/languages/de/default.php
@@ -11,7 +11,4 @@
* @link https://github.com/plenta/
*/
-/*
- * Frontend form fields
- */
$GLOBALS['TL_LANG']['FFL']['checkbox_extended'] = ['Erweiterte Checkbox', ''];
diff --git a/contao/languages/de/tl_form_field.php b/contao/languages/de/tl_form_field.php
index 515d029..13b002c 100755
--- a/contao/languages/de/tl_form_field.php
+++ b/contao/languages/de/tl_form_field.php
@@ -11,20 +11,32 @@
* @link https://github.com/plenta/
*/
-/*
- * Fields
- */
$GLOBALS['TL_LANG']['tl_form_field']['checkbox_extended_value'] = ['Wert', 'Hier können Sie einen Wert eingeben.'];
-$GLOBALS['TL_LANG']['tl_form_field']['checkbox_extended_title'] = ['Link-Text', 'Der Link-Text wird anstelle der Link-Adresse angezeigt.'];
-$GLOBALS['TL_LANG']['tl_form_field']['checkbox_extended_embed'] = ['Den Link einbetten', 'Verwenden Sie den Platzhalter "%s", um den Link in einen Text einzubetten (z.B. Für mehr Informationen besuchen Sie %s).'];
-$GLOBALS['TL_LANG']['tl_form_field']['checkbox_extended_url'] = ['Link-Adresse', 'Geben Sie eine Web-Adresse (http://…), eine E-Mail-Adresse (mailto:…) oder ein Insert-Tag ein.'];
-$GLOBALS['TL_LANG']['tl_form_field']['checkbox_extended_target'] = ['In neuem Fenster öffnen', 'Den Link in einem neuen Browserfenster öffnen.'];
-$GLOBALS['TL_LANG']['tl_form_field']['checkbox_extended_singleSRC'] = ['Quelldatei', 'Bitte wählen Sie eine Datei oder einen Ordner aus der Dateiübersicht.'];
-$GLOBALS['TL_LANG']['tl_form_field']['checkbox_extended_tpl'] = ['Checkbox-Template', 'Hier können Sie das Checkbox-Template auswählen.'];
+$GLOBALS['TL_LANG']['tl_form_field']['checkbox_extended_title'] = [
+ 'Link-Text',
+ 'Der Link-Text wird anstelle der Link-Adresse angezeigt.'
+];
+$GLOBALS['TL_LANG']['tl_form_field']['checkbox_extended_embed'] = [
+ 'Den Link einbetten',
+ 'Verwenden Sie den Platzhalter "%s", um den Link in einen Text einzubetten (z.B. Für mehr Informationen besuchen Sie %s).
+'];
+$GLOBALS['TL_LANG']['tl_form_field']['checkbox_extended_url'] = [
+ 'Link-Adresse',
+ 'Geben Sie eine Web-Adresse (http://…), eine E-Mail-Adresse (mailto:…) oder ein Insert-Tag ein.'
+];
+$GLOBALS['TL_LANG']['tl_form_field']['checkbox_extended_target'] = [
+ 'In neuem Fenster öffnen',
+ 'Den Link in einem neuen Browserfenster öffnen.'
+];
+$GLOBALS['TL_LANG']['tl_form_field']['checkbox_extended_singleSRC'] = [
+ 'Quelldatei',
+ 'Bitte wählen Sie eine Datei oder einen Ordner aus der Dateiübersicht.'
+];
+$GLOBALS['TL_LANG']['tl_form_field']['checkbox_extended_tpl'] = [
+ 'Checkbox-Template',
+ 'Hier können Sie das Checkbox-Template auswählen.'
+];
-/*
- * Legends
- */
$GLOBALS['TL_LANG']['tl_form_field']['extended_checkbox_legend'] = 'Erweiterte-Checkbox-Einstellungen';
$GLOBALS['TL_LANG']['tl_form_field']['checkbox_extended_legend'] = 'Hyperlink-Einstellungen';
$GLOBALS['TL_LANG']['tl_form_field']['template_legend'] = 'Template-Einstellungen';
diff --git a/contao/languages/en/default.php b/contao/languages/en/default.php
index 8e2cdf9..28e29fd 100755
--- a/contao/languages/en/default.php
+++ b/contao/languages/en/default.php
@@ -11,7 +11,4 @@
* @link https://github.com/plenta/
*/
-/*
- * Frontend form fields
- */
$GLOBALS['TL_LANG']['FFL']['checkbox_extended'] = ['Extended Checkbox', ''];
diff --git a/contao/languages/en/tl_form_field.php b/contao/languages/en/tl_form_field.php
index a69421a..1a44ff5 100755
--- a/contao/languages/en/tl_form_field.php
+++ b/contao/languages/en/tl_form_field.php
@@ -11,20 +11,32 @@
* @link https://github.com/plenta/
*/
-/*
- * Fields
- */
$GLOBALS['TL_LANG']['tl_form_field']['checkbox_extended_value'] = ['Value', 'Please enter the value'];
-$GLOBALS['TL_LANG']['tl_form_field']['checkbox_extended_title'] = ['Link title', 'The link title will be displayed instead of the target URL.'];
-$GLOBALS['TL_LANG']['tl_form_field']['checkbox_extended_embed'] = ['Embed the link', 'Use the wildcard "%s" to embed the link in a phrase (e.g. For more information please visit %s).'];
-$GLOBALS['TL_LANG']['tl_form_field']['checkbox_extended_url'] = ['Link target', 'Please enter a web address (http://…), an e-mail address (mailto:…) or an insert tag.'];
-$GLOBALS['TL_LANG']['tl_form_field']['checkbox_extended_target'] = ['In neuem Fenster öffnen', 'Den Link in einem neuen Browserfenster öffnen.'];
-$GLOBALS['TL_LANG']['tl_form_field']['checkbox_extended_singleSRC'] = ['Source file', 'Please select a file or folder from the files directory.'];
-$GLOBALS['TL_LANG']['tl_form_field']['checkbox_extended_tpl'] = ['Checkbox template', 'Here you can select the form template.'];
+$GLOBALS['TL_LANG']['tl_form_field']['checkbox_extended_title'] = [
+ 'Link title',
+ 'The link title will be displayed instead of the target URL.'
+];
+$GLOBALS['TL_LANG']['tl_form_field']['checkbox_extended_embed'] = [
+ 'Embed the link',
+ 'Use the wildcard "%s" to embed the link in a phrase (e.g. For more information please visit %s).'
+];
+$GLOBALS['TL_LANG']['tl_form_field']['checkbox_extended_url'] = [
+ 'Link target',
+ 'Please enter a web address (http://…), an e-mail address (mailto:…) or an insert tag.'
+];
+$GLOBALS['TL_LANG']['tl_form_field']['checkbox_extended_target'] = [
+ 'In neuem Fenster öffnen',
+ 'Den Link in einem neuen Browserfenster öffnen.'
+];
+$GLOBALS['TL_LANG']['tl_form_field']['checkbox_extended_singleSRC'] = [
+ 'Source file',
+ 'Please select a file or folder from the files directory.'
+];
+$GLOBALS['TL_LANG']['tl_form_field']['checkbox_extended_tpl'] = [
+ 'Checkbox template',
+ 'Here you can select the form template.'
+];
-/*
- * Legends
- */
$GLOBALS['TL_LANG']['tl_form_field']['extended_checkbox_legend'] = 'Extended checkbox settings';
$GLOBALS['TL_LANG']['tl_form_field']['checkbox_extended_legend'] = 'Hyperlink-Settings';
$GLOBALS['TL_LANG']['tl_form_field']['template_legend'] = 'Template settings';