diff --git a/src/admin/sys_admin_user_tj.php b/src/admin/sys_admin_user_tj.php index 5412fd98..e138195c 100644 --- a/src/admin/sys_admin_user_tj.php +++ b/src/admin/sys_admin_user_tj.php @@ -102,7 +102,7 @@ if (isset($dopost) && $dopost == 'getone') { $msg = " - + diff --git a/src/admin/templets/article_add.htm b/src/admin/templets/article_add.htm index 70806d19..51537fbe 100644 --- a/src/admin/templets/article_add.htm +++ b/src/admin/templets/article_add.htm @@ -304,7 +304,7 @@ table{border-collapse:separate} diff --git a/src/admin/templets/freelist_main.htm b/src/admin/templets/freelist_main.htm index 9413c5ad..51812efa 100644 --- a/src/admin/templets/freelist_main.htm +++ b/src/admin/templets/freelist_main.htm @@ -57,21 +57,21 @@ var ahtml = ""; } diff --git a/src/admin/templets/search_keywords_main.htm b/src/admin/templets/search_keywords_main.htm index d64e10f0..8a989466 100644 --- a/src/admin/templets/search_keywords_main.htm +++ b/src/admin/templets/search_keywords_main.htm @@ -77,8 +77,8 @@ function ReloadPageNum(startnum) { var ahtml = ""; var startloop = 1; var endnum = 0; - ahtml += "共:" + totalrow + " 条记录/" + pagenum + "页 "; - if (pageno > 1) ahtml += "↑上页 "; + ahtml += "共" + totalrow + "篇" + pagenum + "页"; + if (pageno > 1) ahtml += "上页 "; if (startnum >= pagenum - listsize) { startloop = pagenum - (listsize * 2); if (startloop < 1) startloop = 1; @@ -102,7 +102,7 @@ function ReloadPageNum(startnum) { else ahtml += "[" + i + "] "; } } - if (pageno < pagenum) ahtml += "下页↓ "; + if (pageno < pagenum) ahtml += "下页 "; ListArea.innerHTML = ahtml; } diff --git a/src/system/archive/archives.class.php b/src/system/archive/archives.class.php index 4527467d..4cae9136 100755 --- a/src/system/archive/archives.class.php +++ b/src/system/archive/archives.class.php @@ -795,7 +795,7 @@ class Archives if ($totalPage == 1) { return ""; } - $PageList = "
  • 共".$totalPage."页:
  • "; + $PageList = "
  • ".$totalPage."页
  • "; $nPage = $nowPage - 1; $lPage = $nowPage + 1; if ($nowPage == 1) { @@ -862,7 +862,7 @@ class Archives if ($totalPage == 1) { return ""; } - $PageList = "
  • 共".$totalPage."页:
  • "; + $PageList = "
  • ".$totalPage."页:
  • "; $nPage = $nowPage - 1; $lPage = $nowPage + 1; if ($nowPage == 1) { diff --git a/src/system/archive/freelist.class.php b/src/system/archive/freelist.class.php index ab096166..1a0444f2 100755 --- a/src/system/archive/freelist.class.php +++ b/src/system/archive/freelist.class.php @@ -643,12 +643,12 @@ class FreeList } $totalpage = ceil($this->TotalResult / $this->PageSize); if ($totalpage <= 1 && $this->TotalResult > 0) { - return "
  • 共1页/".$this->TotalResult."条记录
  • "; + return "
  • 1页".$this->TotalResult."篇
  • "; } if ($this->TotalResult == 0) { - return "
  • 共0页/".$this->TotalResult."条记录
  • "; + return "
  • 0页".$this->TotalResult."篇
  • "; } - $maininfo = "
  • 共{$totalpage}页/".$this->TotalResult."条记录
  • "; + $maininfo = "
  • {$totalpage}页".$this->TotalResult."篇
  • "; $purl = $this->GetCurUrl(); $tnamerule = $this->GetMakeFileRule(); $tnamerule = preg_replace("#^(.*)\/#", '', $tnamerule); @@ -745,12 +745,12 @@ class FreeList } $totalpage = ceil($this->TotalResult / $this->PageSize); if ($totalpage <= 1 && $this->TotalResult > 0) { - return "
  • 共1页/".$this->TotalResult."条记录
  • "; + return "
  • 1页".$this->TotalResult."篇
  • "; } if ($this->TotalResult == 0) { - return "
  • 共0页/".$this->TotalResult."条记录
  • "; + return "
  • 0页".$this->TotalResult."篇
  • "; } - $maininfo = "
  • 共{$totalpage}页/".$this->TotalResult."条记录
  • "; + $maininfo = "
  • {$totalpage}页".$this->TotalResult."篇
  • "; $purl = $this->GetCurUrl(); $geturl = "lid=".$this->FreeID."&TotalResult=".$this->TotalResult."&"; $hidenform = "\r\n"; @@ -782,7 +782,7 @@ class FreeList } for ($j; $j <= $total_list; $j++) { if ($j == $this->PageNo) { - $listdd .= "
  • $j
  • \r\n"; + $listdd .= "
  • $j
  • \r\n"; } else { $listdd .= "
  • ".$j."
  • \r\n"; } diff --git a/src/system/archive/listview.class.php b/src/system/archive/listview.class.php index 0109690b..9be8c595 100755 --- a/src/system/archive/listview.class.php +++ b/src/system/archive/listview.class.php @@ -179,7 +179,6 @@ class ListView $this->addSql = " arc.arcrank > -1 "; $typeid2like = " '%,{$this->TypeID},%' "; if ($cfg_list_son == 'N') { - if ($cfg_need_typeid2 == 'N') { if ($this->CrossID == '') $this->addSql .= " AND (arc.typeid='".$this->TypeID."') "; else $this->addSql .= " AND (arc.typeid in({$this->CrossID},{$this->TypeID})) "; @@ -855,13 +854,13 @@ class ListView } $totalpage = ceil($this->TotalResult / $this->PageSize); if ($totalpage <= 1 && $this->TotalResult > 0) { - return "
  • 1".$this->TotalResult."条记录
  • \r\n"; + return "
  • 1页".$this->TotalResult."篇
  • \r\n"; } if ($this->TotalResult == 0) { - return "
  • 0".$this->TotalResult."条记录
  • \r\n"; + return "
  • 0页".$this->TotalResult."篇
  • \r\n"; } $purl = $this->GetCurUrl(); - $maininfo = "
  • {$totalpage}".$this->TotalResult."
  • \r\n"; + $maininfo = "
  • {$totalpage}页".$this->TotalResult."篇
  • \r\n"; $tnamerule = $this->GetMakeFileRule($this->Fields['id'], "list", $this->Fields['typedir'], $this->Fields['defaultname'], $this->Fields['namerule2']); //获得上一页和主页的链接 if ($this->PageNo != 1) { @@ -909,7 +908,7 @@ class ListView } for ($j; $j <= $total_list; $j++) { if ($j == $this->PageNo) { - $listdd .= "
  • $j
  • \r\n"; + $listdd .= "
  • $j
  • \r\n"; } else { $listdd .= "
  • ".$j."
  • \r\n"; } @@ -943,13 +942,12 @@ class ListView } $totalpage = ceil($this->TotalResult / $this->PageSize); if ($totalpage <= 1 && $this->TotalResult > 0) { - return "
  • 共 1 页/".$this->TotalResult." 条记录
  • \r\n"; + return "
  • 1页".$this->TotalResult."篇
  • \r\n"; } if ($this->TotalResult == 0) { - return "
  • 共 0 页/".$this->TotalResult." 条记录
  • \r\n"; + return "
  • 0页".$this->TotalResult."篇
  • \r\n"; } - $maininfo = "
  • {$totalpage}".$this->TotalResult."
  • \r\n"; - + $maininfo = "
  • {$totalpage}页".$this->TotalResult."篇
  • \r\n"; $purl = $this->GetCurUrl(); //如果开启为静态,则对规则进行替换 if ($cfg_rewrite == 'Y') { @@ -992,9 +990,9 @@ class ListView } for ($j; $j <= $total_list; $j++) { if ($j == $this->PageNo) { - $listdd .= "
  • $j
  • \r\n"; + $listdd .= "
  • $j
  • \r\n"; } else { - $listdd .= "
  • ".$j."
  • \r\n"; + $listdd .= "
  • ".$j."
  • \r\n"; } } $plist = ''; diff --git a/src/system/archive/searchview.class.php b/src/system/archive/searchview.class.php index 0df598ed..5d6a8409 100755 --- a/src/system/archive/searchview.class.php +++ b/src/system/archive/searchview.class.php @@ -654,10 +654,10 @@ class SearchView } $totalpage = ceil($this->TotalResult / $this->PageSize); if ($totalpage <= 1 && $this->TotalResult > 0) { - return ""; + return ""; } if ($this->TotalResult == 0) { - return ""; + return ""; } $purl = $this->GetCurUrl(); $oldkeyword = (empty($oldkeyword) ? $this->Keyword : $oldkeyword); @@ -665,7 +665,7 @@ class SearchView if ($this->TotalResult > $this->SearchMaxRc) { $totalpage = ceil($this->SearchMaxRc / $this->PageSize); } - $infos = "
  • 共找到".$this->TotalResult."条记录/最大显示{$totalpage}
  • \r\n"; + $infos = "
  • {$totalpage}页".$this->TotalResult."篇
  • \r\n"; $geturl = "keyword=".urlencode($oldkeyword)."&searchtype=".$this->SearchType; $hidenform = "\r\n"; $geturl .= "&channeltype=".$this->ChannelType."&orderby=".$this->OrderBy; diff --git a/src/system/archive/sglistview.class.php b/src/system/archive/sglistview.class.php index 69aed509..01313acb 100755 --- a/src/system/archive/sglistview.class.php +++ b/src/system/archive/sglistview.class.php @@ -11,7 +11,6 @@ if (!defined('DEDEINC')) exit('dedebiz'); */ @set_time_limit(0); require_once(DEDEINC."/archive/partview.class.php"); - /** * 单表模型列表视图类 * @@ -726,13 +725,13 @@ class SgListView } $totalpage = ceil($this->TotalResult / $this->PageSize); if ($totalpage <= 1 && $this->TotalResult > 0) { - return "
  • 共 1 页".$this->TotalResult."条记录
  • "; + return "
  • 1页".$this->TotalResult."篇
  • "; } if ($this->TotalResult == 0) { - return "
  • 共 0 页".$this->TotalResult."条记录
  • "; + return "
  • 0页".$this->TotalResult."篇
  • "; } $purl = $this->GetCurUrl(); - $maininfo = "
  • 共 {$totalpage} 页".$this->TotalResult."条
  • "; + $maininfo = "
  • {$totalpage}页".$this->TotalResult."篇
  • "; $tnamerule = $this->GetMakeFileRule($this->Fields['id'], "list", $this->Fields['typedir'], $this->Fields['defaultname'], $this->Fields['namerule2']); $tnamerule = preg_replace("/^(.*)\//", '', $tnamerule); //获得上一页和主页的链接 @@ -834,10 +833,10 @@ class SgListView } $totalpage = ceil($this->TotalResult / $this->PageSize); if ($totalpage <= 1 && $this->TotalResult > 0) { - return "
  • 共1页/".$this->TotalResult."条记录
  • "; + return "
  • 1页".$this->TotalResult."篇
  • "; } if ($this->TotalResult == 0) { - return "
  • 共0页/".$this->TotalResult."条记录
  • "; + return "
  • 0页".$this->TotalResult."篇
  • "; } $purl = $this->GetCurUrl(); $geturl = "tid=".$this->TypeID."&TotalResult=".$this->TotalResult."&nativeplace=$nativeplace&infotype=$infotype&keyword=".urlencode($keyword)."&"; diff --git a/src/system/archive/specview.class.php b/src/system/archive/specview.class.php index 0dd5eef9..335560f7 100755 --- a/src/system/archive/specview.class.php +++ b/src/system/archive/specview.class.php @@ -444,10 +444,10 @@ class SpecView } $totalpage = ceil($this->TotalResult / $this->PageSize); if ($totalpage <= 1 && $this->TotalResult > 0) { - return "1".$this->TotalResult."条记录"; + return "1页".$this->TotalResult."篇"; } if ($this->TotalResult == 0) { - return "0".$this->TotalResult."条记录"; + return "0页".$this->TotalResult."篇"; } $purl = $this->GetCurUrl(); $tnamerule = "spec_"; @@ -481,7 +481,7 @@ class SpecView } for ($j; $j <= $total_list; $j++) { if ($j == $this->PageNo) { - $listdd .= "
  • $j
  • \r\n"; + $listdd .= "
  • $j
  • \r\n"; } else { $listdd .= "
  • ".$j."
  • \r\n"; } @@ -508,10 +508,10 @@ class SpecView } $totalpage = ceil($this->TotalResult / $this->PageSize); if ($totalpage <= 1 && $this->TotalResult > 0) { - return "共1页/".$this->TotalResult."条记录"; + return "1页".$this->TotalResult."篇"; } if ($this->TotalResult == 0) { - return "共0页/".$this->TotalResult."条记录"; + return "0页".$this->TotalResult."篇"; } $purl = $this->GetCurUrl(); $geturl = "typeid=".$this->TypeID."&TotalResult=".$this->TotalResult."&"; @@ -548,7 +548,7 @@ class SpecView } for ($j; $j <= $total_list; $j++) { if ($j == $this->PageNo) { - $listdd .= "
  • $j
  • \r\n"; + $listdd .= "
  • $j
  • \r\n"; } else { $listdd .= "
  • ".$j."
  • \r\n"; } diff --git a/src/system/archive/taglist.class.php b/src/system/archive/taglist.class.php index 9d54d24f..5d526f92 100755 --- a/src/system/archive/taglist.class.php +++ b/src/system/archive/taglist.class.php @@ -431,12 +431,12 @@ class TagList } $totalpage = $this->TotalPage; if ($totalpage <= 1 && $this->TotalResult > 0) { - return "
  • 共1页/".$this->TotalResult."条
  • "; + return "
  • 1页".$this->TotalResult."篇
  • "; } if ($this->TotalResult == 0) { - return "
  • 共0页/".$this->TotalResult."条
  • "; + return "
  • 0页".$this->TotalResult."篇
  • "; } - $maininfo = "
  • 共{$totalpage}页/".$this->TotalResult."条
  • \r\n"; + $maininfo = "
  • {$totalpage}页".$this->TotalResult."篇
  • \r\n"; $purl = $this->GetCurUrl(); $purl .= "?/".urlencode($this->Tag); //获得上一页和下一页的链接 @@ -469,7 +469,7 @@ class TagList } for ($j; $j <= $total_list; $j++) { if ($j == $this->PageNo) { - $listdd .= "
  • $j
  • \r\n"; + $listdd .= "
  • $j
  • \r\n"; } else { $listdd .= "
  • ".$j."
  • \r\n"; } @@ -506,12 +506,12 @@ class TagList } $totalpage = $this->TotalPage; if ($totalpage <= 1 && $this->TotalResult > 0) { - return "
  • 共1页/".$this->TotalResult."条
  • "; + return "
  • 1页".$this->TotalResult."篇
  • "; } if ($this->TotalResult == 0) { - return "
  • 共0页/".$this->TotalResult."条
  • "; + return "
  • 0页".$this->TotalResult."篇
  • "; } - $maininfo = "
  • 共{$totalpage}页/".$this->TotalResult."条
  • \r\n"; + $maininfo = "
  • {$totalpage}页".$this->TotalResult."篇
  • \r\n"; //$purl = $this->GetCurUrl(); $purl = "/a/tags/".GetPinyin($this->Tag); //var_dump($purl); @@ -545,7 +545,7 @@ class TagList } for ($j; $j <= $total_list; $j++) { if ($j == $this->PageNo) { - $listdd .= "
  • $j
  • \r\n"; + $listdd .= "
  • $j
  • \r\n"; } else { $listdd .= "
  • ".$j."
  • \r\n"; } diff --git a/src/system/datalistcp.class.php b/src/system/datalistcp.class.php index cd4e0a3a..5a367f16 100755 --- a/src/system/datalistcp.class.php +++ b/src/system/datalistcp.class.php @@ -256,12 +256,12 @@ class DataListCP //echo " {$totalpage}=={$this->totalResult}=={$this->pageSize}"; //无结果或只有一页的情况 if ($totalpage <= 1 && $this->totalResult > 0) { - return ""; + return ""; } if ($this->totalResult == 0) { - return ""; + return ""; } - $infos = "
  • {$lang_total} {$totalpage} {$lang_page}/{$this->totalResult}{$lang_record_number}
  • "; + $infos = "
  • {$lang_total}{$totalpage}{$lang_page}/{$this->totalResult}{$lang_record_number}
  • "; if ($this->totalResult != 0) { $this->getValues['totalresult'] = $this->totalResult; } @@ -278,13 +278,13 @@ class DataListCP $prepage .= "
  • $lang_pre_page
  • \n"; $indexpage = "
  • $lang_index_page
  • \n"; } else { - $indexpage = "
  • "."$lang_index_page \n"."
  • "; + $indexpage = "
  • "."$lang_index_page \n"."
  • "; } if ($this->pageNO != $totalpage && $totalpage > 1) { $nextpage .= "
  • $lang_next_page
  • \n"; $endpage = "
  • $lang_end_page
  • \n"; } else { - $endpage = "
  • $lang_end_page
  • \n"; + $endpage = "
  • $lang_end_page
  • \n"; } //获得数字链接 $listdd = ""; @@ -327,8 +327,8 @@ class DataListCP if (preg_match("#form#i", $atts['listitem'])) { $plist .= " $hidenform"; if ($totalpage > $total_list) { - $plist .= "\r\n"; - $plist .= "\r\n"; + $plist .= "\r\n"; + $plist .= "\r\n"; } $plist .= "\n"; }
    管理员↓|统计信息→管理员::统计信息 全部(文档|点击) 季度 当月 - +
    高级参数↑高级参数