diff --git a/htdocs/admin/modules.php b/htdocs/admin/modules.php index a7b3065658d..c9f2c57b8f2 100644 --- a/htdocs/admin/modules.php +++ b/htdocs/admin/modules.php @@ -500,8 +500,10 @@ if ($mode != 'marketplace') else $text.='
'.$objMod->getDesc().'

'; $textexternal=''; + $imginfo="info"; if ($objMod->isCoreOrExternalModule() == 'external') { + $imginfo="info_black"; $textexternal.='
'.$langs->trans("Origin").': '.$langs->trans("ExternalModule",$dirofmodule); if ($objMod->editor_name != 'dolibarr') $textexternal.='
'.$langs->trans("Publisher").': '.(empty($objMod->editor_name)?$langs->trans("Unknown"):$objMod->editor_name); if (! empty($objMod->editor_url) && ! preg_match('/dolibarr\.org/i',$objMod->editor_url)) $textexternal.='
'.$langs->trans("Url").': '.$objMod->editor_url; @@ -645,7 +647,7 @@ if ($mode != 'marketplace') $text.='
'.$langs->trans("AddOtherPagesOrServices").': '; $text.=$langs->trans("DetectionNotPossible"); - print $form->textwithpicto('', $text, 1, 'help', 'minheight20'); + print $form->textwithpicto('', $text, 1, $imginfo, 'minheight20'); print ''; @@ -659,8 +661,6 @@ if ($mode != 'marketplace') if (preg_match('/experimental/i', $version)) print img_warning($langs->trans("Experimental"), 'style="float: left"'); if (preg_match('/deprecated/i', $version)) print img_warning($langs->trans("Deprecated"), 'style="float: left"'); - // Picto external - if ($textexternal) print img_picto($langs->trans("ExternalModule",$dirofmodule), 'external', 'style="float: left"'); print $versiontrans;