2
0
forked from Wavyzz/dolibarr

Debug v21

This commit is contained in:
Laurent Destailleur
2024-10-27 02:40:58 +01:00
parent 5a2e9bf7bf
commit e149f8ba6c
6 changed files with 22 additions and 17 deletions

View File

@@ -886,7 +886,10 @@ class FormFile
}
}
$i = 0;
foreach ($file_list as $file) {
$i++;
// Define relative path for download link (depends on module)
$relativepath = (string) $file["name"]; // Cas general
if ($modulesubdir) {
@@ -896,7 +899,7 @@ class FormFile
$relativepath = (string) $file["name"]; // Other case
}
$out .= '<tr class="oddeven">';
$out .= '<tr class="oddeven'.((!$genallowed && $i == 1) ? ' trfirstline' : '').'">';
$documenturl = DOL_URL_ROOT.'/document.php';
if (isset($conf->global->DOL_URL_ROOT_DOCUMENT_PHP)) {

View File

@@ -278,7 +278,7 @@ if ($action == 'convertimgwebp' && $permtoadd) {
if (empty($action) || $action == 'editfile' || $action == 'file_manager' || preg_match('/refresh/i', $action) || $action == 'delete') {
$langs->load("ecm");
print '<table class="liste centpercent">'."\n";
print '<table class="liste centpercent noborder">'."\n";
print '<!-- Title for manual directories -->'."\n";
print '<tr class="liste_titre">'."\n";