diff --git a/src/system/taglib/adminname.lib.php b/src/system/taglib/adminname.lib.php index b05f06a3..55ac5ac2 100755 --- a/src/system/taglib/adminname.lib.php +++ b/src/system/taglib/adminname.lib.php @@ -10,7 +10,7 @@ if (!defined('DEDEINC')) exit ('dedebiz'); * @link https://www.dedebiz.com */ /** - * 编辑标签 + * adminname解析标签 * * @access public * @param object $ctag 解析标签 diff --git a/src/system/taglib/arclist.lib.php b/src/system/taglib/arclist.lib.php index 486d8e30..717956d4 100755 --- a/src/system/taglib/arclist.lib.php +++ b/src/system/taglib/arclist.lib.php @@ -396,12 +396,10 @@ function lib_arclistDone (&$refObj, &$ctag, $typeid=0, $row=10, $col=1, $titlele 'weight' => $row['weight'], 'arclist' => $liststr ); - }//if hasRow - else { + } else { $artlist .= ''; } - //进行判断,如果启用排序则文档输出为重新排序后的文档 - //var_dump($isweight=='y' && count($orderWeight) == $line); + //进行判断,如果启用排序则文档输出为重新排序后的文档var_dump($isweight=='y' && count($orderWeight) == $line); $isweight = strtolower($isweight); if ($isweight == 'y') { $artlist = ''; @@ -412,14 +410,14 @@ function lib_arclistDone (&$refObj, &$ctag, $typeid=0, $row=10, $col=1, $titlele } } if ($col > 1) $artlist .= "\r\n"; - }//Loop Col + } if ($col > 1) $i += $col - 1; if ($col > 1) $artlist .= "\r\n"; - }//loop line + } if ($col > 1) $artlist .= "\r\n"; $dsql->FreeResult("al"); $idsstr = join(',', $ids); - //保存ID缓存 + //保存id缓存 if ($needSaveCache) { if ($idsstr == '') $idsstr = '0'; if ($cfg_cache_type == 'content' && $idsstr != '0') { diff --git a/src/system/taglib/arclistsg.lib.php b/src/system/taglib/arclistsg.lib.php index a0d680f0..3e6d33f2 100755 --- a/src/system/taglib/arclistsg.lib.php +++ b/src/system/taglib/arclistsg.lib.php @@ -1,7 +1,7 @@ GetResult()."\r\n"; - } //if hasRow - else { + } else { $artlist .= ''; } if ($col > 1) $artlist .= "\r\n"; - } //Loop Col + } if ($col > 1) $i += $col - 1; - } //loop line + } $dsql->FreeResult("al"); - //保存ID缓存 + //保存id缓存 $idsstr = join(',', $ids); if ($idsstr != '' && $needcache && $cfg_index_cache > 0) { $mintime = time() - ($cfg_index_cache * 3600); diff --git a/src/system/taglib/autochannel.lib.php b/src/system/taglib/autochannel.lib.php index 9180f2d1..d22a25b6 100755 --- a/src/system/taglib/autochannel.lib.php +++ b/src/system/taglib/autochannel.lib.php @@ -1,7 +1,7 @@ 1) $likeType .= "\r\n"; $GLOBALS['autoindex']++; - }//Loop Col + } if ($col > 1) { $i += $col - 1; $likeType .= "\r\n"; } - }//Loop for $i + } $dsql->FreeResult(); if ($cacheid != '') { WriteCacheBlock($cacheid, $likeType); diff --git a/src/system/taglib/channelartlist.lib.php b/src/system/taglib/channelartlist.lib.php index bb4f1506..1543b265 100755 --- a/src/system/taglib/channelartlist.lib.php +++ b/src/system/taglib/channelartlist.lib.php @@ -1,7 +1,7 @@ GetInnerText()) == '') $innertext = "
  • [field:typename/]
  • "; + if (trim($ctag->GetInnerText()) == '') $innertext = "[field:typename/]"; else $innertext = $ctag->GetInnerText(); if (!isset($type)) $type = ''; $dtp = new DedeTagParse(); @@ -34,7 +34,7 @@ function lib_flinktype(&$ctag, &$refObj) } $DedeBIZ = new stdClass; $DedeBIZ->id = 999; - $DedeBIZ->typename = 'Dede链'; + $DedeBIZ->typename = 'DedeBIZ'; if ($type == 'DedeBIZ') $row[] = $DedeBIZ; foreach ($row as $key => $value) { if (is_array($dtp->CTags)) { diff --git a/src/system/taglib/help/arclistsg.txt b/src/system/taglib/help/arclistsg.txt index 3d3b799a..747bd281 100755 --- a/src/system/taglib/help/arclistsg.txt +++ b/src/system/taglib/help/arclistsg.txt @@ -1,4 +1,4 @@ -自定义模型列表标签 +自定义文档列表标签 >>dede>> {dede:arclistsg typeid='' row='' col='' titlelen='' flag='h' orderway='' keyword='' limit='0,1'} [field:title/] diff --git a/src/system/taglib/help/autochannel.txt b/src/system/taglib/help/autochannel.txt index e0459eb1..f8eb3061 100755 --- a/src/system/taglib/help/autochannel.txt +++ b/src/system/taglib/help/autochannel.txt @@ -1,4 +1,4 @@ -按排序位置获取单个栏目链接信息 +指定排序栏目信息标签 >>dede>> {dede:autochannel partsort='' typeid=''}{/dede:autochannel} >>dede>> diff --git a/src/system/taglib/help/channelartlist.txt b/src/system/taglib/help/channelartlist.txt index bc44a59b..65677bdf 100755 --- a/src/system/taglib/help/channelartlist.txt +++ b/src/system/taglib/help/channelartlist.txt @@ -1,4 +1,4 @@ -当前栏目下级栏目文档列表标签 +当前栏目列表标签 >>dede>> {dede:channelartlist typeid='' notypeid='' row='6'}