* Adjust for export2csv export2html export2xml.

This commit is contained in:
wangyidong
2023-07-25 10:32:29 +08:00
parent e5bf6b41d2
commit 95643db014
8 changed files with 97 additions and 480 deletions
+1 -1
View File
@@ -1230,7 +1230,7 @@ class fileModel extends model
$objectType = zget($this->config->file->objectType, $file->objectType);
$html .= "<li class='file' title='{$uploadDate}'>" . html::a($downloadLink, $fileTitle . " <span class='text-muted'>({$fileSize})</span>", '_blank', "id='fileTitle$file->id' onclick=\"return downloadFile($file->id, '$file->extension', $imageWidth, '$file->title')\"");
$html .= "<li class='file' title='{$uploadDate}'>" . html::a($downloadLink, $fileTitle . " <span class='text-gray'>({$fileSize})</span>", '_blank', "id='fileTitle$file->id' onclick=\"return downloadFile($file->id, '$file->extension', $imageWidth, '$file->title')\"");
if(strpos('view,edit', $method) !== false)
{
if(common::hasPriv($objectType, 'view', $object)) $html = $this->buildFileActions($html, $downloadLink, $imageWidth, $showEdit, $showDelete, $file, $object);