Merge remote-tracking branch 'origin/3.4' into 3.5
Conflicts: htdocs/admin/modules.php
This commit is contained in:
commit
e99883f1a6
@ -287,6 +287,7 @@ backport commit 384e3812eb73a15adafb472cacfb93397a54459b to fix W3C/edit contrac
|
|||||||
|
|
||||||
|
|
||||||
***** ChangeLog for 3.3.5 compared to 3.3.4 *****
|
***** ChangeLog for 3.3.5 compared to 3.3.4 *****
|
||||||
|
- Fix: Change to make debian package ok despite removal of ckeditor.
|
||||||
- Fix: jcrop file to match debian rules
|
- Fix: jcrop file to match debian rules
|
||||||
- Fix: Add missing country UK.
|
- Fix: Add missing country UK.
|
||||||
- Fix: Minor fix into package.
|
- Fix: Minor fix into package.
|
||||||
|
|||||||
@ -158,7 +158,7 @@ foreach ($modulesdir as $dir)
|
|||||||
if ($objMod->version == 'development' && (empty($conf->global->$const_name) && ($conf->global->MAIN_FEATURES_LEVEL < 2))) $modulequalified=0;
|
if ($objMod->version == 'development' && (empty($conf->global->$const_name) && ($conf->global->MAIN_FEATURES_LEVEL < 2))) $modulequalified=0;
|
||||||
if ($objMod->version == 'experimental' && (empty($conf->global->$const_name) && ($conf->global->MAIN_FEATURES_LEVEL < 1))) $modulequalified=0;
|
if ($objMod->version == 'experimental' && (empty($conf->global->$const_name) && ($conf->global->MAIN_FEATURES_LEVEL < 1))) $modulequalified=0;
|
||||||
// We discard modules according to property disabled
|
// We discard modules according to property disabled
|
||||||
if (isset($objMod->hidden) && $objMod->hidden) $modulequalified=false;
|
if (! empty($objMod->hidden)) $modulequalified=false;
|
||||||
|
|
||||||
// Define array $categ with categ with at least one qualified module
|
// Define array $categ with categ with at least one qualified module
|
||||||
if ($modulequalified)
|
if ($modulequalified)
|
||||||
|
|||||||
@ -62,6 +62,8 @@ class modFckeditor extends DolibarrModules
|
|||||||
$this->config_page_url = array("fckeditor.php");
|
$this->config_page_url = array("fckeditor.php");
|
||||||
|
|
||||||
// Dependances
|
// Dependances
|
||||||
|
global $dolibarr_js_CKEDITOR;
|
||||||
|
$this->hidden = ($dolibarr_js_CKEDITOR == 'disabled'?1:0); // A condition to disable module (used for native debian packages)
|
||||||
$this->depends = array();
|
$this->depends = array();
|
||||||
$this->requiredby = array();
|
$this->requiredby = array();
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user