diff --git a/htdocs/admin/modules.php b/htdocs/admin/modules.php index 113d12570cb284ca35182e7069d80e7adb532d38..136397530042d121ad0458693d73d673ea32a1d6 100644 --- a/htdocs/admin/modules.php +++ b/htdocs/admin/modules.php @@ -605,7 +605,7 @@ if ($mode != 'marketplace') else $text.=$langs->trans("No"); $text.='<br><strong>'.$langs->trans("AddMenus").':</strong> '; - if (isset($objMod->menu) && is_array($objMod->menu) && ! empty($objMod->menu)) + if (isset($objMod->menu) && ! empty($objMod->menu)) // objMod can be an array or just an int 1 { $text.=$langs->trans("Yes"); } diff --git a/htdocs/core/modules/modAccounting.class.php b/htdocs/core/modules/modAccounting.class.php index 60d99438f4f48fdc255bbefed07ed4b3599f0721..af081130db4fef93e4344f0754f1de14936c5647 100644 --- a/htdocs/core/modules/modAccounting.class.php +++ b/htdocs/core/modules/modAccounting.class.php @@ -284,8 +284,10 @@ class modAccounting extends DolibarrModules $this->rights[$r][5] = ''; $r++; - // Main menu entries - $this->menus = array(); - $r = 0; + + // Menus + //------- + $this->menu = 1; // This module add menu entries. They are coded into menu manager. + } } diff --git a/htdocs/core/modules/modAdherent.class.php b/htdocs/core/modules/modAdherent.class.php index bcf7c32b74efd9e614ffd0fc21f63f6f0da984fc..d2a4489611b8aef97ddc851ef74846fea22465cd 100644 --- a/htdocs/core/modules/modAdherent.class.php +++ b/htdocs/core/modules/modAdherent.class.php @@ -256,6 +256,12 @@ class modAdherent extends DolibarrModules $this->rights[$r][4] = 'cotisation'; $this->rights[$r][5] = 'creer'; + + // Menus + //------- + $this->menu = 1; // This module add menu entries. They are coded into menu manager. + + // Exports //-------- $r=0; diff --git a/htdocs/core/modules/modBanque.class.php b/htdocs/core/modules/modBanque.class.php index 86c772fe4c8bc962893be036d7b223445fef2774..511d28eb93580ff9591a6d4501db5b059aa48eb8 100644 --- a/htdocs/core/modules/modBanque.class.php +++ b/htdocs/core/modules/modBanque.class.php @@ -135,7 +135,11 @@ class modBanque extends DolibarrModules $this->rights[$r][4] = 'cheque'; - + // Menus + //------- + $this->menu = 1; // This module add menu entries. They are coded into menu manager. + + // Exports //-------- $r=0; diff --git a/htdocs/core/modules/modBookmark.class.php b/htdocs/core/modules/modBookmark.class.php index 5614ceb53abc0f2887b9a34297323b1710ad74f6..2de22e806118a1a8fe4b75e0f6a9cccfd3373b8e 100644 --- a/htdocs/core/modules/modBookmark.class.php +++ b/htdocs/core/modules/modBookmark.class.php @@ -98,5 +98,10 @@ class modBookmark extends DolibarrModules $this->rights[$r][3] = 1; // La permission est-elle une permission par d�faut $this->rights[$r][4] = 'supprimer'; + + // Menus + //------- + $this->menu = 1; // This module add menu entries. They are coded into menu manager. + } } diff --git a/htdocs/core/modules/modCategorie.class.php b/htdocs/core/modules/modCategorie.class.php index 75260ef0a5a09b053a4c155b67ba035842677934..54c6cd48978fe117fc2e46387f8b69151a198044 100644 --- a/htdocs/core/modules/modCategorie.class.php +++ b/htdocs/core/modules/modCategorie.class.php @@ -107,6 +107,12 @@ class modCategorie extends DolibarrModules $this->rights[$r][4] = 'supprimer'; $r++; + + // Menus + //------- + $this->menu = 1; // This module add menu entries. They are coded into menu manager. + + // Exports //-------- $r=0; diff --git a/htdocs/core/modules/modCommande.class.php b/htdocs/core/modules/modCommande.class.php index 2d3080f892a67b09e158fd7cec3ab757e9962922..d5ec137a027d7ab0f1d61659fffe830fac5e09b6 100644 --- a/htdocs/core/modules/modCommande.class.php +++ b/htdocs/core/modules/modCommande.class.php @@ -170,6 +170,12 @@ class modCommande extends DolibarrModules $this->rights[$r][4] = 'commande'; $this->rights[$r][5] = 'export'; + + // Menus + //------- + $this->menu = 1; // This module add menu entries. They are coded into menu manager. + + // Exports //-------- $r=0; diff --git a/htdocs/core/modules/modComptabilite.class.php b/htdocs/core/modules/modComptabilite.class.php index ca49ab12f7dc3edc755f448c2235f237e9d54c4b..a7cda9a410945f9c3966ee73138340f3997289e9 100644 --- a/htdocs/core/modules/modComptabilite.class.php +++ b/htdocs/core/modules/modComptabilite.class.php @@ -94,6 +94,12 @@ class modComptabilite extends DolibarrModules $this->rights[$r][3] = 1; $this->rights[$r][4] = 'resultat'; $this->rights[$r][5] = 'lire'; + + + // Menus + //------- + $this->menu = 1; // This module add menu entries. They are coded into menu manager. + } diff --git a/htdocs/core/modules/modContrat.class.php b/htdocs/core/modules/modContrat.class.php index d298c5aa182fc28592431edad973171fc41d6991..108490daaafb835ef25515d035f42362d1ad41bd 100644 --- a/htdocs/core/modules/modContrat.class.php +++ b/htdocs/core/modules/modContrat.class.php @@ -130,6 +130,11 @@ class modContrat extends DolibarrModules $this->rights[$r][4] = 'export'; + // Menus + //------- + $this->menu = 1; // This module add menu entries. They are coded into menu manager. + + // Exports //-------- $langs->load("contracts"); diff --git a/htdocs/core/modules/modDeplacement.class.php b/htdocs/core/modules/modDeplacement.class.php index 7a0760a603d0bf29aba468dfba294c6dce7fe4cd..ab4e7a0095f24f794c8f7ffda5dba49f1891d939 100644 --- a/htdocs/core/modules/modDeplacement.class.php +++ b/htdocs/core/modules/modDeplacement.class.php @@ -108,6 +108,12 @@ class modDeplacement extends DolibarrModules $this->rights[5][3] = 0; $this->rights[5][4] = 'export'; + + // Menus + //------- + $this->menu = 1; // This module add menu entries. They are coded into menu manager. + + // Exports $r=0; diff --git a/htdocs/core/modules/modDon.class.php b/htdocs/core/modules/modDon.class.php index c62b46db06b58c9120921bd06a98f103e8ac450f..063c3b75b55f1d2e5af8ee1c0ba2c4f230c52b37 100644 --- a/htdocs/core/modules/modDon.class.php +++ b/htdocs/core/modules/modDon.class.php @@ -135,7 +135,12 @@ class modDon extends DolibarrModules $this->rights[3][2] = 'd'; $this->rights[3][3] = 0; $this->rights[3][4] = 'supprimer'; - + + + // Menus + //------- + $this->menu = 1; // This module add menu entries. They are coded into menu manager. + } diff --git a/htdocs/core/modules/modDynamicPrices.class.php b/htdocs/core/modules/modDynamicPrices.class.php index 4e5cd3a3f623bc6839babd0f900816ea8bbf1bca..cb6544f4d295c0a7e0cc26d417c21f0afd98c00e 100644 --- a/htdocs/core/modules/modDynamicPrices.class.php +++ b/htdocs/core/modules/modDynamicPrices.class.php @@ -83,5 +83,6 @@ class modDynamicPrices extends DolibarrModules $this->rights = array(); $this->rights_class = 'dynamicprices'; $r=0; + } } diff --git a/htdocs/core/modules/modExpedition.class.php b/htdocs/core/modules/modExpedition.class.php index 8116186219dad45223aab124e1a0e6d468a406e0..7ac88137d713811bdbd54145c201b34662d3abdf 100644 --- a/htdocs/core/modules/modExpedition.class.php +++ b/htdocs/core/modules/modExpedition.class.php @@ -218,6 +218,12 @@ class modExpedition extends DolibarrModules $this->rights[$r][4] = 'livraison'; $this->rights[$r][5] = 'supprimer'; + + // Menus + //------- + $this->menu = 1; // This module add menu entries. They are coded into menu manager. + + // Exports //-------- $r=0; diff --git a/htdocs/core/modules/modExpenseReport.class.php b/htdocs/core/modules/modExpenseReport.class.php index 01110a66bf3a073a1e18f8165b5db1775bc8e132..36c921fc0d6e6a5714c2584c8b9afe6055a588af 100644 --- a/htdocs/core/modules/modExpenseReport.class.php +++ b/htdocs/core/modules/modExpenseReport.class.php @@ -193,6 +193,12 @@ class modExpenseReport extends DolibarrModules $this->rights[5][3] = 0; $this->rights[5][4] = 'export'; + + // Menus + //------- + $this->menu = 1; // This module add menu entries. They are coded into menu manager. + + // Exports $r=0; diff --git a/htdocs/core/modules/modExport.class.php b/htdocs/core/modules/modExport.class.php index e8a6baa850983e508b20a6709a9e1c98bde79fcf..007a349ca346183078b4e6e7c5f1a2fcbc12d87a 100644 --- a/htdocs/core/modules/modExport.class.php +++ b/htdocs/core/modules/modExport.class.php @@ -90,5 +90,11 @@ class modExport extends DolibarrModules $this->rights[$r][2] = 'w'; $this->rights[$r][3] = 0; $this->rights[$r][4] = 'creer'; + + + // Menus + //------- + $this->menu = 1; // This module add menu entries. They are coded into menu manager. + } } diff --git a/htdocs/core/modules/modFTP.class.php b/htdocs/core/modules/modFTP.class.php index e7388faaedf55a0bc3357da5a4b2f4eaa59039d4..a717a33e91b793bb8fa89a8664bb6c81414f56f5 100644 --- a/htdocs/core/modules/modFTP.class.php +++ b/htdocs/core/modules/modFTP.class.php @@ -107,10 +107,11 @@ class modFTP extends DolibarrModules $this->rights[$r][3] = 0; $this->rights[$r][4] = 'write'; + // Menus - //------ - $this->menus = array(); // List of menus to add - $r=0; + //------- + $this->menu = 1; // This module add menu entries. They are coded into menu manager. + // Top menu $this->menu[$r]=array('fk_menu'=>0, diff --git a/htdocs/core/modules/modFacture.class.php b/htdocs/core/modules/modFacture.class.php index d15215a4f99003c472213e180d669e0648b5a065..07a13d7d5328f336d93ac3573225eb758d7b9ed0 100644 --- a/htdocs/core/modules/modFacture.class.php +++ b/htdocs/core/modules/modFacture.class.php @@ -184,6 +184,11 @@ class modFacture extends DolibarrModules $this->rights[$r][5] = 'export'; + // Menus + //------- + $this->menu = 1; // This module add menu entries. They are coded into menu manager. + + // Exports //-------- $r=1; diff --git a/htdocs/core/modules/modFicheinter.class.php b/htdocs/core/modules/modFicheinter.class.php index 4c4fcbcc6d85723feac46fc9ca534df9312b4d39..73008b69b082fa6d30045c103134c47559484fdb 100644 --- a/htdocs/core/modules/modFicheinter.class.php +++ b/htdocs/core/modules/modFicheinter.class.php @@ -147,6 +147,12 @@ class modFicheinter extends DolibarrModules $this->rights[$r][4] = 'ficheinter_advance'; // Visible if option MAIN_USE_ADVANCED_PERMS is on $this->rights[$r][5] = 'unvalidate'; + + // Menus + //------- + $this->menu = 1; // This module add menu entries. They are coded into menu manager. + + //Exports //-------- $r=1; diff --git a/htdocs/core/modules/modFournisseur.class.php b/htdocs/core/modules/modFournisseur.class.php index 7d5d675228162dcb3c47b339963e008b027db127..7917dd340c2b22a5153ce0051b7f9932d6769a1e 100644 --- a/htdocs/core/modules/modFournisseur.class.php +++ b/htdocs/core/modules/modFournisseur.class.php @@ -272,7 +272,12 @@ class modFournisseur extends DolibarrModules $this->rights[$r][5] = 'approve2'; } - + + // Menus + //------- + $this->menu = 1; // This module add menu entries. They are coded into menu manager. + + // Exports //-------- $r=0; diff --git a/htdocs/core/modules/modHRM.class.php b/htdocs/core/modules/modHRM.class.php index f370c78b25ecfe9b23648bc4a9497c779c51d0ca..0ea2f745b806066d957c57f2f0ffdcaae83c69b3 100644 --- a/htdocs/core/modules/modHRM.class.php +++ b/htdocs/core/modules/modHRM.class.php @@ -125,9 +125,11 @@ class modHRM extends DolibarrModules $this->rights[$r][5] = 'export'; $r ++; - // Main menu entries - $this->menus = array (); // List of menus to add - $r = 0; + + // Menus + //------- + $this->menu = 1; // This module add menu entries. They are coded into menu manager. + } /** diff --git a/htdocs/core/modules/modHoliday.class.php b/htdocs/core/modules/modHoliday.class.php index 73b316ec1643cec585f427c5d29eabdd39eb6ac4..3e30eaf862945dd1b6171a788f62008254038e30 100644 --- a/htdocs/core/modules/modHoliday.class.php +++ b/htdocs/core/modules/modHoliday.class.php @@ -173,10 +173,11 @@ class modHoliday extends DolibarrModules $this->rights[$r][5] = ''; // In php code, permission will be checked by test if ($user->rights->permkey->level1->level2) $r++; - // Main menu entries - $this->menus = array(); // List of menus to add - $r=0; - + + // Menus + //------- + $this->menu = 1; // This module add menu entries. They are coded into menu manager. + // Exports $r=1; diff --git a/htdocs/core/modules/modImport.class.php b/htdocs/core/modules/modImport.class.php index 8f3faad9bd196d6cd1959d70569035caafa90a3d..2efebb58d800d8d38eb8de4c9c11bd83a8013ae2 100644 --- a/htdocs/core/modules/modImport.class.php +++ b/htdocs/core/modules/modImport.class.php @@ -85,5 +85,11 @@ class modImport extends DolibarrModules $this->rights[$r][2] = 'r'; $this->rights[$r][3] = 0; $this->rights[$r][4] = 'run'; + + + // Menus + //------- + $this->menu = 1; // This module add menu entries. They are coded into menu manager. + } } diff --git a/htdocs/core/modules/modLoan.class.php b/htdocs/core/modules/modLoan.class.php index b7e7f822bbc23ace1b483f4d2acc9a0bca5e2963..7a4e7560219419c8804fbdce90b84a85939ac0ba 100644 --- a/htdocs/core/modules/modLoan.class.php +++ b/htdocs/core/modules/modLoan.class.php @@ -135,7 +135,12 @@ class modLoan extends DolibarrModules $this->rights[$r][4] = 'export'; $this->rights[$r][5] = ''; - + + // Menus + //------- + $this->menu = 1; // This module add menu entries. They are coded into menu manager. + + // Exports //-------- $r=0; diff --git a/htdocs/core/modules/modMailing.class.php b/htdocs/core/modules/modMailing.class.php index 00ece509285c81f22ee161faec83da4b02d9faa6..a8daad3f415aab32129a7eb0567dc9ac0c040061 100644 --- a/htdocs/core/modules/modMailing.class.php +++ b/htdocs/core/modules/modMailing.class.php @@ -127,6 +127,10 @@ class modMailing extends DolibarrModules $this->rights[$r][4] = 'mailing_advance'; // Visible if option MAIN_USE_ADVANCED_PERMS is on $this->rights[$r][5] = 'delete'; + // Menus + //------- + $this->menu = 1; // This module add menu entries. They are coded into menu manager. + } diff --git a/htdocs/core/modules/modMailmanSpip.class.php b/htdocs/core/modules/modMailmanSpip.class.php index 2ebff38ef08fff6599694d2ce4f063e76f3ab4ef..3900c0549b94cdfa5d0eee22d8c993654d4f5173 100644 --- a/htdocs/core/modules/modMailmanSpip.class.php +++ b/htdocs/core/modules/modMailmanSpip.class.php @@ -76,5 +76,10 @@ class modMailmanSpip extends DolibarrModules // Permissions $this->rights = array(); $this->rights_class = 'clicktodial'; + + // Menus + //------- + $this->menu = 1; // This module add menu entries. They are coded into menu manager. + } } diff --git a/htdocs/core/modules/modOpenSurvey.class.php b/htdocs/core/modules/modOpenSurvey.class.php index 02cf9138a1f26b18978bd357f09220a924a2d48c..7cbfeb1e268903cf97a089a6b125137a85d36dbd 100644 --- a/htdocs/core/modules/modOpenSurvey.class.php +++ b/htdocs/core/modules/modOpenSurvey.class.php @@ -119,9 +119,9 @@ class modOpenSurvey extends DolibarrModules $r++; - // Main menu entries - $this->menus = array(); // List of menus to add - $r=0; + // Menus + //------- + $this->menu = 1; // This module add menu entries. They are coded into menu manager. /* $this->menu[$r]=array( 'fk_menu'=>0, // Use 'fk_mainmenu=xxx' or 'fk_mainmenu=xxx,fk_leftmenu=yyy' where xxx is mainmenucode and yyy is a leftmenucode 'type'=>'top', diff --git a/htdocs/core/modules/modPrelevement.class.php b/htdocs/core/modules/modPrelevement.class.php index 75e8410e19e2734626bf312db6d342fff261f5ac..a422e4ea3d5e4ebbcc39c93f0cb4a2d6168d3600 100644 --- a/htdocs/core/modules/modPrelevement.class.php +++ b/htdocs/core/modules/modPrelevement.class.php @@ -129,6 +129,11 @@ class modPrelevement extends DolibarrModules $this->rights[2][4] = 'bons'; $this->rights[2][5] = 'configurer'; */ + + // Menus + //------- + $this->menu = 1; // This module add menu entries. They are coded into menu manager. + } diff --git a/htdocs/core/modules/modProduct.class.php b/htdocs/core/modules/modProduct.class.php index 154639f848dd151c288310a6d78660eea08cf0c9..409ca643dfa5e5ed5109237d5c4668209cba2a06 100644 --- a/htdocs/core/modules/modProduct.class.php +++ b/htdocs/core/modules/modProduct.class.php @@ -124,6 +124,10 @@ class modProduct extends DolibarrModules $this->rights[$r][4] = 'export'; $r++; + // Menus + //------- + + $this->menu = 1; // This module add menu entries. They are coded into menu manager. /* We can't enable this here because it must be enabled in both product and service module and this create duplicate insert $r=0; $this->menu[$r]=array( 'fk_menu'=>'fk_mainmenu=home,fk_leftmenu=admintools', // Use 'fk_mainmenu=xxx' or 'fk_mainmenu=xxx,fk_leftmenu=yyy' where xxx is mainmenucode and yyy is a leftmenucode diff --git a/htdocs/core/modules/modProductBatch.class.php b/htdocs/core/modules/modProductBatch.class.php index ca0e282981937bf043947caa30e87930c62e7f57..9dbc8eb0212b1aaa1d946c0f1fd25aefdf6ef212 100644 --- a/htdocs/core/modules/modProductBatch.class.php +++ b/htdocs/core/modules/modProductBatch.class.php @@ -95,10 +95,12 @@ class modProductBatch extends DolibarrModules $this->rights = array(); // Permission array used by this module $r=0; - // Main menu entries - $this->menu = array(); // List of menus to add - $r=0; - + + // Menus + //------- + $this->menu = 1; // This module add menu entries. They are coded into menu manager. + + // Exports $r=0; diff --git a/htdocs/core/modules/modProjet.class.php b/htdocs/core/modules/modProjet.class.php index 2d71eaba5a1a22f4575dc7dec2622b35be2b284d..542a13c22888879c4d2831de14e6300880758f2d 100644 --- a/htdocs/core/modules/modProjet.class.php +++ b/htdocs/core/modules/modProjet.class.php @@ -203,6 +203,11 @@ class modProjet extends DolibarrModules $this->rights[$r][5] = 'supprimer'; + // Menus + //------- + $this->menu = 1; // This module add menu entries. They are coded into menu manager. + + //Exports //-------- $r=1; diff --git a/htdocs/core/modules/modPropale.class.php b/htdocs/core/modules/modPropale.class.php index e9fe448baf719c7567750b65ec24c71f13578d07..975c65656b34a7e0f787bbf72a7eff1f66a9f882 100644 --- a/htdocs/core/modules/modPropale.class.php +++ b/htdocs/core/modules/modPropale.class.php @@ -163,6 +163,12 @@ class modPropale extends DolibarrModules $this->rights[$r][3] = 0; // La permission est-elle une permission par defaut $this->rights[$r][4] = 'export'; + + // Menus + //------- + $this->menu = 1; // This module add menu entries. They are coded into menu manager. + + // Exports //-------- $r=0; diff --git a/htdocs/core/modules/modResource.class.php b/htdocs/core/modules/modResource.class.php index 83476270bc506ba7380a5fcf8d839c7f4766a96b..f445992dbbbbb256a94f419e72bfd94b08035bfe 100644 --- a/htdocs/core/modules/modResource.class.php +++ b/htdocs/core/modules/modResource.class.php @@ -196,6 +196,11 @@ class modResource extends DolibarrModules $r++; + // Menus + //------- + $this->menu = 1; // This module add menu entries. They are coded into menu manager. + + // Add here list of permission defined by // an id, a label, a boolean and two constant strings. // Example: diff --git a/htdocs/core/modules/modSalaries.class.php b/htdocs/core/modules/modSalaries.class.php index 437422804657f351aa1509c932dfd569a4e77fa4..a1f4753b12da529369865fff5450a9c64b1b32f2 100644 --- a/htdocs/core/modules/modSalaries.class.php +++ b/htdocs/core/modules/modSalaries.class.php @@ -137,6 +137,11 @@ class modSalaries extends DolibarrModules $this->rights[$r][5] = ''; + // Menus + //------- + $this->menu = 1; // This module add menu entries. They are coded into menu manager. + + // Exports //-------- $r=0; diff --git a/htdocs/core/modules/modService.class.php b/htdocs/core/modules/modService.class.php index 5ea2cfde96419f4186f5753781a9784f6791337e..5d9298a65ff8db091f0cd60f6cb8decaadeeb0aa 100644 --- a/htdocs/core/modules/modService.class.php +++ b/htdocs/core/modules/modService.class.php @@ -130,7 +130,12 @@ class modService extends DolibarrModules */ - // Exports + // Menus + //------- + $this->menu = 1; // This module add menu entries. They are coded into menu manager. + + + // Exports //-------- $r=0; diff --git a/htdocs/core/modules/modSociete.class.php b/htdocs/core/modules/modSociete.class.php index 4eac3c84c8ab6d76f51f4308cafc92838926f5f6..50c7fc3c83166f325d57c0d123fd89613adafaec 100644 --- a/htdocs/core/modules/modSociete.class.php +++ b/htdocs/core/modules/modSociete.class.php @@ -242,7 +242,12 @@ class modSociete extends DolibarrModules $this->rights[$r][4] = 'contact'; $this->rights[$r][5] = 'export'; - + + // Menus + //------- + $this->menu = 1; // This module add menu entries. They are coded into menu manager. + + // Exports //-------- $r=0; diff --git a/htdocs/core/modules/modStock.class.php b/htdocs/core/modules/modStock.class.php index 778eb39e82706b2bd67f4289663d4a6fb853b7b7..b2c2f806bd707479b964753b59f83f1711f824f7 100644 --- a/htdocs/core/modules/modStock.class.php +++ b/htdocs/core/modules/modStock.class.php @@ -117,6 +117,12 @@ class modStock extends DolibarrModules $this->rights[4][4] = 'mouvement'; $this->rights[4][5] = 'creer'; + + // Menus + //------- + $this->menu = 1; // This module add menu entries. They are coded into menu manager. + + // Exports //-------- $r=0; diff --git a/htdocs/core/modules/modTax.class.php b/htdocs/core/modules/modTax.class.php index 293384b49a841abdf48ffbb542750c9f577341bf..b5a23dd137742dd398c5561c37c0619184539564 100644 --- a/htdocs/core/modules/modTax.class.php +++ b/htdocs/core/modules/modTax.class.php @@ -117,6 +117,12 @@ class modTax extends DolibarrModules $this->rights[$r][5] = 'export'; + // Menus + //------- + + $this->menu = 1; // This module add menu entries. They are coded into menu manager. + + // Exports //-------- $r=0; diff --git a/htdocs/core/modules/modUser.class.php b/htdocs/core/modules/modUser.class.php index 759b68555b79b2600028e9ed423dc26f540e029b..911becc039bc146714e44fa504352c86fcf4cf12 100644 --- a/htdocs/core/modules/modUser.class.php +++ b/htdocs/core/modules/modUser.class.php @@ -202,6 +202,13 @@ class modUser extends DolibarrModules $this->rights[$r][4] = 'user'; $this->rights[$r][5] = 'export'; + + // Menus + //------- + + $this->menu = 1; // This module add menu entries. They are coded into menu manager. + + // Exports //-------- $r=0;