|
source/admincp/admincp_article.php9 N- A x1 Y C9 W/ ]8 \
找到
! f+ y; n* U4 Y4 G) T6 h- if(!in_array($perpage, array(10,20,50,100))) $perpage = 10;
複製代碼 8 A0 c- g% i3 G* h1 U* {- S+ ?3 }
最後的數值,是默認顯示條數,
; M3 G) C" Y7 q4 `5 s. y可以改為前面括號中的任意值,最大就是100
) n$ O2 b; F* i) _. N) D
0 j' o ^6 \# n# R$ _! z+ m5 q& @" M
' e- E# j$ p/ [ `& T( q修改為
4 ^2 x* }6 S3 I0 f! H
; a% {" w, n2 z3 V, l
6 B0 ?8 X7 L% j8 E- if(!in_array($perpage, array(10,20,50,70,,100,200,500))) $perpage = 10;
複製代碼 ; R) z. {8 ]; {) o0 |; u1 d
找到4 }/ e4 M1 U4 G, I* {, T Y
- $keys = array('search', 'likesupport', 'resultsort', 'defaultsort', 'orderdesc', 'orderasc', 'perpage_10', 'perpage_20', 'perpage_50', 'perpage_100', 'article_dateline', 'article_id', 'article_title', 'article_uid', 'article_username', 'article_category', 'article_tag');
複製代碼 新增
9 F+ u# K. J6 ^% T& B( A4 T- 'perpage_200' , 'perpage_500'
複製代碼 找到
2 x/ @# r, M4 V4 O# b- <select name="perpage">
/ g+ x) k# z* a - <option value="10"$perpages[10]>$searchlang[perpage_10]</option>' ]( v8 u& h: v
- <option value="20"$perpages[20]>$searchlang[perpage_20]</option>
) ^( r, E% k0 f! @9 f7 b - <option value="50"$perpages[50]>$searchlang[perpage_50]</option>
- d3 y+ K/ B9 H' c - <option value="100"$perpages[100]>$searchlang[perpage_100]</option>
& w7 a! n0 y% K: j4 y6 g) c+ H - </select>
複製代碼 7 `+ l! q/ M8 ?0 q( P) w3 ^6 D
新增, Z- r4 h7 [1 B) |: V( x
- <option value="200"$perpages[200]>$searchlang[perpage_200]</option> ! l: x7 G; E3 r! p6 ?6 J
- <option value="500"$perpages[500]>$searchlang[perpage_500]</option>
複製代碼 ' J' s2 W& g" _! L8 z2 N( h
有加註解者 202310194 m4 h8 ~7 [/ F2 R" {8 D4 y
9 _; K1 Y+ F' _8 C3 U! A+ ?" @+ k9 u, U0 d5 o- ^0 o
但好像無效
# D- T7 M F5 U6 h3 ?9 G! Q# L/ B0 F, D5 s
% P: Z4 `+ A0 |0 k$ V. l+ e/ w$ N' t- y) D( D/ @# _ W! Z. y
|
|
-->
|