diff --git a/dev/dbmodel/emulate_oscommerce/llx_osc_categories.sql b/dev/dbmodel/emulate_oscommerce/llx_osc_categories.sql index 84bfd1e6558..23a96cc996b 100755 --- a/dev/dbmodel/emulate_oscommerce/llx_osc_categories.sql +++ b/dev/dbmodel/emulate_oscommerce/llx_osc_categories.sql @@ -23,4 +23,4 @@ CREATE TABLE llx_osc_categories ( PRIMARY KEY (rowid), UNIQUE KEY dolicatid (dolicatid), UNIQUE KEY osccatid (osccatid) -) TYPE=InnoDB COMMENT='Correspondance categorie Dolibarr categorie OSC'; +) ENGINE=InnoDB COMMENT='Correspondance categorie Dolibarr categorie OSC'; diff --git a/dev/dbmodel/emulate_oscommerce/llx_osc_customer.sql b/dev/dbmodel/emulate_oscommerce/llx_osc_customer.sql index 1d3a65615ee..3f878e97ff5 100755 --- a/dev/dbmodel/emulate_oscommerce/llx_osc_customer.sql +++ b/dev/dbmodel/emulate_oscommerce/llx_osc_customer.sql @@ -22,4 +22,4 @@ CREATE TABLE llx_osc_customer ( fk_soc int(11) NOT NULL default '0', PRIMARY KEY (rowid), UNIQUE KEY fk_soc (fk_soc) -) TYPE=InnoDB COMMENT='Table transition client OSC - societe Dolibarr'; +) ENGINE=InnoDB COMMENT='Table transition client OSC - societe Dolibarr'; diff --git a/dev/dbmodel/emulate_oscommerce/llx_osc_order.sql b/dev/dbmodel/emulate_oscommerce/llx_osc_order.sql index 8927849df6c..a2cb1ad8146 100755 --- a/dev/dbmodel/emulate_oscommerce/llx_osc_order.sql +++ b/dev/dbmodel/emulate_oscommerce/llx_osc_order.sql @@ -22,4 +22,4 @@ CREATE TABLE llx_osc_order ( fk_commande int(11) NOT NULL default '0', PRIMARY KEY (rowid), UNIQUE KEY fk_commande (fk_commande) -) TYPE=InnoDB COMMENT='Table transition commande OSC - commande Dolibarr'; +) ENGINE=InnoDB COMMENT='Table transition commande OSC - commande Dolibarr'; diff --git a/dev/dbmodel/emulate_oscommerce/llx_osc_product.sql b/dev/dbmodel/emulate_oscommerce/llx_osc_product.sql index 9b7e463aa19..dba9ca1fef1 100755 --- a/dev/dbmodel/emulate_oscommerce/llx_osc_product.sql +++ b/dev/dbmodel/emulate_oscommerce/llx_osc_product.sql @@ -22,6 +22,6 @@ CREATE TABLE llx_osc_product ( fk_product int(11) NOT NULL default '0', PRIMARY KEY (rowid), UNIQUE KEY fk_product (fk_product) -) TYPE=InnoDB COMMENT='Table transition produit OSC - produit Dolibarr'; +) ENGINE=InnoDB COMMENT='Table transition produit OSC - produit Dolibarr'; diff --git a/htdocs/admin/modules.php b/htdocs/admin/modules.php index 8c39f3a8fe7..5db40f5cdbd 100644 --- a/htdocs/admin/modules.php +++ b/htdocs/admin/modules.php @@ -111,7 +111,7 @@ foreach ($modulesdir as $dir) { // Load modules attributes in arrays (name, numero, orders) from dir directory //print $dir."\n
"; - dol_syslog("Scan directory ".$dir." for modules"); + dol_syslog("Scan directory ".$dir." for module descriptor files (modXXX.class.php)"); $handle=@opendir($dir); if (is_resource($handle)) { diff --git a/htdocs/admin/system/database-tables.php b/htdocs/admin/system/database-tables.php index b634d98e6b7..abba79fc5cc 100644 --- a/htdocs/admin/system/database-tables.php +++ b/htdocs/admin/system/database-tables.php @@ -32,7 +32,7 @@ if (!$user->admin) accessforbidden(); if ($_GET["action"] == 'convert') { - $db->query("alter table ".$_GET["table"]." type=INNODB"); + $db->query("alter table ".$_GET["table"]." ENGINE=INNODB"); } diff --git a/htdocs/core/modules/modCommissions.class.php b/htdocs/core/modules/modCommissions.class.php index 0dbaa7690d8..8335ffe7b2b 100644 --- a/htdocs/core/modules/modCommissions.class.php +++ b/htdocs/core/modules/modCommissions.class.php @@ -54,11 +54,11 @@ class modCommissions extends DolibarrModules // Module description, used if translation string 'ModuleXXXDesc' not found (where XXX is value of numeric property 'numero' of module) $this->description = "Commissions management"; // Possible values for version are: 'development', 'experimental', 'dolibarr' or version - $this->version = 'dolibarr'; + $this->version = 'experimental'; // Key used in llx_const table to save module status enabled/disabled (where MYMODULE is value of property name of module in uppercase) $this->const_name = 'MAIN_MODULE_'.strtoupper($this->name); // Where to store the module in setup page (0=common,1=interface,2=other) - $this->special = 0; + $this->special = 2; // Name of png file (without png) used for this module. // Png file must be in theme/yourtheme/img directory under name object_pictovalue.png. $this->picto='commissions'; diff --git a/htdocs/core/modules/modMargin.class.php b/htdocs/core/modules/modMargin.class.php index f94193393fc..082fd821acf 100644 --- a/htdocs/core/modules/modMargin.class.php +++ b/htdocs/core/modules/modMargin.class.php @@ -16,7 +16,7 @@ */ /** \defgroup margin Module Margin - * \brief Example of a module descriptor. + * \brief Module to manage margins * \file htdocs/includes/modules/modMargin.class.php * \ingroup margin * \brief Description and activation file for module Margin @@ -52,11 +52,11 @@ class modMargin extends DolibarrModules // Module description, used if translation string 'ModuleXXXDesc' not found (where XXX is value of numeric property 'numero' of module) $this->description = "Margin management"; // Possible values for version are: 'development', 'experimental', 'dolibarr' or version - $this->version = 'dolibarr'; + $this->version = 'experimental'; // Key used in llx_const table to save module status enabled/disabled (where MYMODULE is value of property name of module in uppercase) $this->const_name = 'MAIN_MODULE_'.strtoupper($this->name); // Where to store the module in setup page (0=common,1=interface,2=other) - $this->special = 0; + $this->special = 2; // Name of png file (without png) used for this module. // Png file must be in theme/yourtheme/img directory under name object_pictovalue.png. $this->picto='margin'; diff --git a/htdocs/ecm/index.php b/htdocs/ecm/index.php index 1b2fb5a5d2e..c8d638c779e 100644 --- a/htdocs/ecm/index.php +++ b/htdocs/ecm/index.php @@ -315,7 +315,7 @@ if ($action == 'refreshmanual') //print "xx".$_SESSION["dol_screenheight"]; $maxheightwin=(isset($_SESSION["dol_screenheight"]) && $_SESSION["dol_screenheight"] > 500)?($_SESSION["dol_screenheight"]-166):660; $morejs=array(); -if (empty($conf->global->MAIN_ECM_DISABLE_JS)) $morejs=array("/filemanager/includes/jqueryFileTree/jqueryFileTree.js"); // TODO Move lib into includes +if (empty($conf->global->MAIN_ECM_DISABLE_JS)) $morejs=array("/includes/jquery/plugins/jqueryFileTree/jqueryFileTree.js"); $moreheadcss="