NEW Merge all admin tools (system and module admin tools) into same

entry "Admin tools", so now things are clear: All features restricted to
an admin user is inside "setup" (for setup) or "admin tools" (for action
tools) instead of 3 different entries.
This commit is contained in:
Laurent Destailleur
2016-02-16 12:46:39 +01:00
parent a4628e4bd1
commit 36b0cb5b23
16 changed files with 58 additions and 60 deletions

View File

@@ -105,14 +105,14 @@ class modReceiptPrinter extends DolibarrModules
$r=0;
// This is to declare the Top Menu entry:
//$this->menu[$r]=array( 'fk_menu'=>'fk_mainmenu=home,fk_leftmenu=modulesadmintools', // Put 0 if this is a top menu
//$this->menu[$r]=array( 'fk_menu'=>'fk_mainmenu=home,fk_leftmenu=admintools', // Put 0 if this is a top menu
// 'type'=>'left', // This is a Top menu entry
// 'titre'=>'MenuDirectPrinting',
// 'mainmenu'=>'printing',
// 'url'=>'/printing/index.php',
// 'langs'=>'printing', // Lang file to use (without .lang) by module. File must be in langs/code_CODE/ directory.
// 'position'=>300,
// 'enabled'=>'$conf->printing->enabled && $leftmenu==\'modulesadmintools\'',
// 'enabled'=>'$conf->printing->enabled && $leftmenu==\'admintools\'',
// 'perms'=>'$user->rights->printing->read', // Use 'perms'=>'1' if you want your menu with no permission rules
// 'target'=>'',
// 'user'=>0); // 0=Menu for internal users, 1=external users, 2=both