diff --git a/_admin.php b/_admin.php index 35c0f7b..5027720 100644 --- a/_admin.php +++ b/_admin.php @@ -25,6 +25,8 @@ $core->addBehavior('themesToolsTabs', ['csvBehaviors', 'themesToolsTabs']); class csvBehaviors { + public const DC_MAX = '2.23.1'; + # admin plugins page tab public static function pluginsToolsTabs(dcCore $core): void { @@ -40,6 +42,18 @@ class csvBehaviors # generic page tab protected static function modulesToolsTabs(dcCore $core, dcModules $modules, array $excludes, string $page_url): void { + echo + '
' . sprintf(__('This version does not support Dotclear > %s'), self::DC_MAX) . '