forked from Wavyzz/dolibarr
Add log
This commit is contained in:
@@ -1282,7 +1282,7 @@ class FormFile
|
||||
$sizetoshow = dol_print_size($file['size'], 1, 1);
|
||||
$sizetoshowbytes = dol_print_size($file['size'], 0, 1);
|
||||
|
||||
print '<td class="right" style="width: 80px">';
|
||||
print '<td class="right nowraponall">';
|
||||
if ($sizetoshow == $sizetoshowbytes) print $sizetoshow;
|
||||
else {
|
||||
print $form->textwithpicto($sizetoshow, $sizetoshowbytes, -1);
|
||||
@@ -1317,7 +1317,7 @@ class FormFile
|
||||
} else {
|
||||
print '<a href="'.$urlforhref['url'].'" class="'.$urlforhref['css'].'" target="'.$urlforhref['target'].'" mime="'.$urlforhref['mime'].'">';
|
||||
}
|
||||
print '<img class="photo" height="'.(($useinecm == 4 || $useinecm == 5 || $useinecm == 6) ? '12' : $maxheightmini).'" src="'.DOL_URL_ROOT.'/viewimage.php?modulepart='.$modulepart.'&entity='.(!empty($object->entity) ? $object->entity : $conf->entity).'&file='.urlencode($relativepath.$smallfile).'" title="">';
|
||||
print '<img class="photo maxwidth200" height="'.(($useinecm == 4 || $useinecm == 5 || $useinecm == 6) ? '12' : $maxheightmini).'" src="'.DOL_URL_ROOT.'/viewimage.php?modulepart='.$modulepart.'&entity='.(!empty($object->entity) ? $object->entity : $conf->entity).'&file='.urlencode($relativepath.$smallfile).'" title="">';
|
||||
print '</a>';
|
||||
}
|
||||
else print ' ';
|
||||
|
||||
Reference in New Issue
Block a user