- 注册时间
- 2009-12-25
- 最后登录
- 2021-7-10
- 在线时间
- 3302 小时
- 阅读权限
- 200
- 积分
- 10
- 帖子
- 13416
- 精华
- 1
- UID
- 2036
  
|
修改文件:/include/arc.archives.class.php
8 i! `! m$ L k% d! q( s修改行数:356行4 z. j. d! Y5 W( ^2 C' a- ?
修改代码如下:
' ]/ b& K# u7 ~' J//循环生成HTML文件9 c- i V3 Z' |5 _7 m+ [9 o3 \
else- i9 R; w# }( M% h- F) {" O) A8 c
{
, T6 v1 A1 [! Q. r" Ofor($i=1;$i<=$this->TotalPage;$i++)
8 O# R2 A: F( Z6 D{9 h |, q! S7 `7 N. M/ n
$tempTitle=$this->Fields['title'];//临时存储一个标题副本2 T J. S- z: C8 \. x/ S: E% ]) }0 I+ H
if($i>1)
# z8 `0 Z0 w! j2 b* `% f{
5 V- m4 \9 R" W$ ^$truefilename = $this->GetTruePath().$fileFirst.”_”.$i.”.”.$this->ShortName;3 i8 z u/ t' _1 t' ? a
//为分页标题加上序号。
7 ^- i) u d* t- G6 V0 L$this->Fields['title'] = $this->Fields['title'].’(‘.$i.’)';//在标题后面多加个序号
( V7 w6 g4 U1 Y. u" e}) a+ g* c! h) i' P( m
else
8 r7 B% M3 n) a+ A{
# K0 I4 z; j- X' b$ v$truefilename = $this->GetTruePath().$filename;
; D4 M# L; ?' k: M/ h5 ]& \# w}% _7 ?' n( H0 Z2 g8 h6 b( W
$this->ParseDMFields($i,1);
# \$ {# Y0 x1 G0 x+ R* @" s7 b$this->dtp->SaveTo($truefilename);9 M+ _' {) h, f6 t3 d
$this->Fields['title']=$tempTitle;//生成html,还原标题9 R( Q# V$ }" M7 V8 h
}% W2 @! N! O& I0 L& Z
} |
|