Pārlūkot izejas kodu

删除垃圾注释

develop
叙述、别离 pirms 2 mēnešiem
vecāks
revīzija
d6cd01c3ad
31 mainītis faili ar 56 papildinājumiem un 57 dzēšanām
  1. +1
    -1
      src/admin/catalog_add.php
  2. +1
    -2
      src/admin/catalog_edit.php
  3. +1
    -1
      src/admin/inc/inc_batchup.php
  4. +1
    -1
      src/admin/inc/inc_menu_func.php
  5. +4
    -4
      src/system/archive/archives.class.php
  6. +1
    -1
      src/system/archive/freelist.class.php
  7. +1
    -1
      src/system/archive/listview.class.php
  8. +1
    -1
      src/system/archive/partview.class.php
  9. +1
    -1
      src/system/archive/searchview.class.php
  10. +1
    -1
      src/system/archive/sglistview.class.php
  11. +1
    -1
      src/system/archive/sgpage.class.php
  12. +2
    -2
      src/system/archive/specview.class.php
  13. +1
    -1
      src/system/archive/taglist.class.php
  14. +1
    -1
      src/system/channelunit.class.php
  15. +1
    -1
      src/system/dedeatt.class.php
  16. +3
    -3
      src/system/dedecollection.func.php
  17. +1
    -1
      src/system/dedeimage.class.php
  18. +3
    -3
      src/system/dedemodule.class.php
  19. +8
    -8
      src/system/dedetag.class.php
  20. +5
    -5
      src/system/dedetemplate.class.php
  21. +1
    -1
      src/system/dedevote.class.php
  22. +1
    -1
      src/system/diyform.class.php
  23. +1
    -1
      src/system/libraries/dedehttpdown.class.php
  24. +1
    -1
      src/system/libraries/mail.class.php
  25. +1
    -1
      src/system/libraries/oxwindow.class.php
  26. +4
    -4
      src/system/libraries/splitword.class.php
  27. +1
    -1
      src/system/memberlogin.class.php
  28. +4
    -4
      src/system/typelink/typelink.class.php
  29. +1
    -1
      src/system/typelink/typeunit.class.admin.php
  30. +1
    -1
      src/system/typelink/typeunit.class.menu.php
  31. +1
    -1
      src/system/typelink/typeunit.class.selector.php

+ 1
- 1
src/admin/catalog_add.php Parādīt failu

@@ -184,7 +184,7 @@ if ($dopost == 'quick') {
}
ShowMsg("成功创建一个栏目", "catalog_main.php");
exit();
}//End dopost==save
}
//获取从父目录继承的默认参数
if ($dopost == '') {
$channelid = 1;


+ 1
- 2
src/admin/catalog_edit.php Parādīt failu

@@ -56,8 +56,7 @@ if ($dopost == "save") {
UpDateCatCache();
ShowMsg("成功修改一个栏目", "catalog_main.php");
exit();
} //End Save Action
else if ($dopost == "savetime") {
} else if ($dopost == "savetime") {
$uptopsql = '';
$slinks = " id IN (".GetSonIds($id).")";
//顶级栏目二级域名根目录处理


+ 1
- 1
src/admin/inc/inc_batchup.php Parādīt failu

@@ -57,7 +57,7 @@ function DelArc($aid, $type = 'ON', $onlyfile = FALSE, $recycle = 0)
//$issystem==-1是自定义模型,不使用回收站
if ($issystem == -1) $type = 'OK';
if (!is_array($arcRow)) return FALSE;
/** 删除到回收站 **/
//删除到回收站
if ($cfg_delete == 'Y' && $type == 'ON') {
$dsql->ExecuteNoneQuery("UPDATE `$maintable` SET arcrank='-2' WHERE id='$aid' ");
$dsql->ExecuteNoneQuery("UPDATE `#@__arctiny` SET `arcrank` = '-2' WHERE id = '$aid';");


+ 1
- 1
src/admin/inc/inc_menu_func.php Parādīt failu

@@ -60,5 +60,5 @@ function GetMenus($userrank, $topos = 'main')
echo $footTemplet;
}
}
}//End Function
}
?>

