diff --git a/src/admin/archives_do.php b/src/admin/archives_do.php index 14eeaa01..041a4fe6 100644 --- a/src/admin/archives_do.php +++ b/src/admin/archives_do.php @@ -1,6 +1,6 @@ ExecuteNoneQuery($sql); - //导入单表模型微数据 + //导入自定义模型微数据 $dsql->SetQuery("SELECT id,addtable FROM `#@__channeltype` WHERE id < -1 "); $dsql->Execute(); $doarray = array(); diff --git a/src/admin/content_list.php b/src/admin/content_list.php index afd08a50..3814739d 100644 --- a/src/admin/content_list.php +++ b/src/admin/content_list.php @@ -96,7 +96,7 @@ if ($cid == 0) { } else { $positionname = str_replace($cfg_list_symbol, " > ", $tl->GetPositionName())." > "; } -//当选择的是单表模型栏目时,直接跳转单表模型管理区 +//当选择的是自定义模型栏目时,直接跳转自定义模型管理区 if (empty($channelid) && isset($tl->TypeInfos['channeltype'])) { $channelid = $tl->TypeInfos['channeltype']; } diff --git a/src/admin/inc/inc_batchup.php b/src/admin/inc/inc_batchup.php index 27059c7c..126de64c 100644 --- a/src/admin/inc/inc_batchup.php +++ b/src/admin/inc/inc_batchup.php @@ -1,6 +1,6 @@ ExecuteNoneQuery($sql); - //导入单表模型微数据 + //导入自定义模型微数据 foreach ($shtables as $tb => $v) { $sql = "INSERT INTO `#@__arctiny` (id,typeid,typeid2,arcrank,channel,senddate,sortrank,mid) SELECT aid,typeid,0,arcrank,channel,senddate,0,mid FROM `$tb` "; $rs = $dsql->ExecuteNoneQuery($sql); @@ -143,7 +143,7 @@ else if ($dopost == 3) { if (!empty($addtable)) $dsql->ExecuteNoneQuery("DELETE FROM `$addtable` WHERE id='{$row['id']}' "); } } - //导入单表模型微数据 + //导入自定义模型微数据 $dsql->SetQuery("SELECT id,addtable FROM `#@__channeltype` WHERE id < -1 "); $dsql->Execute(); $doarray = array(); diff --git a/src/system/archive/archives.class.php b/src/system/archive/archives.class.php index 96e3ca79..fd1521ba 100755 --- a/src/system/archive/archives.class.php +++ b/src/system/archive/archives.class.php @@ -58,7 +58,7 @@ class Archives $this->ChannelUnit = new ChannelUnit($arr['channel'], $aid); $this->TypeLink = new TypeLink($arr['typeid']); if ($this->ChannelUnit->ChannelInfos['issystem'] != -1) { - //如果当前文档不是系统模型,为单表模型 + //如果当前文档不是系统模型,为自定义模型 $query = "SELECT arc.*,tp.reid,tp.typedir,ch.addtable FROM `#@__archives` arc LEFT JOIN `#@__arctype` tp on tp.id=arc.typeid LEFT JOIN `#@__channeltype` as ch on arc.channel = ch.id WHERE arc.id='$aid' "; $this->Fields = $this->dsql->GetOne($query); } else { @@ -101,7 +101,7 @@ class Archives $query = "SELECT * FROM `{$this->ChannelUnit->ChannelInfos['addtable']}` WHERE `aid` = '$aid'"; $this->addTableRow = $this->dsql->GetOne($query); } - //issystem==-1 表示单表模型,单表模型不支持redirecturl这类参数,因此限定文档普通模型才进行下面查询 + //issystem==-1 表示自定义模型,自定义模型不支持redirecturl这类参数,因此限定文档普通模型才进行下面查询 if ($this->ChannelUnit->ChannelInfos['addtable'] != '' && $this->ChannelUnit->ChannelInfos['issystem'] != -1) { if (is_array($this->addTableRow)) { $this->Fields['redirecturl'] = $this->addTableRow['redirecturl']; diff --git a/src/system/archive/sglistview.class.php b/src/system/archive/sglistview.class.php index fbfec793..79b1f0d4 100755 --- a/src/system/archive/sglistview.class.php +++ b/src/system/archive/sglistview.class.php @@ -1,7 +1,7 @@ >dede>> {dede:arclistsg typeid='' row='' flag='h' col='' titlelen='' orderway='' keyword='' limit='0,1'} [field:title/] diff --git a/src/user/inc/inc_catalog_options.php b/src/user/inc/inc_catalog_options.php index 26cddd4e..88d0c805 100755 --- a/src/user/inc/inc_catalog_options.php +++ b/src/user/inc/inc_catalog_options.php @@ -1,7 +1,7 @@