久久机这里只有精品,国产69精品一区二区亚洲孕妇,91精品国产综合久久婷婷香蕉,午夜久久久久久电影

最新活動(dòng):電腦PC端+手機(jī)端+微網(wǎng)站+自適應(yīng)網(wǎng)頁(yè)多模板選擇-建站388元起價(jià)!!!
當(dāng)前位置:主頁(yè) > 網(wǎng)站建設(shè) > 織夢(mèng) 實(shí)現(xiàn)中英文分頁(yè)功能分享一下,dedecms

織夢(mèng) 實(shí)現(xiàn)中英文分頁(yè)功能分享一下,dedecms

時(shí)間:2023-07-18 09:07:18 閱讀: 文章分類(lèi): 網(wǎng)站建設(shè) 作者: dede技術(shù)員

導(dǎo)讀:dedecmsdedecms1、打開(kāi)include/arc.listview.class.php(本文以DedeCMS5.6為例) 找到(約29行) var $remoteDir; 在其下dede商城模板織夢(mèng)cms模板。

dede商城模板織夢(mèng)cms模板

1、打開(kāi)include/arc.listview.class.php(本文以DedeCMS5.6為例) 找到(約29行)

var $remoteDir;

在其下面加上一個(gè)新行

var $pagelang;

找到(約528行)

$list_len = trim($ctag->GetAtt("listsize"));

在其下面加上一個(gè)新行

$pagelang = trim($ctag->GetAtt("pagelang"));

找到(約531行)

if($list_len=="") {     $list_len = 3; }

在其下面加上

if($pagelang=="") {     $pagelang = 'cn'; }

修改(約545行)

$this->dtp->Assign($tagid,$this->GetPageListST($list_len,$listitem));

$this->dtp->Assign($tagid,$this->GetPageListST($list_len,$listitem,$pagelang));

 

修改(新增)

function GetPageListST($list_len,$listitem="index,end,pre,next,pageno")

function GetPageListST($list_len,$織夢(mèng)手機(jī)模板listitem="index,end,pre,next,pageno",$pagelang='cn')

 

修改(約826行)

return "<li><span class=\"pageinfo\">共 <strong>1</strong> 頁(yè) <strong>".$this->TotalResult."</strong> 條記錄</span></li>\r\n";

if($pagelang=='cn') {

   return "<li><span class=\"pageinfo\">共 <strong>1</strong> 頁(yè) <strong>".$this->TotalResult."</織夢(mèng)首頁(yè)模板strong> 條記錄</span></li>\r\n"; } else {    return "<li><span class=\"pageinfo\">Total <strong>1</strong> Page <strong>&nbsp;".$this->TotalResult."</strong> Records</span></li>\r\n"; }

修改

return "<li><span class=\"pageinfo\">共 <strong>0</strong> 頁(yè) <strong>".$this->TotalResult."</strong> 條記錄</span></li>\r\n";

if($pagelang=='cn') {     return "<li><span class=\"pageinfo\">共 <strong>0</strong> 頁(yè) <strong>".$this->TotalResult."</strong> 條記錄</span></li>\r\n"; } else {    return "<li><span class=\"pageinfo\">Total <strong>0</strong> Page <strong>&nbsp;".$this->TotalResult."</strong> Records</span></li>\r\n"; }

修改

$maininfo = "<li><span class=\"pageinfo\">共 <strong>{$totalpage}</strong> 頁(yè) <strong>".$this->TotalResult."</strong> 條</span></li>\r\n";

關(guān)鍵詞標(biāo)簽: 織夢(mèng) 中英文 分頁(yè)

聲明: 本文由我的SEOUC技術(shù)文章主頁(yè)發(fā)布于:2023-07-18 ,文章織夢(mèng) 實(shí)現(xiàn)中英文分頁(yè)功能分享一下,dedecms主要講述分頁(yè),中英文,織夢(mèng)網(wǎng)站建設(shè)源碼以及服務(wù)器配置搭建相關(guān)技術(shù)文章。轉(zhuǎn)載請(qǐng)保留鏈接: http://www.bifwcx.com/article/web_29219.html

我的IDC 網(wǎng)站建設(shè)技術(shù)SEOUC.COM
專(zhuān)注網(wǎng)站建設(shè),SEO優(yōu)化,小程序設(shè)計(jì)制作搭建開(kāi)發(fā)定制網(wǎng)站等,數(shù)千家網(wǎng)站定制開(kāi)發(fā)案例,網(wǎng)站推廣技術(shù)服務(wù)。
  • 5000+合作客服
  • 8年從業(yè)經(jīng)驗(yàn)
  • 150+覆蓋行業(yè)
  • 最新熱門(mén)源碼技術(shù)文章

    主站蜘蛛池模板: 阜平县| 建德市| 合肥市| 乌鲁木齐市| 武功县| 峨眉山市| 拉萨市| 开原市| 巧家县| 襄樊市| 邢台市| 韶山市| 昌黎县| 理塘县| 阿拉善盟| 宝兴县| 本溪| 乌海市| 高唐县| 托里县| 磐安县| 襄城县| 哈巴河县| 固始县| 昌乐县| 昆明市| 西昌市| 敦煌市| 德令哈市| 潞西市| 三穗县| 潜江市| 长宁区| 连江县| 平山县| 庄浪县| 福清市| 高邑县| 原阳县| 乌拉特中旗| 西吉县|