diff --git a/htdocs/core/lib/ecm.lib.php b/htdocs/core/lib/ecm.lib.php
index 2f12976e49f..83059f5d498 100644
--- a/htdocs/core/lib/ecm.lib.php
+++ b/htdocs/core/lib/ecm.lib.php
@@ -31,19 +31,21 @@
*/
function ecm_prepare_dasboard_head($object)
{
- global $langs, $conf, $user;
+ global $langs, $conf, $user, $form;
$h = 0;
$head = array();
+ $helptext =$langs->trans("ECMAreaDesc").'
';
+ $helptext.=$langs->trans("ECMAreaDesc2");
$head[$h][0] = DOL_URL_ROOT.'/ecm/index.php';
- $head[$h][1] = $langs->trans("ECMSectionsManual").img_help(1,$helptext1);
+ $head[$h][1] = $langs->trans("ECMSectionsManual").$form->textwithpicto('', $helptext, 1, 'info', '', 0, 3);
$head[$h][2] = 'index';
$h++;
if (! empty($conf->global->ECM_AUTO_TREE_ENABLED))
{
$head[$h][0] = DOL_URL_ROOT.'/ecm/index_auto.php';
- $head[$h][1] = $langs->trans("ECMSectionsAuto").img_help(1,$helptext2);
+ $head[$h][1] = $langs->trans("ECMSectionsAuto").$form->textwithpicto('', $helptext, 1, 'info', '', 0, 3);
$head[$h][2] = 'index_auto';
$h++;
}
diff --git a/htdocs/ecm/index.php b/htdocs/ecm/index.php
index 8f9bd5573bf..d675542140c 100644
--- a/htdocs/ecm/index.php
+++ b/htdocs/ecm/index.php
@@ -416,12 +416,6 @@ if (! empty($conf->global->ECM_AUTO_TREE_ENABLED))
print_fiche_titre($langs->trans("ECMArea").' - '.$langs->trans("ECMFileManager"));
-$helptext1=''; $helptext2='';
-$helptext1.=$langs->trans("ECMAreaDesc");
-$helptext1.=$langs->trans("ECMAreaDesc2");
-$helptext2.=$langs->trans("ECMAreaDesc");
-$helptext2.=$langs->trans("ECMAreaDesc2");
-
/*
print '