Add link to modules Ids

This commit is contained in:
Laurent Destailleur 2017-10-03 21:12:01 +02:00
parent 5ddd77c950
commit 4c90e1c10d
3 changed files with 5 additions and 2 deletions

View File

@ -79,3 +79,5 @@ MenusDefDesc=Define here the menus provided by your module (once defined, they a
PermissionsDefDesc=Define here the new permissions provided by your module (once defined, they are visible into the default permissions setup %s)
HooksDefDesc=Define in the <b>module_parts['hooks']</b> property in the module descriptor the context of hooks you want to manage (list of contexts can be found by a search on '<b>initHooks(</b>' in core code).<br>Edit the hook file to add code of your hooked functions (hookable functions can be found by a search on '<b>executeHooks</b>' in core code).
TriggerDefDesc=Define in the trigger file the code you want to execute for each business event executed
SeeIDsInUse=See IDs in use in your installation
SeeReservedIDsRangeHere=See range of reserved IDs

View File

@ -1082,9 +1082,10 @@ elseif (! empty($module))
print '<tr><td>';
print $langs->trans("Numero");
print ' (<a href="https://wiki.dolibarr.org/index.php/List_of_modules_id" target="_blank">'.$langs->trans("SeeHere").'</a>)';
print '</td><td>';
print $moduleobj->numero;
print ' &nbsp; (<a href="'.DOL_URL_ROOT.'/admin/system/modules.php?mainmenu=home&leftmenu=admintools_info" target="_blank">'.$langs->trans("SeeIDsInUse").'</a>';
print ' - <a href="https://wiki.dolibarr.org/index.php/List_of_modules_id" target="_blank">'.$langs->trans("SeeReservedIDsRangeHere").'</a>)';
print '</td></tr>';
print '<tr><td>';

View File

@ -1,4 +1,4 @@
# MYMODULE FOR DOLIBARR ERP CRM
# MYMODULE FOR <a href="https://www.dolibarr.org">DOLIBARR ERP CRM</a>
## Features
MyModuleDescription