From dbb1289bd760cfb153da59c34becd87bfd990346 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=83=A1?= <140248955+xiaohu2002@users.noreply.github.com> Date: Thu, 24 Oct 2024 09:04:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BD=91=E5=9D=80=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E9=A2=84=E8=A7=88=E5=92=8C=E6=96=87=E4=BB=B6=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E6=98=BE=E7=A4=BA=E4=B8=BA=E6=9C=AA=E7=9F=A5=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E7=9A=84=E9=97=AE=E9=A2=98=E3=80=81=E4=BF=AE=E6=94=B9?= =?UTF-8?q?title=20(#261)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/class/table/table_resources.php | 2 ++ core/template/default/common/header_common.htm | 2 +- core/template/default/common/header_simple_start.htm | 2 +- share.php | 4 ++++ 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/core/class/table/table_resources.php b/core/class/table/table_resources.php index 80adea2..2c1a1bb 100644 --- a/core/class/table/table_resources.php +++ b/core/class/table/table_resources.php @@ -889,6 +889,8 @@ class table_resources extends dzz_table if ($currentfolder = C::t('folder')->fetch($fileinfo['oid'])) { $fileinfo['isgroup'] = ($currentfolder['flag'] == 'organization') ? true : false; } + } elseif ($fileinfo['type'] == 'link') { + $fileinfo['type'] = lang('type_link'); } elseif ($fileinfo['ext']) { $fileinfo['type'] = getFileTypeName($fileinfo['type'], $fileinfo['ext']); } else { diff --git a/core/template/default/common/header_common.htm b/core/template/default/common/header_common.htm index 06936bf..6266ae9 100644 --- a/core/template/default/common/header_common.htm +++ b/core/template/default/common/header_common.htm @@ -3,7 +3,7 @@ -