+ 4
- 4
src/system/archive/archives.class.php Parādīt failu

@@ -183,7 +183,7 @@ class Archives
$this->Fields[$nk] = $this->ReplaceKeyword($this->Fields['keywords'], $this->Fields[$nk]);
}
}
} //End foreach
}
}
//设置全局环境变量
$this->Fields['typename'] = $this->TypeLink->TypeInfos['typename'];
@@ -631,8 +631,8 @@ class Archives
}
}
$this->dtp->Assign($i, $res);
} //end case
} //结束模板循环
}
}
}
}
/**
@@ -1005,7 +1005,7 @@ class Archives
$body = preg_replace("#(<a(.*))-\]-(.*)-\[-(\/a>)#isU", '\\1>\\3<\\4', $body);
return $body;
}
}//End Archives
}
function _highlightkeywords($matches)
{
return _highlight($matches[2], $GLOBALS['_dd_karr'], $GLOBALS['_dd_kaarr'], $matches[1]);


+ 1
- 1
src/system/archive/freelist.class.php Parādīt failu

@@ -855,5 +855,5 @@ class FreeList
}
return $nowurl;
}
}//End Class
}
?>

+ 1
- 1
src/system/archive/listview.class.php Parādīt failu

@@ -1218,5 +1218,5 @@ class ListView
}
return $nowurl;
}
}//End Class
}
?>

+ 1
- 1
src/system/archive/partview.class.php Parādīt failu

@@ -231,5 +231,5 @@ class PartView
function Close()
{
}
}//End Class
}
?>

+ 1
- 1
src/system/archive/searchview.class.php Parādīt failu

@@ -721,5 +721,5 @@ class SearchView
}
return $nowurl;
}
}//End Class
}
?>

+ 1
- 1
src/system/archive/sglistview.class.php Parādīt failu

@@ -1046,5 +1046,5 @@ class SgListView
}
return $nowurl;
}
}//End Class
}
?>

+ 1
- 1
src/system/archive/sgpage.class.php Parādīt failu

@@ -99,5 +99,5 @@ class sgpage
function Close()
{
}
}//End Class
}
?>

+ 2
- 2
src/system/archive/specview.class.php Parādīt failu

@@ -219,7 +219,7 @@ class SpecView
}
$this->dtp->Assign($tagid, $this->GetPageListST($list_len));
}
} //End foreach
}
$makeFile = $GLOBALS['cfg_special']."/spec_".$this->PageNo.$GLOBALS['art_shortname'];
$murl = $makeFile;
$makeFile = $GLOBALS['cfg_basedir'].$makeFile;
@@ -568,5 +568,5 @@ class SpecView
}
return $nowurl;
}
}//End Class
}
?>

+ 1
- 1
src/system/archive/taglist.class.php Parādīt failu

@@ -666,5 +666,5 @@ class TagList
}
return $nowurl;
}
}//End Class
}
?>

+ 1
- 1
src/system/channelunit.class.php Parādīt failu

@@ -198,5 +198,5 @@ class ChannelUnit
function Close()
{
}
}//End class ChannelUnit
}
?>

+ 1
- 1
src/system/dedeatt.class.php Parādīt failu

@@ -66,7 +66,7 @@ class DedeAtt
{
return $this->Count + 1;
}
}//End DedeAtt
}
/**
* 属性解析器
* function c____DedeAttParse();


+ 3
- 3
src/system/dedecollection.func.php Parādīt failu

@@ -486,9 +486,9 @@ function GetUrlFromListRule($regxurl = '', $handurl = '', $startid = 0, $endid =
}
}
}
} //End 匹配多栏目
} //End使用规则匹配的情况
}
}
}
return $lists;
}//End
}
?>

+ 1
- 1
src/system/dedeimage.class.php Parādīt failu

@@ -271,5 +271,5 @@ class DedeImage
}
}
}
}//End Class
}
?>

+ 3
- 3
src/system/dedemodule.class.php Parādīt failu

@@ -241,7 +241,7 @@ class DedeModule
while (!feof($fp)) {
$line = fgets($fp, 1024);
if (!$start) {
//2011-6-7 修复模块打包程序中上传程序安装生成为空白文件
//2011-6-7修复模块打包程序中上传程序安装生成为空白文件
if (preg_match("#<{$ntype}>#i", $line)) $start = TRUE;
} else {
if (preg_match("#<\/{$ntype}#i", $line)) break;
@@ -291,7 +291,7 @@ class DedeModule
*
* @access public
* @param string $hashcode hash码
* @return bool 如果存在则返回True,否则为False
* @return bool 如果存在则返回True否则为False
*/
function HasModule($hashcode)
{
@@ -582,5 +582,5 @@ class DedeModule
unset($this->modules);
unset($this->fileListNames);
}
}//End Class
}
?>

