NEW Enhance the system for warnings on module activation

This commit is contained in:
ldestailleur
2025-10-10 10:16:33 +02:00
parent a162de2455
commit 3403bbe869
26 changed files with 69 additions and 57 deletions

View File

@@ -145,8 +145,8 @@ class modKnowledgeManagement extends DolibarrModules
$this->need_dolibarr_version = array(11, -3); // Minimum version of Dolibarr required by module
// Messages at activation
$this->warnings_activation = array(); // Warning to show when we activate module. array('always'='text') or array('FR'='textfr','ES'='textes'...)
$this->warnings_activation_ext = array(); // Warning to show when we activate an external module. array('always'='text') or array('FR'='textfr','ES'='textes'...)
$this->warnings_activation = array();
$this->warnings_activation_ext = array();
//$this->automatic_activation = array('FR'=>'KnowledgeManagementWasAutomaticallyActivatedBecauseOfYourCountryChoice');
// Constants