diff --git a/src/admin/makehtml_list_action.php b/src/admin/makehtml_list_action.php
index 906b2df3..142eec8e 100644
--- a/src/admin/makehtml_list_action.php
+++ b/src/admin/makehtml_list_action.php
@@ -12,7 +12,6 @@ require_once(dirname(__FILE__)."/config.php");
CheckPurview('sys_MakeHtml');
require_once(DEDEDATA."/cache/inc_catalog_base.inc");
require_once(DEDEINC."/channelunit.func.php");
-
if (!isset($upnext)) $upnext = 1;
if (empty($gotype)) $gotype = '';
if (empty($pageno)) $pageno = 0;
@@ -21,7 +20,6 @@ if (empty($typeid)) $typeid = 0;
if (!isset($uppage)) $uppage = 0;
if (empty($maxpagesize)) $maxpagesize = 50;
$adminID = $cuserLogin->getUserID();
-
//检测获取所有栏目ID
//普通生成或一键更新时更新所有栏目
if ($gotype == '' || $gotype == 'mkallct') {
@@ -44,7 +42,6 @@ else if ($gotype == 'mkall') {
$idArray = array();
if (file_exists($mkcachefile)) require_once($mkcachefile);
}
-
//当前更新栏目的ID
$totalpage = count($idArray);
if (isset($idArray[$pageno])) {
@@ -58,14 +55,11 @@ if (isset($idArray[$pageno])) {
exit();
}
}
-
if ($pageno == 0 && $mkpage == 1) //清空缓存
{
$dsql->ExecuteNoneQuery("DELETE FROM `#@__arccache` ");
}
-
$reurl = '';
-
//更新数组所记录的栏目
if (!empty($tid)) {
if (!isset($cfg_Cs[$tid])) {
@@ -95,7 +89,6 @@ if (!empty($tid)) {
if ($mkpage >= ($ntotalpage + 1)) $finishType = TRUE;
}
}
-
$nextpage = $pageno + 1;
if ($nextpage >= $totalpage && $finishType) {
if ($gotype == '') {
@@ -118,4 +111,4 @@ if ($nextpage >= $totalpage && $finishType) {
ShowMsg("栏目:".$tid.",继续进行操作", $gourl, 0, 100);
exit();
}
-}
+}
\ No newline at end of file
diff --git a/src/admin/sys_info.php b/src/admin/sys_info.php
index 002477d9..99d14b06 100644
--- a/src/admin/sys_info.php
+++ b/src/admin/sys_info.php
@@ -11,9 +11,7 @@
require_once(dirname(__FILE__)."/config.php");
CheckPurview('sys_Edit');
if (empty($dopost)) $dopost = "";
-
$configfile = DEDEDATA.'/config.cache.inc.php';
-
//更新配置函数
function ReWriteConfig()
{
@@ -39,7 +37,6 @@ function ReWriteConfig()
fwrite($fp, "?".">");
fclose($fp);
}
-
//保存配置的改动
if ($dopost == "save") {
CheckCSRF();
@@ -162,4 +159,4 @@ EOT;
echo $hash;
exit();
}
-include DedeInclude('templets/sys_info.htm');
+include DedeInclude('templets/sys_info.htm');
\ No newline at end of file
diff --git a/src/admin/tag_test_action.php b/src/admin/tag_test_action.php
index e8a8fcca..fe40228f 100644
--- a/src/admin/tag_test_action.php
+++ b/src/admin/tag_test_action.php
@@ -17,17 +17,14 @@ if (empty($partcode)) {
exit;
}
$partcode = stripslashes($partcode);
-
if (empty($typeid)) $typeid = 0;
if (empty($showsource)) $showsource = "";
-
if ($typeid > 0) $pv = new PartView($typeid);
else $pv = new PartView();
-
$pv->SetTemplet($partcode, "string");
if ($showsource == "" || $showsource == "yes") {
echo "模板代码:";
echo "".dede_htmlspecialchars($partcode)."
";
echo "结果: