diff --git a/htdocs/langs/en_US/modulebuilder.lang b/htdocs/langs/en_US/modulebuilder.lang
index 9b3ad61a310..62251069c08 100644
--- a/htdocs/langs/en_US/modulebuilder.lang
+++ b/htdocs/langs/en_US/modulebuilder.lang
@@ -56,4 +56,5 @@ SqlFileExtraFields=Sql file for complementary attributes
SqlFileKey=Sql file for keys
AnObjectAlreadyExistWithThisNameAndDiffCase=An object already exists with this name and a different case
UseAsciiDocFormat=You can use Markdown format, but it is recommanded to use Asciidoc format (Comparison between .md and .asciidoc: http://asciidoctor.org/docs/user-manual/#compared-to-markdown)
-IsAMeasure=Is a measure
\ No newline at end of file
+IsAMeasure=Is a measure
+DirScanned=Directory scanned
\ No newline at end of file
diff --git a/htdocs/modulebuilder/index.php b/htdocs/modulebuilder/index.php
index 6e22985fd9e..5cbb41fcc84 100644
--- a/htdocs/modulebuilder/index.php
+++ b/htdocs/modulebuilder/index.php
@@ -813,7 +813,7 @@ $h++;
foreach($listofmodules as $tmpmodule => $tmpmodulewithcase)
{
- $head[$h][0] = $_SERVER["PHP_SELF"].'?module='.$tmpmodulewithcase;
+ $head[$h][0] = $_SERVER["PHP_SELF"].'?module='.$tmpmodulewithcase.($forceddirread?'@'.$dirread:'');
$head[$h][1] = $tmpmodulewithcase;
$head[$h][2] = $tmpmodulewithcase;
$h++;
@@ -958,15 +958,15 @@ elseif (! empty($module))
print $langs->trans("ModuleBuilderDesc".$tab).'
';
print ' '.$langs->trans("DescriptorFile").' : '.$pathtofile.'';
- print ' '.img_picto($langs->trans("Edit"), 'edit').'';
+ print ' '.img_picto($langs->trans("Edit"), 'edit').'';
print '
';
print ' '.$langs->trans("ReadmeFile").' : '.$pathtofilereadme.'';
- print ' '.img_picto($langs->trans("Edit"), 'edit').'';
+ print ' '.img_picto($langs->trans("Edit"), 'edit').'';
print '
';
print ' '.$langs->trans("ChangeLog").' : '.$pathtochangelog.'';
- print ' '.img_picto($langs->trans("Edit"), 'edit').'';
+ print ' '.img_picto($langs->trans("Edit"), 'edit').'';
print '
';
print '
';
@@ -974,84 +974,90 @@ elseif (! empty($module))
print_fiche_titre($langs->trans("DescriptorFile"));
- print '
| '; - print $langs->trans("Parameter"); - print ' | '; - print $langs->trans("Value"); - print ' |
| '; + print $langs->trans("Parameter"); + print ' | '; + print $langs->trans("Value"); + print ' |
| '; - print $langs->trans("Numero"); - print ' ('.$langs->trans("SeeHere").')'; - print ' | '; - print $moduleobj->numero; - print ' |
| '; + print $langs->trans("Numero"); + print ' ('.$langs->trans("SeeHere").')'; + print ' | '; + print $moduleobj->numero; + print ' |
| '; - print $langs->trans("Name"); - print ' | '; - print $moduleobj->getName(); - print ' |
| '; + print $langs->trans("Name"); + print ' | '; + print $moduleobj->getName(); + print ' |
| '; - print $langs->trans("Version"); - print ' | '; - print $moduleobj->getVersion(); - 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("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("EditorName"); + print ' | '; + print $moduleobj->editor_name; + print ' |
| '; - print $langs->trans("EditorUrl"); - print ' | '; - print $moduleobj->editor_url; - print ' |
| '; + print $langs->trans("EditorUrl"); + print ' | '; + print $moduleobj->editor_url; + print ' |
| '; - print $langs->trans("Description"); - print ' | '; - print $moduleobj->getDesc(); - print ' |
| '; + print $langs->trans("Description"); + print ' | '; + print $moduleobj->getDesc(); + print ' |