From 457f42076461506515fcbabac0074b8b1f1cf8c8 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:35:33 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/system/archive/archives.class.php | 2 +- src/system/archive/listview.class.php | 2 +- src/system/archive/searchview.class.php | 2 +- src/system/archive/sglistview.class.php | 2 +- src/system/archive/specview.class.php | 2 +- src/system/archive/taglist.class.php | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/system/archive/archives.class.php b/src/system/archive/archives.class.php index 59e4e942..d76c418e 100755 --- a/src/system/archive/archives.class.php +++ b/src/system/archive/archives.class.php @@ -511,7 +511,7 @@ class Archives if ($this->TempSource == '') { $tempfile = $this->GetTempletFile(); if (!file_exists($tempfile) || !is_file($tempfile)) { - echo "文档id:{$this->Fields['id']},标题:{$this->Fields['title']},主题模板文件不存在,无法发布文档"; + 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 36b7be49..722c36fa 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 "栏目:{$this->TypeLink->TypeInfos['typename']},主题模板文件不存在,无法发布文档"; + echo "栏目:{$this->TypeLink->TypeInfos['typename']},主题模板文件不存在,无法更新栏目"; exit(); } $this->dtp->LoadTemplate($tempfile); diff --git a/src/system/archive/searchview.class.php b/src/system/archive/searchview.class.php index 4917f9cc..c1dd6062 100755 --- a/src/system/archive/searchview.class.php +++ b/src/system/archive/searchview.class.php @@ -110,7 +110,7 @@ class SearchView $this->CountRecord(); $tempfile = $GLOBALS['cfg_basedir'].$GLOBALS['cfg_templets_dir']."/".$GLOBALS['cfg_df_style']."/search.htm"; if (!file_exists($tempfile) || !is_file($tempfile)) { - echo "搜索模板文件不存在,无法解析"; + echo "搜索模板文件不存在,无法更新搜索"; exit(); } $this->dtp->LoadTemplate($tempfile); diff --git a/src/system/archive/sglistview.class.php b/src/system/archive/sglistview.class.php index b1cc511c..40bc378f 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 "栏目:{$this->TypeLink->TypeInfos['typename']},主题模板文件不存在,无法发布文档"; + echo "栏目:{$this->TypeLink->TypeInfos['typename']},主题模板文件不存在,无法更新栏目"; exit(); } $this->dtp->LoadTemplate($tempfile); diff --git a/src/system/archive/specview.class.php b/src/system/archive/specview.class.php index ad5cda81..43ce1e44 100755 --- a/src/system/archive/specview.class.php +++ b/src/system/archive/specview.class.php @@ -60,7 +60,7 @@ class SpecView $this->CountRecord(); $tempfile = $GLOBALS['cfg_basedir'].$GLOBALS['cfg_templets_dir']."/".$GLOBALS['cfg_df_style']."/list_spec.htm"; if (!file_exists($tempfile) || !is_file($tempfile)) { - echo "专题主题模板文件不存在,无法发布文档"; + echo "专题主题模板文件不存在,无法更新专题"; exit(); } $this->dtp->LoadTemplate($tempfile); diff --git a/src/system/archive/taglist.class.php b/src/system/archive/taglist.class.php index fb17cd40..1588c427 100755 --- a/src/system/archive/taglist.class.php +++ b/src/system/archive/taglist.class.php @@ -71,7 +71,7 @@ class TagList //初始化模板 $tempfile = $GLOBALS['cfg_basedir'].$GLOBALS['cfg_templets_dir']."/".$GLOBALS['cfg_df_style'].'/'.$this->Templet; if (!file_exists($tempfile) || !is_file($tempfile)) { - echo "标签主题模板文件不存在,无法发布文档"; + echo "标签主题模板文件不存在,无法更新标签"; exit(); } $this->dtp->LoadTemplate($tempfile);