diff --git a/htdocs/admin/modules.php b/htdocs/admin/modules.php
index fe735cb2499..57ed97c9b20 100644
--- a/htdocs/admin/modules.php
+++ b/htdocs/admin/modules.php
@@ -278,7 +278,7 @@ foreach ($modulesdir as $dir)
try
{
- $res=include_once $dir.$file; // A class already exists in a different file will send a non catchable fatal error.
+ $res=include_once $dir.$file; // A class already exists in a different file will send a non catchable fatal error.
if (class_exists($modName))
{
try {
@@ -352,7 +352,7 @@ foreach ($modulesdir as $dir)
{
$arrayofwarningsext[$modName]=$objMod->warnings_activation_ext;
}
-
+
$orders[$i] = $familyinfo[$familykey]['position']."_".$familykey."_".$moduleposition."_".$j; // Sort by family, then by module position then number
$dirmod[$i] = $dir;
//print $i.'-'.$dirmod[$i].'
';
@@ -436,7 +436,7 @@ if ($mode == 'common')
print '';
print '';
print '';
-
+
dol_fiche_head($head, $mode, '', -1);
$moreforfilter = '';
@@ -473,12 +473,12 @@ if ($mode == 'common')
$reshook=$hookmanager->executeHooks('printFieldPreListTitle',$parameters); // Note that $action and $object may have been modified by hook
print $hookmanager->resPrint;
}
-
-
+
+
print '
| '.img_picto($langs->trans("NothingToSetup"),"setup",'class="opacitytransp" style="padding-right: 6px"').' | '; } print "
| '.$langs->trans("URL").' | '; print '|||||||||||||||||||
![]() | ';
@@ -798,7 +798,7 @@ if ($mode == 'marketplace')
print ''.$url.' | '; print '||||||||||||||||||
![]() | ';
@@ -813,23 +813,23 @@ if ($mode == 'marketplace')
// Install external module
-
+
if ($mode == 'deploy')
{
dol_fiche_head($head, $mode, '', -1);
-
+
$allowonlineinstall=true;
$allowfromweb=1;
if (dol_is_file($dolibarrdataroot.'/installmodules.lock')) $allowonlineinstall=false;
-
+
$fullurl=''.$urldolibarrmodules.'';
$message='';
if (! empty($allowonlineinstall))
{
if (! in_array('/custom',explode(',',$dolibarr_main_url_root_alt)))
{
- $message=info_admin($langs->trans("ConfFileMuseContainCustom", DOL_DOCUMENT_ROOT.'/custom', DOL_DOCUMENT_ROOT));
+ $message=info_admin($langs->trans("ConfFileMustContainCustom", DOL_DOCUMENT_ROOT.'/custom', DOL_DOCUMENT_ROOT));
$allowfromweb=-1;
}
else
@@ -845,7 +845,7 @@ if ($mode == 'deploy')
}
else
{
-
+
$message=info_admin($langs->trans("NotExistsDirect",$dirins).$langs->trans("InfDirAlt").$langs->trans("InfDirExample"));
$allowfromweb=0;
}
@@ -856,7 +856,7 @@ if ($mode == 'deploy')
$message=info_admin($langs->trans("InstallModuleFromWebHasBeenDisabledByFile",$dolibarrdataroot.'/installmodules.lock'));
$allowfromweb=0;
}
-
+
if ($allowfromweb < 1)
{
print $langs->trans("SomethingMakeInstallFromWebNotPossible");
@@ -864,15 +864,15 @@ if ($mode == 'deploy')
//print $langs->trans("SomethingMakeInstallFromWebNotPossible2");
print '
| '; print $langs->trans("Parameter"); @@ -369,90 +409,90 @@ elseif (! empty($module)) print ' | '; print $moduleobj->numero; print ' |
| '; print $langs->trans("Name"); print ' | '; print $moduleobj->getName(); print ' |
| '; print $langs->trans("Version"); print ' | '; print $moduleobj->getVersion(); print ' |
| ';
print $langs->trans("Family");
print " 'crm','financial','hr','projects','products','ecm','technic','interface','other'"; print ' | '; print $moduleobj->family; print ' |
| '; print $langs->trans("EditorName"); print ' | '; print $moduleobj->editor_name; print ' |
| '; print $langs->trans("EditorUrl"); print ' | '; print $moduleobj->editor_url; print ' |
| '; print $langs->trans("Description"); print ' | '; print $moduleobj->getDesc(); print ' |
| '; print $langs->trans("LongDescription"); print ' | '; print $moduleobj->getDescLong(); print ' |
| '.$trigger['picto'].' | '; print ''.$trigger['file'].' | '; @@ -478,7 +518,7 @@ elseif (! empty($module)) print ''; print '