forked from Wavyzz/dolibarr
Debug v21
This commit is contained in:
@@ -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)) {
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user