mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-26 18:53:24 +01:00
Merge branch '8.0' of git@github.com:Dolibarr/dolibarr.git into 9.0
Conflicts: htdocs/core/actions_massactions.inc.php htdocs/website/class/website.class.php
This commit is contained in:
@@ -3807,18 +3807,10 @@ abstract class CommonObject
|
||||
// Output template part (modules that overwrite templates must declare this into descriptor)
|
||||
// Use global variables + $dateSelector + $seller and $buyer
|
||||
$dirtpls=array_merge($conf->modules_parts['tpl'], array('/core/tpl'));
|
||||
foreach($dirtpls as $module => $reldir)
|
||||
foreach($dirtpls as $reldir)
|
||||
{
|
||||
if (!empty($module) && empty($conf->$module->enabled)) continue;
|
||||
$tpl = dol_buildpath($reldir.'/objectline_create.tpl.php');
|
||||
|
||||
if (!empty($module))
|
||||
{
|
||||
$tpl = dol_buildpath($reldir.'/objectline_create.tpl.php');
|
||||
}
|
||||
else
|
||||
{
|
||||
$tpl = DOL_DOCUMENT_ROOT.$reldir.'/objectline_create.tpl.php';
|
||||
}
|
||||
if (empty($conf->file->strict_mode)) {
|
||||
$res=@include $tpl;
|
||||
} else {
|
||||
@@ -4069,18 +4061,10 @@ abstract class CommonObject
|
||||
// Output template part (modules that overwrite templates must declare this into descriptor)
|
||||
// Use global variables + $dateSelector + $seller and $buyer
|
||||
$dirtpls=array_merge($conf->modules_parts['tpl'], array('/core/tpl'));
|
||||
foreach($dirtpls as $module => $reldir)
|
||||
foreach($dirtpls as $reldir)
|
||||
{
|
||||
if (!empty($module) && empty($conf->$module->enabled)) continue;
|
||||
$tpl = dol_buildpath($reldir.'/objectline_view.tpl.php');
|
||||
|
||||
if (!empty($module))
|
||||
{
|
||||
$tpl = dol_buildpath($reldir.'/objectline_view.tpl.php');
|
||||
}
|
||||
else
|
||||
{
|
||||
$tpl = DOL_DOCUMENT_ROOT.$reldir.'/objectline_view.tpl.php';
|
||||
}
|
||||
if (empty($conf->file->strict_mode)) {
|
||||
$res=@include $tpl;
|
||||
} else {
|
||||
@@ -4101,18 +4085,10 @@ abstract class CommonObject
|
||||
// Output template part (modules that overwrite templates must declare this into descriptor)
|
||||
// Use global variables + $dateSelector + $seller and $buyer
|
||||
$dirtpls=array_merge($conf->modules_parts['tpl'], array('/core/tpl'));
|
||||
foreach($dirtpls as $module => $reldir)
|
||||
foreach($dirtpls as $reldir)
|
||||
{
|
||||
if (!empty($module) && empty($conf->$module->enabled)) continue;
|
||||
$tpl = dol_buildpath($reldir.'/objectline_edit.tpl.php');
|
||||
|
||||
if (!empty($module))
|
||||
{
|
||||
$tpl = dol_buildpath($reldir.'/objectline_edit.tpl.php');
|
||||
}
|
||||
else
|
||||
{
|
||||
$tpl = DOL_DOCUMENT_ROOT.$reldir.'/objectline_edit.tpl.php';
|
||||
}
|
||||
if (empty($conf->file->strict_mode)) {
|
||||
$res=@include $tpl;
|
||||
} else {
|
||||
@@ -4306,18 +4282,10 @@ abstract class CommonObject
|
||||
// Output template part (modules that overwrite templates must declare this into descriptor)
|
||||
// Use global variables + $dateSelector + $seller and $buyer
|
||||
$dirtpls=array_merge($conf->modules_parts['tpl'], array('/core/tpl'));
|
||||
foreach($dirtpls as $module => $reldir)
|
||||
foreach($dirtpls as $reldir)
|
||||
{
|
||||
if (!empty($module) && empty($conf->$module->enabled)) continue;
|
||||
$tpl = dol_buildpath($reldir.'/originproductline.tpl.php');
|
||||
|
||||
if (!empty($module))
|
||||
{
|
||||
$tpl = dol_buildpath($reldir.'/originproductline.tpl.php');
|
||||
}
|
||||
else
|
||||
{
|
||||
$tpl = DOL_DOCUMENT_ROOT.$reldir.'/originproductline.tpl.php';
|
||||
}
|
||||
if (empty($conf->file->strict_mode)) {
|
||||
$res=@include $tpl;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user