diff --git a/config/services.yml b/config/services.yml
index d50854c..26e12ef 100644
--- a/config/services.yml
+++ b/config/services.yml
@@ -22,10 +22,8 @@ services:
public: true
ErdmannFreunde\ThemeToolboxBundle\EventListener\GetAllEventsListener:
- public: true
+ public: true
ErdmannFreunde\ThemeToolboxBundle\EventListener\DataContainer\AdditionalFieldListener:
arguments: [ '@database_connection' ]
public: true
-
-
diff --git a/contao/dca/tl_article.php b/contao/dca/tl_article.php
index 02487cf..12a5bd5 100644
--- a/contao/dca/tl_article.php
+++ b/contao/dca/tl_article.php
@@ -11,3 +11,8 @@
*/
$GLOBALS['TL_DCA']['tl_article']['fields']['toolbox_classes']['sql'] = 'text NULL';
+$GLOBALS['TL_DCA']['tl_article']['fields']['toolbox_permissions'] = [
+ 'label' => &$GLOBALS['TL_LANG']['MSC']['eufThemeToolbox'],
+ 'exclude' => true,
+ 'sql' => "char(1) NOT NULL default ''",
+];
diff --git a/contao/dca/tl_calendar_events.php b/contao/dca/tl_calendar_events.php
index 4831d36..b80899e 100644
--- a/contao/dca/tl_calendar_events.php
+++ b/contao/dca/tl_calendar_events.php
@@ -4,4 +4,9 @@
if (InstalledVersions::isInstalled('contao/calendar-bundle')) {
$GLOBALS['TL_DCA']['tl_calendar_events']['fields']['toolbox_classes']['sql'] = 'text NULL';
+ $GLOBALS['TL_DCA']['tl_calendar_events']['fields']['toolbox_permissions'] = [
+ 'label' => &$GLOBALS['TL_LANG']['MSC']['eufThemeToolbox'],
+ 'exclude' => true,
+ 'sql' => "char(1) NOT NULL default ''",
+ ];
}
diff --git a/contao/dca/tl_content.php b/contao/dca/tl_content.php
index a688bb6..ff8c09c 100644
--- a/contao/dca/tl_content.php
+++ b/contao/dca/tl_content.php
@@ -11,3 +11,8 @@
*/
$GLOBALS['TL_DCA']['tl_content']['fields']['toolbox_classes']['sql'] = 'text NULL';
+$GLOBALS['TL_DCA']['tl_content']['fields']['toolbox_permissions'] = [
+ 'label' => &$GLOBALS['TL_LANG']['MSC']['eufThemeToolbox'],
+ 'exclude' => true,
+ 'sql' => "char(1) NOT NULL default ''",
+];
diff --git a/contao/dca/tl_faq.php b/contao/dca/tl_faq.php
index 1e95e04..0033b91 100644
--- a/contao/dca/tl_faq.php
+++ b/contao/dca/tl_faq.php
@@ -4,4 +4,9 @@
if (InstalledVersions::isInstalled('contao/faq-bundle')) {
$GLOBALS['TL_DCA']['tl_faq']['fields']['toolbox_classes']['sql'] = 'text NULL';
+ $GLOBALS['TL_DCA']['tl_faq']['fields']['toolbox_permissions'] = [
+ 'label' => &$GLOBALS['TL_LANG']['MSC']['eufThemeToolbox'],
+ 'exclude' => true,
+ 'sql' => "char(1) NOT NULL default ''",
+ ];
}
diff --git a/contao/dca/tl_form_field.php b/contao/dca/tl_form_field.php
index b718214..89bf969 100644
--- a/contao/dca/tl_form_field.php
+++ b/contao/dca/tl_form_field.php
@@ -11,3 +11,8 @@
*/
$GLOBALS['TL_DCA']['tl_form_field']['fields']['toolbox_classes']['sql'] = 'text NULL';
+$GLOBALS['TL_DCA']['tl_form_field']['fields']['toolbox_permissions'] = [
+ 'label' => &$GLOBALS['TL_LANG']['MSC']['eufThemeToolbox'],
+ 'exclude' => true,
+ 'sql' => "char(1) NOT NULL default ''",
+];
diff --git a/contao/dca/tl_module.php b/contao/dca/tl_module.php
index b1cc603..0dbb5f6 100644
--- a/contao/dca/tl_module.php
+++ b/contao/dca/tl_module.php
@@ -8,4 +8,9 @@
InstalledVersions::isInstalled('contao/faq-bundle')
) {
$GLOBALS['TL_DCA']['tl_module']['fields']['toolbox_classes']['sql'] = 'text NULL';
+ $GLOBALS['TL_DCA']['tl_module']['fields']['toolbox_permissions'] = [
+ 'label' => &$GLOBALS['TL_LANG']['MSC']['eufThemeToolbox'],
+ 'exclude' => true,
+ 'sql' => "char(1) NOT NULL default ''",
+ ];
}
\ No newline at end of file
diff --git a/contao/dca/tl_news.php b/contao/dca/tl_news.php
index ee070c6..18eb5e9 100644
--- a/contao/dca/tl_news.php
+++ b/contao/dca/tl_news.php
@@ -4,4 +4,9 @@
if (InstalledVersions::isInstalled('contao/news-bundle')) {
$GLOBALS['TL_DCA']['tl_news']['fields']['toolbox_classes']['sql'] = 'text NULL';
+ $GLOBALS['TL_DCA']['tl_news']['fields']['toolbox_permissions'] = [
+ 'label' => &$GLOBALS['TL_LANG']['MSC']['eufThemeToolbox'],
+ 'exclude' => true,
+ 'sql' => "char(1) NOT NULL default ''",
+ ];
}
diff --git a/contao/languages/de/default.xlf b/contao/languages/de/default.xlf
index 270fe0b..84f3253 100644
--- a/contao/languages/de/default.xlf
+++ b/contao/languages/de/default.xlf
@@ -5,6 +5,10 @@
Der Skript Cache wird aktuell umgangen.
+
+
+ CSS Toolbox
+