diff --git a/src/admin/album_add.php b/src/admin/album_add.php index 9d8169d9..768760d9 100644 --- a/src/admin/album_add.php +++ b/src/admin/album_add.php @@ -95,7 +95,7 @@ else if ($dopost == 'save') { //处理上传的缩略图 if (empty($ddisremote)) $ddisremote = 0; $litpic = GetDDImage('none', $picname, $ddisremote); - //生成文档ID + //生成文档id $arcID = GetIndexKey($arcrank, $typeid, $sortrank, $channelid, $senddate, $adminid); if (empty($arcID)) { ShowMsg("无法获得主键,因此无法进行后续操作", "-1"); diff --git a/src/admin/archives_add.php b/src/admin/archives_add.php index cfe4f3ad..b9949503 100644 --- a/src/admin/archives_add.php +++ b/src/admin/archives_add.php @@ -96,7 +96,7 @@ else if ($dopost == 'save') { $ddisremote = 0; } $litpic = GetDDImage('none', $picname, $ddisremote); - //生成文档ID + //生成文档id $arcID = GetIndexKey($arcrank, $typeid, $sortrank, $channelid, $senddate, $adminid); if (empty($arcID)) { ShowMsg("无法获得主键,因此无法进行后续操作", "-1"); diff --git a/src/admin/archives_do.php b/src/admin/archives_do.php index 5dbab0e0..16db65cd 100644 --- a/src/admin/archives_do.php +++ b/src/admin/archives_do.php @@ -302,7 +302,7 @@ else if ($dopost == 'moveArchives') { - 文档ID: + 文档id:
移动到目标栏目必须和选定文档频道类型一致,否则程序会自动勿略不符合文档 @@ -868,7 +868,7 @@ else if ($dopost == 'attsDlg') { - 文档ID: + 文档id: diff --git a/src/admin/archives_sg_add.php b/src/admin/archives_sg_add.php index 3dad9b4b..bf3495f4 100644 --- a/src/admin/archives_sg_add.php +++ b/src/admin/archives_sg_add.php @@ -70,7 +70,7 @@ else if ($dopost == 'save') { $userip = GetIP(); if (empty($ddisremote)) $ddisremote = 0; $litpic = GetDDImage('none', $picname, $ddisremote); - //生成文档ID + //生成文档id $arcID = GetIndexKey($arcrank, $typeid, $senddate, $channelid, $senddate, $adminid); if (empty($arcID)) { ShowMsg("无法获得主键,因此无法进行后续操作", "-1"); diff --git a/src/admin/article_add.php b/src/admin/article_add.php index 963d44c1..15cda0ae 100644 --- a/src/admin/article_add.php +++ b/src/admin/article_add.php @@ -104,7 +104,7 @@ else if ($dopost == 'save') { $ddisremote = 0; } $litpic = GetDDImage('none', $picname, $ddisremote); - //生成文档ID + //生成文档id $arcID = GetIndexKey($arcrank, $typeid, $sortrank, $channelid, $senddate, $adminid); if (empty($arcID)) { ShowMsg("无法获得主键,因此无法进行后续操作", "-1"); diff --git a/src/admin/content_sg_list.php b/src/admin/content_sg_list.php index de6cbae6..31ad079b 100644 --- a/src/admin/content_sg_list.php +++ b/src/admin/content_sg_list.php @@ -15,7 +15,7 @@ $mid = isset($mid) ? intval($mid) : 0; if (!isset($keyword)) $keyword = ''; if (!isset($arcrank)) $arcrank = ''; if (empty($cid) && empty($channelid)) { - ShowMsg("该页面必须指定栏目ID或内容模型ID才能浏览", "javascript:;"); + ShowMsg("该页面必须指定栏目id或内容模型ID才能浏览", "javascript:;"); exit(); } //检查权限许可,总权限 diff --git a/src/admin/inc/inc_archives_all.php b/src/admin/inc/inc_archives_all.php index 366e548f..c7d1292c 100644 --- a/src/admin/inc/inc_archives_all.php +++ b/src/admin/inc/inc_archives_all.php @@ -124,7 +124,7 @@ function GetFormItem($ctag) * @access public * @param string $dvalue 值 * @param string $dtype 类型 - * @param int $aid 文档ID + * @param int $aid 文档id * @param string $job 操作类型 * @param string $addvar 增加值 * @return string diff --git a/src/admin/inc/inc_archives_functions.php b/src/admin/inc/inc_archives_functions.php index 21dcbef7..3bb403f0 100644 --- a/src/admin/inc/inc_archives_functions.php +++ b/src/admin/inc/inc_archives_functions.php @@ -224,7 +224,7 @@ function GetRemoteImage($url, $uid = 0) * 检测频道ID * * @access public - * @param int $typeid 栏目ID + * @param int $typeid 栏目id * @param int $channelid 频道ID * @return bool */ @@ -306,7 +306,7 @@ function SpLongBody($mybody, $spsize, $sptag) * 创建指定ID的文档 * * @access public - * @param string $aid 文档ID + * @param string $aid 文档id * @param string $ismakesign 生成标志 * @param int $isremote 是否远程 * @return string diff --git a/src/admin/inc/inc_batchup.php b/src/admin/inc/inc_batchup.php index 5c4a7333..2f01e4b2 100644 --- a/src/admin/inc/inc_batchup.php +++ b/src/admin/inc/inc_batchup.php @@ -12,7 +12,7 @@ * 删除文档信息 * * @access public - * @param string $aid 文档ID + * @param string $aid 文档id * @param string $type 类型 * @param string $onlyfile 删除数据库记录 * @return string diff --git a/src/admin/makehtml_list_action.php b/src/admin/makehtml_list_action.php index 4ec361d6..5a600883 100644 --- a/src/admin/makehtml_list_action.php +++ b/src/admin/makehtml_list_action.php @@ -20,7 +20,7 @@ if (empty($typeid)) $typeid = 0; if (!isset($uppage)) $uppage = 0; if (empty($maxpagesize)) $maxpagesize = 30; $adminID = $cuserLogin->getUserID(); -//检测获取所有栏目ID +//检测获取所有栏目id //普通生成或一键更新时更新所有栏目 if ($gotype == '' || $gotype == 'mkallct') { if ($upnext == 1 || $typeid == 0) { diff --git a/src/admin/soft_add.php b/src/admin/soft_add.php index da2baae9..ed65bcf9 100644 --- a/src/admin/soft_add.php +++ b/src/admin/soft_add.php @@ -94,7 +94,7 @@ else if ($dopost == 'save') { $ddisremote = 0; } $litpic = GetDDImage('none', $picname, $ddisremote); - //生成文档ID + //生成文档id $arcID = GetIndexKey($arcrank, $typeid, $sortrank, $channelid, $senddate, $adminid); if (empty($arcID)) { ShowMsg("无法获得主键,因此无法进行后续操作", "-1"); diff --git a/src/admin/spec_add.php b/src/admin/spec_add.php index b7cbbd16..af7b6fb5 100644 --- a/src/admin/spec_add.php +++ b/src/admin/spec_add.php @@ -67,7 +67,7 @@ else if ($dopost == 'save') { $ddisremote = 0; } $litpic = GetDDImage('none', $picname, $ddisremote); - //生成文档ID + //生成文档id $arcID = GetIndexKey($arcrank, $typeid, $sortrank, $channelid, $senddate, $adminid); if (empty($arcID)) { ShowMsg("无法获得主键,无法进行后续操作", "-1"); diff --git a/src/admin/templets/catalog_add.htm b/src/admin/templets/catalog_add.htm index 03d3ed3d..a5c3f5e4 100644 --- a/src/admin/templets/catalog_add.htm +++ b/src/admin/templets/catalog_add.htm @@ -328,7 +328,7 @@ - +
@@ -387,7 +387,7 @@ 支持变量: - {tid}表示栏目ID,
+ {tid}表示栏目id,
{cid}表示频道模型的'名字ID'( $arr) diff --git a/src/admin/templets/catalog_edit.htm b/src/admin/templets/catalog_edit.htm index 07700326..a0118b2a 100644 --- a/src/admin/templets/catalog_edit.htm +++ b/src/admin/templets/catalog_edit.htm @@ -273,7 +273,7 @@ - +
@@ -331,7 +331,7 @@ 支持变量: - {tid}表示栏目ID,
+ {tid}表示栏目id,
{cid}表示频道模型的'名字ID'( $arr) diff --git a/src/admin/templets/freelist_add.htm b/src/admin/templets/freelist_add.htm index d26d9df6..5ec342b6 100644 --- a/src/admin/templets/freelist_add.htm +++ b/src/admin/templets/freelist_add.htm @@ -225,7 +225,7 @@ - + diff --git a/src/admin/templets/freelist_edit.htm b/src/admin/templets/freelist_edit.htm index 1f14f30a..36a27b16 100644 --- a/src/admin/templets/freelist_edit.htm +++ b/src/admin/templets/freelist_edit.htm @@ -204,7 +204,7 @@ 排列顺序: GetAtt('orderby'); - $sorta = "sortrank,置顶权限值;pubdate,发布时间;senddate,录入时间;click,点击量;id,文档ID,lastpost,最后评论时间;postnum,评论总数;rand,随机获取"; + $sorta = "sortrank,置顶权限值;pubdate,发布时间;senddate,录入时间;click,点击量;id,文档id,lastpost,最后评论时间;postnum,评论总数;rand,随机获取"; $sortas = explode(';',$sorta); foreach($sortas as $v) { @@ -221,7 +221,7 @@ - + diff --git a/src/admin/templets/mychannel_add.htm b/src/admin/templets/mychannel_add.htm index 1afd5378..7fb430d1 100644 --- a/src/admin/templets/mychannel_add.htm +++ b/src/admin/templets/mychannel_add.htm @@ -145,7 +145,7 @@ - 默认栏目ID
+ 默认栏目id
与投稿是唯一性结合可以用模型设计自定义表单 diff --git a/src/admin/templets/mychannel_edit.htm b/src/admin/templets/mychannel_edit.htm index 6779cafc..fee325a3 100644 --- a/src/admin/templets/mychannel_edit.htm +++ b/src/admin/templets/mychannel_edit.htm @@ -108,7 +108,7 @@ ?> 模型性质
- 如果为系统模型将禁止删除,此选项不可修改,对于独立模型,系统强制创建字段aid、栏目ID、发布时间、文档标题 + 如果为系统模型将禁止删除,此选项不可修改,对于独立模型,系统强制创建字段aid、栏目id、发布时间、文档标题 - 默认栏目ID
与投稿是唯一性结合可以用模型设计自定义表单 + 默认栏目id
与投稿是唯一性结合可以用模型设计自定义表单 diff --git a/src/admin/templets/mytag_add.htm b/src/admin/templets/mytag_add.htm index 25c89d90..0db37962 100644 --- a/src/admin/templets/mytag_add.htm +++ b/src/admin/templets/mytag_add.htm @@ -65,10 +65,10 @@ 自定义标记的调用方法:
- {dede:mytag name='标记名称' ismake='是否含板块代码(yes 或 no)' typeid='栏目ID'/}
+ {dede:mytag name='标记名称' ismake='是否含板块代码(yes 或 no)' typeid='栏目id'/}
1、name 标记名称,该项是必须的属性,以下 2、3是可选属性;
2、ismake 默认是 no 表示设定的纯HTML代码, yes 表示含板块标记的代码;
- 3、typeid 表示所属栏目的ID,默认为 0 ,表示所有栏目通用的显示内容,在列表和文档模板中,typeid默认是这个列表或文档本身的栏目ID + 3、typeid 表示所属栏目的ID,默认为 0 ,表示所有栏目通用的显示内容,在列表和文档模板中,typeid默认是这个列表或文档本身的栏目id 所属栏目: diff --git a/src/admin/templets/mytag_tag_guide.htm b/src/admin/templets/mytag_tag_guide.htm index bb89041d..edcc3495 100644 --- a/src/admin/templets/mytag_tag_guide.htm +++ b/src/admin/templets/mytag_tag_guide.htm @@ -134,7 +134,7 @@ - + diff --git a/src/admin/templets/spec_add.htm b/src/admin/templets/spec_add.htm index 18492603..1a19d4eb 100644 --- a/src/admin/templets/spec_add.htm +++ b/src/admin/templets/spec_add.htm @@ -281,7 +281,7 @@ table{border-collapse:separate} 1、文章列表用ID1,ID2,ID3这样形式分开,系统会自动排除不同节点的相同文章;
2、关于单条记录模板里的[field:fieldname/]标记的使用,请参考关于系统帮助关于 arclist 标记的说明;
3、节点ID是节点的唯一标识,专题模板中用{dede:field.note noteid='标识'/}这样来表示单个节点,不指定noteid时为所有节点列表
- 4、正常的情况下,每个节点显示的是“节点文章列表”里的文档,如果您指定为“自动获取模式”,那么必须指定关键词和栏目ID + 4、正常的情况下,每个节点显示的是“节点文章列表”里的文档,如果您指定为“自动获取模式”,那么必须指定关键词和栏目id @@ -322,7 +322,7 @@ table{border-collapse:separate} - 栏目ID: + 栏目id: diff --git a/src/admin/templets/spec_edit.htm b/src/admin/templets/spec_edit.htm index 69b37ef5..d3ad2a49 100644 --- a/src/admin/templets/spec_edit.htm +++ b/src/admin/templets/spec_edit.htm @@ -347,7 +347,7 @@ table{border-collapse:separate} - + @@ -394,7 +394,7 @@ table{border-collapse:separate} - + diff --git a/src/admin/templets/tag_test.htm b/src/admin/templets/tag_test.htm index 58c54969..53646b42 100644 --- a/src/admin/templets/tag_test.htm +++ b/src/admin/templets/tag_test.htm @@ -40,7 +40,7 @@ - 全局标记指的是应用在网站主页、单独页面、频道封面使用的单独的模板标记,在列表或文章模板中,一般只允许调用channel、arclist标记(hotart、coolart、imglist等都是这个标记延伸出来的标记),但是环境变量限定为文章或列表所在的栏目,如果您要测试的标记是在列表或文章中使用,请指定环境变量(栏目ID)
+ 全局标记指的是应用在网站主页、单独页面、频道封面使用的单独的模板标记,在列表或文章模板中,一般只允许调用channel、arclist标记(hotart、coolart、imglist等都是这个标记延伸出来的标记),但是环境变量限定为文章或列表所在的栏目,如果您要测试的标记是在列表或文章中使用,请指定环境变量(栏目id)
各标记的具体含义和用途,请在模板标记参考一章查阅 diff --git a/src/apps/feedback.php b/src/apps/feedback.php index 0cd67275..fbb1062c 100755 --- a/src/apps/feedback.php +++ b/src/apps/feedback.php @@ -34,7 +34,7 @@ $fid = isset($fid) ? intval($fid) : 0; //用来标记回复评论的变量 if (empty($aid) && empty($fid)) { echo json_encode(array( "code" => -1, - "msg" => "文档ID不能为空", + "msg" => "文档id不能为空", "data" => null, )); exit(); diff --git a/src/apps/list.php b/src/apps/list.php index 61ecb163..003734b2 100755 --- a/src/apps/list.php +++ b/src/apps/list.php @@ -14,7 +14,7 @@ $tid = (isset($tid) && is_numeric($tid) ? $tid : 0); $channelid = (isset($channelid) && is_numeric($channelid) ? $channelid : 0); if ($tid == 0 && $channelid == 0) die("dedebiz"); if (isset($TotalResult)) $TotalResult = intval(preg_replace("/[^\d]/", '', $TotalResult)); -//如果指定了内容模型ID但没有指定栏目ID,那么自动获得为这个内容模型的第一个顶级栏目作为频道默认栏目 +//如果指定了内容模型ID但没有指定栏目id,那么自动获得为这个内容模型的第一个顶级栏目作为频道默认栏目 if (!empty($channelid) && empty($tid)) { $tinfos = $dsql->GetOne("SELECT tp.id,ch.issystem FROM `#@__arctype` tp LEFT JOIN `#@__channeltype` ch ON ch.id=tp.channeltype WHERE tp.channeltype='$channelid' And tp.reid=0 order by sortrank asc"); if (!is_array($tinfos)) die(" No catalogs in the channel! "); diff --git a/src/apps/recommend.php b/src/apps/recommend.php index 55e9c29b..6568d3a4 100755 --- a/src/apps/recommend.php +++ b/src/apps/recommend.php @@ -16,7 +16,7 @@ if (isset($arcID)) $aid = $arcID; $arcID = $aid = (isset($aid) && is_numeric($aid) ? $aid : 0); $type = (!isset($type) ? "" : $type); if (empty($aid)) { - ShowMsg("文档ID不能为空", "-1"); + ShowMsg("文档id不能为空", "-1"); exit(); } //读取文档信息 diff --git a/src/install/sql-dfdata.txt b/src/install/sql-dfdata.txt index 52574f1a..83ca3f11 100755 --- a/src/install/sql-dfdata.txt +++ b/src/install/sql-dfdata.txt @@ -4047,7 +4047,7 @@ INSERT INTO `#@__sysconfig` VALUES('1','cfg_basehost','站点网址','1','string ('105','cfg_beian','网站备案号','1','string',''), ('106','cfg_need_typeid2','是否启用副栏目','6','bool','Y'), ('107','cfg_mb_pwdtype','前台密码验证类型:默认32—32位md5,可选:l16—前16位、r16—后16位、m16—中间16位','4','string','32'), -('108','cfg_cache_type','id 文档ID,content标签最终内容,修改此变量后必须更新系统缓存','6','string','id'), +('108','cfg_cache_type','id 文档id,content标签最终内容,修改此变量后必须更新系统缓存','6','string','id'), ('109','cfg_max_face','会员上传头像大小限制KB','3','number','100'), ('110','cfg_typedir_df','栏目网址使用目录名(不显示默认页,则是/a/b/c形式)','2','bool','Y'), ('111','cfg_make_andcat','发表文章后马上更新相关栏目','6','bool','N'), diff --git a/src/install/sql-dftables.txt b/src/install/sql-dftables.txt index 930bce85..d9ef78bd 100755 --- a/src/install/sql-dftables.txt +++ b/src/install/sql-dftables.txt @@ -959,7 +959,7 @@ CREATE TABLE `#@__statistics_detail` ( `device_type` varchar(10) DEFAULT NULL COMMENT '设备类型', `os` varchar(20) DEFAULT NULL COMMENT '操作系统', `url_type` tinyint DEFAULT NULL COMMENT '访问地址类型:0:未知 1:列表 2:内容 3:搜索 4:TAG', - `typeid` int DEFAULT NULL COMMENT '栏目ID', + `typeid` int DEFAULT NULL COMMENT '栏目id', `aid` int DEFAULT NULL COMMENT '内容ID', `value` varchar(50) DEFAULT NULL COMMENT '值', PRIMARY KEY (`id`), diff --git a/src/install/v57sp2_to_v6.txt b/src/install/v57sp2_to_v6.txt index 91198246..315dd47c 100644 --- a/src/install/v57sp2_to_v6.txt +++ b/src/install/v57sp2_to_v6.txt @@ -38,7 +38,7 @@ CREATE TABLE `#@__statistics_detail` ( `device_type` varchar(10) DEFAULT NULL COMMENT '设备类型', `os` varchar(20) DEFAULT NULL COMMENT '操作系统', `url_type` tinyint DEFAULT NULL COMMENT '访问地址类型:0:未知 1:列表 2:内容 3:搜索 4:TAG', - `typeid` int DEFAULT NULL COMMENT '栏目ID', + `typeid` int DEFAULT NULL COMMENT '栏目id', `aid` int DEFAULT NULL COMMENT '内容ID', `value` varchar(50) DEFAULT NULL COMMENT '值', PRIMARY KEY (`id`), diff --git a/src/system/archive/archives.class.php b/src/system/archive/archives.class.php index 78e52723..d35b58f1 100755 --- a/src/system/archive/archives.class.php +++ b/src/system/archive/archives.class.php @@ -45,7 +45,7 @@ class Archives * php5构造函数 * * @access public - * @param int $aid 文档ID + * @param int $aid 文档id * @return string */ function __construct($aid) @@ -516,7 +516,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 "文档id:{$this->Fields['id']} - {$this->TypeLink->TypeInfos['typename']} - {$this->Fields['title']}
"; echo "模板文件不存在,无法解析文档"; exit(); } diff --git a/src/system/archive/freelist.class.php b/src/system/archive/freelist.class.php index 1b9ba370..81c50d42 100755 --- a/src/system/archive/freelist.class.php +++ b/src/system/archive/freelist.class.php @@ -800,8 +800,8 @@ class FreeList * 获得一个指定档案的链接 * * @access public - * @param int $aid 文档ID - * @param int $typeid 栏目ID + * @param int $aid 文档id + * @param int $typeid 栏目id * @param int $timetag 时间戳 * @param string $title 标题 * @param int $ismake 是否生成 diff --git a/src/system/archive/listview.class.php b/src/system/archive/listview.class.php index dab1a69c..cfc300f8 100755 --- a/src/system/archive/listview.class.php +++ b/src/system/archive/listview.class.php @@ -44,7 +44,7 @@ class ListView * php5构造函数 * * @access public - * @param int $typeid 栏目ID + * @param int $typeid 栏目id * @param int $uppage 上一页 * @return string */ @@ -90,7 +90,7 @@ class ListView //设置环境变量 SetSysEnv($this->TypeID, $this->Fields['typename'], 0, '', 'list'); $this->Fields['typeid'] = $this->TypeID; - //获得交叉栏目ID + //获得交叉栏目id if ($this->TypeLink->TypeInfos['cross'] > 0 && $this->TypeLink->TypeInfos['ispart'] == 0) { $selquery = ''; if ($this->TypeLink->TypeInfos['cross'] == 1) { @@ -544,7 +544,7 @@ class ListView * 获得要创建的文件名称规则 * * @access public - * @param int $typeid 栏目ID + * @param int $typeid 栏目id * @param string $wname * @param string $typedir 栏目目录 * @param string $defaultname 默认名称 diff --git a/src/system/archive/partview.class.php b/src/system/archive/partview.class.php index 8c81c5a7..a98900e8 100755 --- a/src/system/archive/partview.class.php +++ b/src/system/archive/partview.class.php @@ -32,7 +32,7 @@ class PartView * php5构造函数 * * @access public - * @param int $typeid 栏目ID + * @param int $typeid 栏目id * @param int $needtypelink 是否需要栏目连接 * @return void */ diff --git a/src/system/archive/rssview.class.php b/src/system/archive/rssview.class.php index 292b39ec..cbbbce5e 100755 --- a/src/system/archive/rssview.class.php +++ b/src/system/archive/rssview.class.php @@ -33,7 +33,7 @@ class RssView * php5构造函数 * * @access public - * @param int $typeid 栏目ID + * @param int $typeid 栏目id * @param int $max_row 最大显示行数 * @return string */ diff --git a/src/system/archive/searchview.class.php b/src/system/archive/searchview.class.php index b46a2955..79854dc0 100755 --- a/src/system/archive/searchview.class.php +++ b/src/system/archive/searchview.class.php @@ -54,7 +54,7 @@ class SearchView * php5构造函数 * * @access public - * @param int $typeid 栏目ID + * @param int $typeid 栏目id * @param string $keyword 关键词 * @param string $orderby 排序 * @param string $achanneltype 频道类型 diff --git a/src/system/archive/sglistview.class.php b/src/system/archive/sglistview.class.php index 8f08af06..417bc550 100755 --- a/src/system/archive/sglistview.class.php +++ b/src/system/archive/sglistview.class.php @@ -45,7 +45,7 @@ class SgListView * php5构造函数 * * @access public - * @param int $typeid 栏目ID + * @param int $typeid 栏目id * @param array $searchArr 检索数组 * @return void */ @@ -85,7 +85,7 @@ class SgListView //设置环境变量 SetSysEnv($this->TypeID, $this->Fields['typename'], 0, '', 'list'); $this->Fields['typeid'] = $this->TypeID; - //获得交叉栏目ID + //获得交叉栏目id if ($this->TypeLink->TypeInfos['cross'] > 0 && $this->TypeLink->TypeInfos['ispart'] == 0) { $selquery = ''; if ($this->TypeLink->TypeInfos['cross'] == 1) { @@ -478,7 +478,7 @@ class SgListView * 获得要创建的文件名称规则 * * @access public - * @param string $typeid 栏目ID + * @param string $typeid 栏目id * @param string $wname * @param string $typedir 栏目目录 * @param string $defaultname 默认名称 diff --git a/src/system/archive/taglist.class.php b/src/system/archive/taglist.class.php index 725bd426..862089e8 100755 --- a/src/system/archive/taglist.class.php +++ b/src/system/archive/taglist.class.php @@ -615,7 +615,7 @@ class TagList * 获得一个指定的频道的链接 * * @access private - * @param int $typeid 栏目ID + * @param int $typeid 栏目id * @param string $typedir 栏目目录 * @param int $isdefault 是否为默认 * @param string $defaultname 默认名称 @@ -632,8 +632,8 @@ class TagList * 获得一个指定档案的链接 * * @access private - * @param int $aid 文档ID - * @param int $typeid 栏目ID + * @param int $aid 文档id + * @param int $typeid 栏目id * @param int $timetag 时间戳 * @param string $title 标题 * @param int $ismake 是否生成静态 diff --git a/src/system/customfields.func.php b/src/system/customfields.func.php index 1ad03d14..151f9947 100755 --- a/src/system/customfields.func.php +++ b/src/system/customfields.func.php @@ -158,7 +158,7 @@ EOT; * @access public * @param string $dvalue 默认值 * @param string $dtype 默认类型 - * @param int $aid 文档ID + * @param int $aid 文档id * @param string $job 操作类型 * @param string $addvar 值 * @param string $admintype 管理类型 diff --git a/src/system/datalistcp.class.php b/src/system/datalistcp.class.php index 99fceb6b..b46df51e 100755 --- a/src/system/datalistcp.class.php +++ b/src/system/datalistcp.class.php @@ -36,7 +36,7 @@ class DataListCP var $isQuery; var $queryTime; /** - * 用指定的文档ID进行初始化 + * 用指定的文档id进行初始化 * * @access public * @param string $tplfile 模板文件 diff --git a/src/system/helpers/archive.helper.php b/src/system/helpers/archive.helper.php index fc2e7367..e10bc8ff 100755 --- a/src/system/helpers/archive.helper.php +++ b/src/system/helpers/archive.helper.php @@ -121,7 +121,7 @@ if (!function_exists('GetTags')) { * * @access public * @param string $arcrank 权限值 - * @param int $typeid 栏目ID + * @param int $typeid 栏目id * @param int $sortrank 排序ID * @param int $channelid 模型ID * @param int $senddate 发布日期 @@ -149,9 +149,9 @@ if (!function_exists('GetIndexKey')) { * 更新微表key及Tag * * @access public - * @param int $id 文档ID + * @param int $id 文档id * @param string $arcrank 权限值 - * @param int $typeid 栏目ID + * @param int $typeid 栏目id * @param int $sortrank 排序ID * @param string $tags tag标签 * @return string diff --git a/src/system/helpers/channelunit.helper.php b/src/system/helpers/channelunit.helper.php index 409114fb..e9b3091d 100755 --- a/src/system/helpers/channelunit.helper.php +++ b/src/system/helpers/channelunit.helper.php @@ -34,8 +34,8 @@ if (!function_exists('GetRankStar')) { * GetFileUrl($aid,$typeid,$timetag,$title,$ismake,$rank,$namerule,$typedir,$money) * 即是不指定站点参数则返回相当对根目录的真实路径 * - * @param int $aid 文档ID - * @param int $typeid 栏目ID + * @param int $aid 文档id + * @param int $typeid 栏目id * @param int $timetag 时间戳 * @param string $title 标题 * @param int $ismake 是否生成 @@ -85,8 +85,8 @@ if (!function_exists('GetFileUrl')) { /** * 获得新文件名(本函数会自动创建目录) * - * @param int $aid 文档ID - * @param int $typeid 栏目ID + * @param int $aid 文档id + * @param int $typeid 栏目id * @param int $timetag 时间戳 * @param string $title 标题 * @param int $ismake 是否生成 @@ -124,8 +124,8 @@ if (!function_exists('GetFileNewName')) { /** * 获得文件相对于主站点根目录的物理文件名(动态网址返回url) * - * @param int $aid 文档ID - * @param int $typeid 栏目ID + * @param int $aid 文档id + * @param int $typeid 栏目id * @param int $timetag 时间戳 * @param string $title 标题 * @param int $ismake 是否生成 @@ -189,7 +189,7 @@ if (!function_exists('GetFileName')) { * 获得指定类目的URL链接 * 对于使用封面文件和单独页面的情况,强制使用默认页名称 * - * @param int $typeid 栏目ID + * @param int $typeid 栏目id * @param string $typedir 栏目目录 * @param int $isdefault 是否默认 * @param string $defaultname 默认名称 @@ -266,7 +266,7 @@ if (!function_exists('MagicVar')) { /** * 获取某个类目的所有上级栏目id * - * @param int $tid 栏目ID + * @param int $tid 栏目id * @return string */ if (!function_exists('GetTopids')) { @@ -280,7 +280,7 @@ if (!function_exists('GetTopids')) { * 获取上级ID列表 * * @access public - * @param string $tid 栏目ID + * @param string $tid 栏目id * @return string */ if (!function_exists('GetParentIds')) { @@ -316,7 +316,7 @@ if (!function_exists('IsParent')) { /** * 获取一个类目的顶级类目id * - * @param string $tid 栏目ID + * @param string $tid 栏目id * @return string */ if (!function_exists('GetTopid')) { @@ -520,9 +520,9 @@ function GetOneTypeUrlA($typeinfos) /** * 设置全局环境变量 * - * @param int $typeid 栏目ID + * @param int $typeid 栏目id * @param string $typename 栏目名称 - * @param string $aid 文档ID + * @param string $aid 文档id * @param string $title 标题 * @param string $curfile 当前文件 * @return string diff --git a/src/system/taglib/arclist.lib.php b/src/system/taglib/arclist.lib.php index 533f5c1a..ca76f9d5 100755 --- a/src/system/taglib/arclist.lib.php +++ b/src/system/taglib/arclist.lib.php @@ -83,7 +83,7 @@ function lib_arclist(&$ctag, &$refObj) * @access public * @param object $refObj 引用对象 * @param object $ctag 标签 - * @param int $typeid 栏目ID + * @param int $typeid 栏目id * @param int $row 调用行数 * @param int $titlelen 字符串长度 * @param int $infolen 描述信息长度 @@ -93,7 +93,7 @@ function lib_arclist(&$ctag, &$refObj) * @param string $orderby 排列顺序 * @param string $keyword 关键词 * @param string $innertext 底层模板 - * @param int $arcid 文档ID + * @param int $arcid 文档id * @param string $idlist ID列表 * @param int $channelid 频道ID * @param string $limit 限制 diff --git a/src/system/taglib/channel/specialtopic.lib.php b/src/system/taglib/channel/specialtopic.lib.php index da5718e5..bbf3c2cb 100755 --- a/src/system/taglib/channel/specialtopic.lib.php +++ b/src/system/taglib/channel/specialtopic.lib.php @@ -31,7 +31,7 @@ function ch_specialtopic($noteinfo, $arcTag, $refObj, $fname = '') $keywords = ''; $stypeid = 0; if (empty($rownum)) $rownum = 40; - //通过关键词和栏目ID自动获取模式 + //通过关键词和栏目id自动获取模式 if ($isauto == 1) { $idlist = ''; $keywords = trim($ctag->GetAtt('keywords')); diff --git a/src/system/taglib/help/arclist.txt b/src/system/taglib/help/arclist.txt index 2221a9cd..7e0e9f96 100755 --- a/src/system/taglib/help/arclist.txt +++ b/src/system/taglib/help/arclist.txt @@ -7,7 +7,7 @@ imgwidth='' imgheight='' listtype='' orderby='' keyword='' limit='0,1'} >>dede>> col='' 分多少列显示(默认为单列) row='10' 返回文档列表总数 -typeid='' 栏目ID,在列表模板和档案模板中一般不需要指定,在封面模板中允许用","分开表示多个栏目; +typeid='' 栏目id,在列表模板和档案模板中一般不需要指定,在封面模板中允许用","分开表示多个栏目; titlelen = '30' 标题长度 等同于titlelength infolen='160' 表示内容简介长度 等同于infolength imgwidth='120' 缩略图宽度 @@ -23,8 +23,8 @@ orderby='sortrank' 文档排序方式 § orderby='rand' 随机获得指定条件的文档列表 keyword='' 含有指定关键词的文档列表,多个关键词用","分 innertext = '' 单条记录样式 -aid='' 指定文档ID -idlist ='' 提取特定文档(文档ID) +aid='' 指定文档id +idlist ='' 提取特定文档(文档id) isweight = 'n' 开启按照权重排序,默认为n/N,如果设为y/Y,则内容会按照weight字段排序,数值越小越靠前 channelid 频道ID limit='' 起始,结束 表示限定的记录范围(如:limit='1,2') diff --git a/src/system/taglib/help/arclistsg.txt b/src/system/taglib/help/arclistsg.txt index 67579702..1efc98bb 100755 --- a/src/system/taglib/help/arclistsg.txt +++ b/src/system/taglib/help/arclistsg.txt @@ -6,13 +6,13 @@ >>dede>> col='' 分多少列显示(默认为单列),5.3版中本属性无效,要多列显示的可用div+css实现 row='10' 返回文档列表总数 -typeid='' 栏目ID,在列表模板和档案模板中一般不需要指定,在封面模板中允许用","分开表示多个栏目; +typeid='' 栏目id,在列表模板和档案模板中一般不需要指定,在封面模板中允许用","分开表示多个栏目; titlelen = '30' 标题长度 等同于titlelength orderwey='desc'或'asc' 排序方向 keyword= 含有指定关键词的文档列表,多个关键词用","分 innertext = "[field:title/]" 单条记录样式(innertext是放在标签之间的代码) -arcid='' 指定文档ID -idlist ='' 提取特定文档(文档ID) +arcid='' 指定文档id +idlist ='' 提取特定文档(文档id) channelid = '' 频道ID limit='' 起始,结束 表示限定的记录范围(如:limit='1,2') flag = 'h' 自定义属性值:头条[h]推荐[c]图片[p]幻灯[f]滚动[s]跳转[j]图文[a]加粗[b] diff --git a/src/system/taglib/help/channel.txt b/src/system/taglib/help/channel.txt index 30517f29..e655c5ba 100755 --- a/src/system/taglib/help/channel.txt +++ b/src/system/taglib/help/channel.txt @@ -4,8 +4,8 @@
  • [field:typename/]
  • {/dede:channel} >>dede>> -typeid = '0' 栏目ID -reid = '0' 上级栏目ID +typeid = '0' 栏目id +reid = '0' 上级栏目id row = '100' 调用栏目数 col = '1' 分多少列显示(默认为单列) type = 'son' son表示下级栏目,self表示同级栏目,top顶级栏目 diff --git a/src/system/taglib/help/mytag.txt b/src/system/taglib/help/mytag.txt index 424b69c4..ac96c503 100755 --- a/src/system/taglib/help/mytag.txt +++ b/src/system/taglib/help/mytag.txt @@ -2,5 +2,5 @@ >>dede>> {dede:mytag typeid='0' name=''/} >>dede>> -typeid = '0' 栏目ID 0为全站栏目 +typeid = '0' 栏目id 0为全站栏目 name = '' 标记名 \ No newline at end of file diff --git a/src/system/taglib/help/type.txt b/src/system/taglib/help/type.txt index 86d182a0..d6c686e1 100755 --- a/src/system/taglib/help/type.txt +++ b/src/system/taglib/help/type.txt @@ -4,4 +4,4 @@ [field:typename/] {/dede:type} >>dede>> -typeid='' 指定栏目ID \ No newline at end of file +typeid='' 指定栏目id \ No newline at end of file diff --git a/src/system/typelink/typelink.class.php b/src/system/typelink/typelink.class.php index e9e3937c..2232929c 100755 --- a/src/system/typelink/typelink.class.php +++ b/src/system/typelink/typelink.class.php @@ -234,7 +234,7 @@ class TypeLink * 逻辑递归 * * @access public - * @param int $id 栏目ID + * @param int $id 栏目id * @param int $step 步进标志 * @param int $oper 操作权限 * @return string @@ -262,7 +262,7 @@ class TypeLink * $typetype 的值为:sun 下级分类 self 同级分类 top 顶级分类 * * @access public - * @param int $typeid 栏目ID + * @param int $typeid 栏目id * @param int $reid 所属ID * @param int $row 栏目行数 * @param string $typetype 栏目类型 diff --git a/src/system/typelink/typeunit.class.admin.php b/src/system/typelink/typeunit.class.admin.php index c6def251..18fbf455 100755 --- a/src/system/typelink/typeunit.class.admin.php +++ b/src/system/typelink/typeunit.class.admin.php @@ -44,7 +44,7 @@ class TypeUnit function Close() { } - //获取所有栏目的文档ID数 + //获取所有栏目的文档id数 function UpdateCatalogNum() { $this->dsql->SetQuery("SELECT typeid,count(typeid) as dd FROM `#@__arctiny` WHERE arcrank <>-2 group by typeid"); @@ -165,7 +165,7 @@ class TypeUnit * 获得子类目的递归调用 * * @access public - * @param int $id 栏目ID + * @param int $id 栏目id * @param string $step 层级标志 * @return void */ @@ -249,7 +249,7 @@ class TypeUnit * 返回与某个目相关的下级目录的类目ID列表(删除类目或文章时调用) * * @access public - * @param int $id 栏目ID + * @param int $id 栏目id * @param int $channel 频道ID * @return array */ @@ -276,7 +276,7 @@ class TypeUnit * 删除类目 * * @access public - * @param int $id 栏目ID + * @param int $id 栏目id * @param bool $isDelFile 是否删除文件 * @return string */ diff --git a/src/system/typelink/typeunit.class.menu.php b/src/system/typelink/typeunit.class.menu.php index 006bad24..0337a1d0 100755 --- a/src/system/typelink/typeunit.class.menu.php +++ b/src/system/typelink/typeunit.class.menu.php @@ -119,7 +119,7 @@ class TypeUnit * 获得子类目的递归调用 * * @access public - * @param int $id 栏目ID + * @param int $id 栏目id * @param string $step 层级标志 * @param bool $needcheck 权限 * @return string diff --git a/src/system/typelink/typeunit.class.selector.php b/src/system/typelink/typeunit.class.selector.php index 68bb3acf..89350916 100755 --- a/src/system/typelink/typeunit.class.selector.php +++ b/src/system/typelink/typeunit.class.selector.php @@ -93,7 +93,7 @@ class TypeUnitSelector * 获得子类目的递归调用 * * @access public - * @param int $id 栏目ID + * @param int $id 栏目id * @param int $channel 频道ID * @param int $soncat 子级分类 * @return string diff --git a/src/system/userlogin.class.php b/src/system/userlogin.class.php index 5343b2a3..076d16d0 100755 --- a/src/system/userlogin.class.php +++ b/src/system/userlogin.class.php @@ -123,10 +123,10 @@ function AddMyAddon($fid, $filename) fclose($fp); } /** - * 清理附件,如果关连的文档ID,先把上一批附件传给这个文档ID + * 清理附件,如果关连的文档id,先把上一批附件传给这个文档id * * @access public - * @param string $aid 文档ID + * @param string $aid 文档id * @param string $title 文档标题 * @return empty */ @@ -406,7 +406,7 @@ class userLogin * 获得某id的所有下级id * * @access public - * @param int $id 栏目ID + * @param int $id 栏目id * @param int $channel 频道ID * @param int $addthis 是否加入当前这个栏目 * @return string @@ -426,7 +426,7 @@ function GetSonIdsUL($id, $channel = 0, $addthis = TRUE) * 递归逻辑 * * @access public - * @param int $id 栏目ID + * @param int $id 栏目id * @param array $sArr 缓存数组 * @param int $channel 频道ID * @param int $addthis 是否加入当前这个栏目 diff --git a/src/theme/plus/heightsearch.htm b/src/theme/plus/heightsearch.htm index 1793f25f..35658ec2 100644 --- a/src/theme/plus/heightsearch.htm +++ b/src/theme/plus/heightsearch.htm @@ -66,7 +66,7 @@ - + diff --git a/src/user/album_add.php b/src/user/album_add.php index 52febe04..23a853c3 100755 --- a/src/user/album_add.php +++ b/src/user/album_add.php @@ -112,7 +112,7 @@ else if ($dopost == 'save') { exit(); } } - //生成文档ID + //生成文档id $arcID = GetIndexKey($arcrank, $typeid, $sortrank, $channelid, $senddate, $mid); if (empty($arcID)) { ShowMsg("无法获得主键,因此无法进行后续操作", "-1"); diff --git a/src/user/archives_add.php b/src/user/archives_add.php index accb37f6..ee10e3d5 100755 --- a/src/user/archives_add.php +++ b/src/user/archives_add.php @@ -84,7 +84,7 @@ else if ($dopost == 'save') { } //处理图片文档的自定义属性 if ($litpic != '') $flag = 'p'; - //生成文档ID + //生成文档id $arcID = GetIndexKey($arcrank, $typeid, $sortrank, $channelid, $senddate, $mid); if (empty($arcID)) { ShowMsg("无法获得主键,因此无法进行后续操作", "-1"); diff --git a/src/user/archives_sg_add.php b/src/user/archives_sg_add.php index 2823ceb2..04495557 100755 --- a/src/user/archives_sg_add.php +++ b/src/user/archives_sg_add.php @@ -130,7 +130,7 @@ else if ($dopost == 'save') { exit(); } } - //生成文档ID + //生成文档id $arcID = GetIndexKey($arcrank, $typeid, $sortrank, $channelid, $senddate, $mid); if (empty($arcID)) { ShowMsg("无法获得主键,因此无法进行后续操作", "-1"); diff --git a/src/user/article_add.php b/src/user/article_add.php index dfcc71b5..e9edba0d 100755 --- a/src/user/article_add.php +++ b/src/user/article_add.php @@ -72,7 +72,7 @@ else if ($dopost == 'save') { } $body = AnalyseHtmlBody($body, $description); $body = HtmlReplace($body, -1); - //生成文档ID + //生成文档id $arcID = GetIndexKey($arcrank, $typeid, $sortrank, $channelid, $senddate, $mid); if (empty($arcID)) { ShowMsg("无法获得主键,因此无法进行后续操作", "-1"); diff --git a/src/user/inc/inc_batchup.php b/src/user/inc/inc_batchup.php index 5e1de5ce..e5350648 100755 --- a/src/user/inc/inc_batchup.php +++ b/src/user/inc/inc_batchup.php @@ -14,7 +14,7 @@ require_once(DEDEINC."/channelunit.func.php"); * 删除文档 * * @access public - * @param int $aid 文档ID + * @param int $aid 文档id * @return bool */ function DelArc($aid) @@ -122,7 +122,7 @@ function DelArc($aid) * 删除不带主表内容模型的数据 * * @access public - * @param int $aid 文档ID + * @param int $aid 文档id * @return string */ function DelArcSg($aid) diff --git a/src/user/soft_add.php b/src/user/soft_add.php index 9585c263..48b64c46 100755 --- a/src/user/soft_add.php +++ b/src/user/soft_add.php @@ -55,7 +55,7 @@ function _SaveArticle(){ } else if ($dopost == 'save') { $description = ''; include(DEDEMEMBER.'/inc/archives_check.php'); - //生成文档ID + //生成文档id $arcID = GetIndexKey($arcrank, $typeid, $sortrank, $channelid, $senddate, $mid); if (empty($arcID)) { ShowMsg("无法获得主键,因此无法进行后续操作", "-1");