Debug module builder
This commit is contained in:
parent
11c16fff06
commit
5ff366178c
1
.gitignore
vendored
1
.gitignore
vendored
@ -57,3 +57,4 @@ yarn.lock
|
|||||||
package-lock.json
|
package-lock.json
|
||||||
|
|
||||||
doc/install.lock
|
doc/install.lock
|
||||||
|
/.asciidoctorconfig.adoc
|
||||||
|
|||||||
@ -3357,15 +3357,15 @@ if ($module == 'initmodule') {
|
|||||||
$pathtochangelog = $modulelowercase.'/ChangeLog.md';
|
$pathtochangelog = $modulelowercase.'/ChangeLog.md';
|
||||||
|
|
||||||
if ($action != 'editfile' || empty($file)) {
|
if ($action != 'editfile' || empty($file)) {
|
||||||
print dol_get_fiche_head($head2, $tab, '', -1, '', 0, '', '', $MAXTABFOROBJECT, 'formodulesuffix'); // Description - level 2
|
$morehtmlright = '';
|
||||||
|
if (realpath($dirread.'/'.$modulelowercase) != $dirread.'/'.$modulelowercase) {
|
||||||
|
$morehtmlright = '<div style="padding: 12px 9px 12px">'.$form->textwithpicto('', '<span class="opacitymedium">'.$langs->trans("RealPathOfModule").' :</span> <strong class="wordbreak">'.realpath($dirread.'/'.$modulelowercase).'</strong>').'</div>';
|
||||||
|
}
|
||||||
|
|
||||||
|
print dol_get_fiche_head($head2, $tab, '', -1, '', 0, $morehtmlright, '', $MAXTABFOROBJECT, 'formodulesuffix'); // Description - level 2
|
||||||
|
|
||||||
print '<span class="opacitymedium">'.$langs->trans("ModuleBuilderDesc".$tab).'</span>';
|
print '<span class="opacitymedium">'.$langs->trans("ModuleBuilderDesc".$tab).'</span>';
|
||||||
$infoonmodulepath = '';
|
print '<br><br>';
|
||||||
if (realpath($dirread.'/'.$modulelowercase) != $dirread.'/'.$modulelowercase) {
|
|
||||||
$infoonmodulepath = '<span class="opacitymedium">'.$langs->trans("RealPathOfModule").' :</span> <strong class="wordbreak">'.realpath($dirread.'/'.$modulelowercase).'</strong><br>';
|
|
||||||
print ' '.$infoonmodulepath;
|
|
||||||
}
|
|
||||||
print '<br>';
|
|
||||||
|
|
||||||
print '<table>';
|
print '<table>';
|
||||||
|
|
||||||
|
|||||||
@ -49,6 +49,16 @@ __README__
|
|||||||
__DATA_SPECIFICATION__
|
__DATA_SPECIFICATION__
|
||||||
|
|
||||||
|
|
||||||
|
== MATRIX OF PERMISSIONS
|
||||||
|
|
||||||
|
__DATA_PERMISSIONS__
|
||||||
|
|
||||||
|
|
||||||
|
== OTHER
|
||||||
|
|
||||||
|
__API_DOC__
|
||||||
|
|
||||||
|
|
||||||
== CHANGELOG
|
== CHANGELOG
|
||||||
|
|
||||||
//include::ChangeLog.md[]
|
//include::ChangeLog.md[]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user