diff --git a/src/system/datalistcp.class.php b/src/system/datalistcp.class.php index 132644f6..9a50e8ad 100755 --- a/src/system/datalistcp.class.php +++ b/src/system/datalistcp.class.php @@ -17,7 +17,6 @@ $lang_index_page = '首页'; $lang_end_page = '末页'; $lang_record_number = '条'; $lang_page = '页'; -$lang_total = '共'; /** * DataListCP * @@ -222,7 +221,7 @@ class DataListCP //获取分页导航列表 function GetPageList($atts, $refObj = '', $fields = array()) { - global $lang_pre_page, $lang_next_page, $lang_index_page, $lang_end_page, $lang_record_number, $lang_page, $lang_total; + global $lang_pre_page, $lang_next_page, $lang_index_page, $lang_end_page, $lang_record_number, $lang_page; $prepage = $nextpage = $geturl = $hidenform = ''; $purl = $this->GetCurUrl(); $prepagenum = $this->pageNO - 1; @@ -237,12 +236,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 = "
  • {$totalpage}{$lang_page}/{$this->totalResult}{$lang_record_number}
  • "; if ($this->totalResult != 0) { $this->getValues['totalresult'] = $this->totalResult; }