mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix template
This commit is contained in:
parent
90bcc64547
commit
d5324ff3db
|
|
@ -8,7 +8,7 @@ Description...
|
|||
{imgmd}
|
||||
-->
|
||||
|
||||
Other modules are available on [Dolistore.com](https://www.dolistore.com>).
|
||||
Other modules are available on [Dolistore.com](https://www.dolistore.com).
|
||||
|
||||
## Translations
|
||||
|
||||
|
|
|
|||
|
|
@ -276,7 +276,7 @@ class modMyModule extends DolibarrModules
|
|||
'langs'=>'mymodule@mymodule', // Lang file to use (without .lang) by module. File must be in langs/code_CODE/ directory.
|
||||
'position'=>1000 + $r,
|
||||
'enabled'=>'$conf->mymodule->enabled', // Define condition to show or hide menu entry. Use '$conf->mymodule->enabled' if entry must be visible if module is enabled.
|
||||
'perms'=>'$user->rights->mymodule->myobject->read', // Use 'perms'=>'$user->rights->mymodule->level1->level2' if you want your menu with a permission rules
|
||||
'perms'=>'1', // Use 'perms'=>'$user->rights->mymodule->myobject->read' if you want your menu with a permission rules
|
||||
'target'=>'',
|
||||
'user'=>2, // 0=Menu for internal users, 1=external users, 2=both
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user