dede的页面都分动态和静态两种方式显示,显然标签的解析函数也会有两个,分别对应静态和动态页面。首先找到include文件夹内的arc.archives.class.php文件,路径为:includearc.archives.class.php
如果是动态的,ctrl+f查找function getpagebreakdm($totalpage, $nowpage, $aid)如果是静态的,ctrl+f查找function getpagebreak($totalpage, $nowpage, $aid)
以静态的为例:
/** * 获得静态页面分页列表 * * @access public * @param int $totalPage 总页数 * @param int $nowPage 当前页数 * @param int $aid 文档id * @return string */ function GetPagebreak($totalPage, $nowPage, $aid) { if($totalPage==1) { return ""; } $PageList = "
“; $nPage = $nowPage-1; $lPage = $nowPage+1; if($nowPage==1) { $PageList.=”
“; } else { if($nPage==1) { $PageList.=”
“; }
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END