From 3b8439e7c5116fed2c8623d25e2b8cd69a2ff183 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 14 Oct 2023 18:29:01 +0200 Subject: [PATCH] NEW Show id of module on the tooltip module help page --- htdocs/admin/modulehelp.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/htdocs/admin/modulehelp.php b/htdocs/admin/modulehelp.php index 94d33d6059c..253d69377bb 100644 --- a/htdocs/admin/modulehelp.php +++ b/htdocs/admin/modulehelp.php @@ -329,10 +329,12 @@ if ($mode == 'desc') { $text .= '
'.$moduledesc.'


'; } - $text .= ''.$langs->trans("Version").': '.$version; - $moduledescriptorfile = get_class($objMod).'.class.php'; - $text .= '
'.$langs->trans("DescriptorFile").': '.$moduledescriptorfile; + $text .= ''.$langs->trans("DescriptorFile").': '.$moduledescriptorfile; + + $text .= '
'.$langs->trans("IdModule").': '.$objMod->numero; + + $text .= '
'.$langs->trans("Version").': '.$version; $textexternal = ''; if ($objMod->isCoreOrExternalModule() == 'external') {