|
source/admincp/admincp_article.php* \0 E9 g W1 P& _: i8 a
找到
8 U$ k: `3 c: P- if(!in_array($perpage, array(10,20,50,100))) $perpage = 10;
複製代碼
4 D2 N! w# n: |. A' T. [" K7 D最後的數值,是默認顯示條數,
" @! ?( t9 n; i) v6 y) v2 x3 ~, g可以改為前面括號中的任意值,最大就是100 l1 O, K5 s5 g( ]% G9 v. q
0 u! Y4 j, y7 z1 [# t
' D$ f% u8 ` M/ f# N* U
8 O1 C# ?. P+ } Q* K4 k修改為" @6 h$ w/ ~6 {) @9 x
, [. v" _9 }: n) P- I
! q3 G; d0 Z# o+ Z
- if(!in_array($perpage, array(10,20,50,70,,100,200,500))) $perpage = 10;
複製代碼
& P6 B6 p( ^4 F3 \ o找到
) ?- l' @7 l" ]2 G$ n/ M0 e- $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');
複製代碼 新增
Y6 U: N5 R) w- 'perpage_200' , 'perpage_500'
複製代碼 找到
* l8 c! h0 h+ l* \) ~3 f" h- <select name="perpage">% [ X+ g' W( D
- <option value="10"$perpages[10]>$searchlang[perpage_10]</option>
. B r) s: U6 A# x - <option value="20"$perpages[20]>$searchlang[perpage_20]</option>
; T7 N- z6 f+ h8 s8 W( s C- ? - <option value="50"$perpages[50]>$searchlang[perpage_50]</option>! V$ F" m0 x V l
- <option value="100"$perpages[100]>$searchlang[perpage_100]</option>, p. w- g* @4 i( `. g
- </select>
複製代碼
1 l. B& N) l$ u) M新增
. X! U% R- z% u- <option value="200"$perpages[200]>$searchlang[perpage_200]</option> k0 e8 e3 p5 x2 |4 u: u- p
- <option value="500"$perpages[500]>$searchlang[perpage_500]</option>
複製代碼
* Z* z5 K& Z+ W有加註解者 202310195 R8 \( e9 h- ?5 s+ M& r
4 v) m+ B8 i# F) l* f g( ?: c- s0 e! m1 X
但好像無效
3 S$ ]% @& I# b# C7 [" ?1 B# p: u7 s A0 N. `* o/ s$ I" \
7 Q6 o6 X2 f, u4 H2 b! k$ ?4 v- R" m
& C# h9 x8 H, H9 w3 F
|
|
-->
|