+ 8
- 8
src/system/dedetag.class.php Parādīt failu

@@ -16,7 +16,7 @@ class DedeTag
var $InnerText = ''; //标记之间的文本
var $StartPos = 0; //标记起始位置
var $EndPos = 0; //标记结束位置
var $CAttribute = null; //标记属性描述,即是class DedeAttribute
var $CAttribute = null; //标记属性描述,即是class DedeAttribute
var $TagValue = ''; //标记的值
var $TagID = 0;
/**
@@ -85,7 +85,7 @@ class DedeTagParse
var $TempMkTime = 0;
var $CacheFile = '';
var $SourceString = ''; //模板字符串
var $CTags = array(); //标记集合
var $CTags = array(); //标记集合
var $Count = -1; //$Tags标记个数
var $refObj = ''; //引用当前模板类的对象
var $taghashfile = '';
@@ -385,7 +385,7 @@ class DedeTagParse
return -1;
}
/**
* 获得指定名称的CTag数据类(如果有多个同名的Tag,则取没有被分配文档的第一个Tag)
* 获得指定名称的CTag数据类,如果有多个同名的Tag,则取没有被分配文档的第一个Tag
*
* @access public
* @param string $str 字符串
@@ -602,7 +602,7 @@ class DedeTagParse
return $ResultString;
}
/**
* 把分析模板输出到一个字符串中,并返回
* 把分析模板输出到一个字符串中并返回
*
* @access public
* @return string
@@ -940,7 +940,7 @@ class DedeAttributeParse
$hasAttribute = FALSE;
$strLen = strlen($this->sourceString);
$this->cAttributes->Items = array();
//获得Tag的名称,解析到 cAtt->GetAtt('tagname')
//获得Tag的名称,解析到cAtt->GetAtt('tagname')中
for ($i = 0; $i < $strLen; $i++) {
if ($this->sourceString[$i] == ' ') {
$this->cAttributes->Count++;
@@ -967,7 +967,7 @@ class DedeAttributeParse
return;
}
$tmpvalue = '';
//如果字符串含有属性值,遍历源字符串,并获得各属性
//如果字符串含有属性值,遍历源字符串并获得各属性
for ($i; $i < $strLen; $i++) {
$d = $this->sourceString[$i];
//查找属性名称
@@ -1013,13 +1013,13 @@ class DedeAttributeParse
$tmpvalue .= $d;
}
}
}//for
}
//最后一个属性给值
if ($tmpatt != '') {
$this->cAttributes->Count++;
$this->cAttributes->Items[$tmpatt] = trim($tmpvalue);
}
//print_r($this->cAttributes->Items);
} //end func
}
}
?>

+ 5
- 5
src/system/dedetemplate.class.php Parādīt failu

@@ -190,7 +190,7 @@ class DedeTemplate
$this->__construct($templatedir, $refDir);
}
/**
* 设定本类自身实例的类引用和使用本类的类实例(如果在类中使用本模板引擎,后一参数一般为$this)
* 设定本类自身实例的类引用和使用本类的类实例如果在类中使用本模板引擎,后一参数一般为$this
*
* @access public
* @param object $refObj 实例对象
@@ -1032,7 +1032,7 @@ class TagAttribute
{
return $this->count + 1;
}
}//End Class
}
/**
* 属性解析器
* function C__TagAttributeParse();
@@ -1158,14 +1158,14 @@ class TagAttributeParse
$tmpvalue .= $d;
}
}
} //for
}
//最后一个属性的给值
if ($tmpatt != '') {
$this->cAttributes->count++;
$this->cAttributes->items[$tmpatt] = trim($tmpvalue);
} //print_r($this->cAttributes->items);
} //end func
} //End Class
}
}
/**
* 私有标签编译,主要用于if标签内的字符串解析
*


+ 1
- 1
src/system/dedevote.class.php Parādīt failu

@@ -237,5 +237,5 @@ class DedeVote
$res .= "</table>\r\n";
return $res;
}
}//End Class
}
?>

+ 1
- 1
src/system/diyform.class.php Parādīt failu

@@ -104,5 +104,5 @@ class diyform
}
return $fields;
}
}//End Class
}
?>

+ 1
- 1
src/system/libraries/dedehttpdown.class.php Parādīt failu

@@ -627,5 +627,5 @@ class DedeHttpDown
$okurl = preg_replace("/\/{1,}/", "/", $okurl);
return $proto.$okurl;
}
}//End Class
}
?>

+ 1
- 1
src/system/libraries/mail.class.php Parādīt failu

@@ -258,5 +258,5 @@ class smtp
echo $message;
}
}
}//End Class
}
?>

+ 1
- 1
src/system/libraries/oxwindow.class.php Parādīt failu

@@ -216,7 +216,7 @@ class OxWindow
$ctp->Display();
$ctp->Clear();
}
}//End Class
}
/**
* 显示一个不带表单的普通提示
*


+ 4
- 4
src/system/libraries/splitword.class.php Parādīt failu

@@ -466,9 +466,9 @@ class SplitWord
$this->simpleResult[$s]['t'] = 5;
$s++;
}
}//2byte symbol
}//end 2byte char
}//end for
}
}
}
//处理分词后的结果
$this->_sort_finally_result();
}
@@ -782,7 +782,7 @@ class SplitWord
}
$j++;
}
}//end for
}
$smarr = $newarr;
}
/**


+ 1
- 1
src/system/memberlogin.class.php Parādīt failu

@@ -559,5 +559,5 @@ class MemberLogin
}
return $result;
}
}//End Class
}
?>

+ 4
- 4
src/system/typelink/typelink.class.php Parādīt failu

@@ -332,19 +332,19 @@ class TypeLink
$likeType .= "</td>\r\n";
}
$GLOBALS['autoindex']++;
}//Loop Col
}
if ($col > 1) {
$i += $col - 1;
}
if ($col > 1) {
$likeType .= "</tr>\r\n";
}
}//Loop for $i
}
if ($col > 1) {
$likeType .= "</table>\r\n";
}
$this->dsql->FreeResult();
return $likeType;
}//GetChannel
}//End Class
}
}
?>

+ 1
- 1
src/system/typelink/typeunit.class.admin.php Parādīt failu

@@ -405,5 +405,5 @@ tpl;
$dh->close();
return (1);
}
}//End Class
}
?>

+ 1
- 1
src/system/typelink/typeunit.class.menu.php Parādīt failu

@@ -164,5 +164,5 @@ class TypeUnit
}
}
}
}//End Class
}
?>

+ 1
- 1
src/system/typelink/typeunit.class.selector.php Parādīt failu

@@ -127,5 +127,5 @@ class TypeUnitSelector
}
}
}
}//End Class
}
?>

Notiek ielāde…
Atcelt
Saglabāt