From 50e46a3e5325b0e1608720db2ff3656db4ebb5b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=99=E8=BF=B0=E3=80=81=E5=88=AB=E7=A6=BB?= <93301500+xushubieli@users.noreply.github.com> Date: Fri, 26 May 2023 17:24:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E7=A4=BA=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/system/archive/archives.class.php | 3 +-- src/system/archive/listview.class.php | 2 +- src/system/archive/sglistview.class.php | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/system/archive/archives.class.php b/src/system/archive/archives.class.php index 6fcab8f2..59e4e942 100755 --- a/src/system/archive/archives.class.php +++ b/src/system/archive/archives.class.php @@ -511,8 +511,7 @@ class Archives if ($this->TempSource == '') { $tempfile = $this->GetTempletFile(); if (!file_exists($tempfile) || !is_file($tempfile)) { - echo "文档id:{$this->Fields['id']} - {$this->TypeLink->TypeInfos['typename']} - {$this->Fields['title']}
"; - echo "主题模板文件不存在,无法发布文档"; + echo "文档id:{$this->Fields['id']},标题:{$this->Fields['title']},主题模板文件不存在,无法发布文档"; exit(); } $this->dtp->LoadTemplate($tempfile); diff --git a/src/system/archive/listview.class.php b/src/system/archive/listview.class.php index a80db25a..36b7be49 100755 --- a/src/system/archive/listview.class.php +++ b/src/system/archive/listview.class.php @@ -250,7 +250,7 @@ class ListView $tempfile = $GLOBALS['cfg_basedir'].$GLOBALS['cfg_templets_dir']."/".$GLOBALS['cfg_df_style']."/list_default.htm"; } if (!file_exists($tempfile) || !is_file($tempfile)) { - echo "主题模板文件不存在,无法发布文档"; + echo "栏目:{$this->TypeLink->TypeInfos['typename']},主题模板文件不存在,无法发布文档"; exit(); } $this->dtp->LoadTemplate($tempfile); diff --git a/src/system/archive/sglistview.class.php b/src/system/archive/sglistview.class.php index d4824d85..b1cc511c 100755 --- a/src/system/archive/sglistview.class.php +++ b/src/system/archive/sglistview.class.php @@ -209,7 +209,7 @@ class SgListView $tempfile = $GLOBALS['cfg_basedir'].$GLOBALS['cfg_templets_dir']."/".$GLOBALS['cfg_df_style']."/list_default_sg.htm"; } if (!file_exists($tempfile) || !is_file($tempfile)) { - echo "主题模板文件不存在,无法发布文档"; + echo "栏目:{$this->TypeLink->TypeInfos['typename']},主题模板文件不存在,无法发布文档"; exit(); } $this->dtp->LoadTemplate($tempfile);