Skip to content

Commit

Permalink
Finished dev
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jul 17, 2017
1 parent d832bfc commit 4fa0424
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions htdocs/core/modules/modModuleBuilder.class.php
Expand Up @@ -47,7 +47,7 @@ function __construct($db)
// Module label (no space allowed), used if translation string 'ModuleXXXName' not found (where XXX is value of numeric property 'numero' of module)
$this->name = preg_replace('/^mod/i','',get_class($this));
$this->description = "A tool to help developers to build their own module.";
$this->version = 'development'; // 'development', 'experimental' or 'dolibarr' or version
$this->version = 'experimental'; // 'development', 'experimental' or 'dolibarr' or version
// 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=others,3=very specific)
Expand Down Expand Up @@ -85,7 +85,7 @@ function __construct($db)
// Main menu entries
//------------------
$this->menu = array();

$this->menu[$r]=array('fk_menu'=>'fk_mainmenu=home,fk_leftmenu=admintools',
'type'=>'left',
'titre'=>'ModuleBuilder',
Expand All @@ -98,6 +98,6 @@ function __construct($db)
'enabled'=>'$conf->modulebuilder->enabled && preg_match(\'/^admintools/\',$leftmenu) && ($user->admin || $conf->global->MODULEBUILDER_FOREVERYONE)',
'target'=>'_modulebuilder',
'user'=>0);

}
}

0 comments on commit 4fa0424

Please sign in to comment.