- 注册时间
- 2009-12-25
- 最后登录
- 2021-7-10
- 在线时间
- 3302 小时
- 阅读权限
- 200
- 积分
- 10
- 帖子
- 13416
- 精华
- 1
- UID
- 2036
  
|
修改文件:/include/arc.archives.class.php, m5 n3 [( C' `+ x% j; F& s
修改行数:356行
) x0 H1 F- Z+ R修改代码如下:. w9 K5 ^2 h. H
//循环生成HTML文件
7 V' q6 G! e+ k' k8 belse E" |5 F& \9 h- _3 C# ^
{
) s \8 Q% A$ w# U8 [! ~for($i=1;$i<=$this->TotalPage;$i++)
" [2 d% W% }( [{
6 K5 W ~. Q; M/ e5 e, q$tempTitle=$this->Fields['title'];//临时存储一个标题副本3 j# B1 |, D# G j$ }8 h e# [
if($i>1)& K- ]8 L! w" o! x$ v* \
{. s8 F( F, `$ P4 g# u* m3 b2 q; G
$truefilename = $this->GetTruePath().$fileFirst.”_”.$i.”.”.$this->ShortName;
- r w8 v8 g( }/ Z//为分页标题加上序号。
: T. {) Y# P- |' \/ n$this->Fields['title'] = $this->Fields['title'].’(‘.$i.’)';//在标题后面多加个序号0 A# \1 N# D7 @" M, w% ^1 G- a
}
0 ~7 b# h1 \" O3 R9 _6 J. welse
% t# y+ l3 E0 Z* R& K& e( D9 I{3 G2 D7 n& W9 }8 y
$truefilename = $this->GetTruePath().$filename;- D2 u9 X8 o. \9 X5 c8 t$ P" c
}
* U. e/ k' _3 V$this->ParseDMFields($i,1);
% p& }5 c; y$ f3 i! s- Z- V3 @2 G$this->dtp->SaveTo($truefilename);3 A: }$ y, S% B
$this->Fields['title']=$tempTitle;//生成html,还原标题
! m, i# g) V) k. c8 y: [* r3 y}
4 B0 y e% G6 U4 x} |
|