mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-11 18:32:32 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user