From 9f9236c8cffe3cac4d7abacc38dae5bf38393770 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=99=E8=BF=B0=E3=80=81=E5=88=AB=E7=A6=BB?= <93301500+xushubieli@users.noreply.github.com> Date: Tue, 25 Mar 2025 10:22:26 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=84=E8=8C=83=E7=BB=9F=E4=B8=80=E5=B0=8F?= =?UTF-8?q?=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/admin/templets/catalog_add.htm | 2 +- src/admin/templets/catalog_add_quick.htm | 2 +- src/admin/templets/catalog_edit.htm | 2 +- src/system/archive/listview.class.php | 2 +- src/system/archive/sglistview.class.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/admin/templets/catalog_add.htm b/src/admin/templets/catalog_add.htm index 4691d3c3..250c4750 100644 --- a/src/admin/templets/catalog_add.htm +++ b/src/admin/templets/catalog_add.htm @@ -228,7 +228,7 @@
{page} 栏目页码数
伪静态规则(Nginx)
rewrite ^/list-([0-9]+)$ /apps/list.php?tid=$1;
-rewrite ^/list-([0-9]+)-([0-9]+)$ /apps/list.php?tid=$1&PageNo=$2;
+rewrite ^/list-([0-9]+)-([0-9]+)$ /apps/list.php?tid=$1&pageno=$2;
diff --git a/src/admin/templets/catalog_add_quick.htm b/src/admin/templets/catalog_add_quick.htm index 4670cf2c..14ad5ec6 100644 --- a/src/admin/templets/catalog_add_quick.htm +++ b/src/admin/templets/catalog_add_quick.htm @@ -86,7 +86,7 @@{page} 栏目页码数
伪静态规则(Nginx)
rewrite ^/list-([0-9]+)$ /apps/list.php?tid=$1;
-rewrite ^/list-([0-9]+)-([0-9]+)$ /apps/list.php?tid=$1&PageNo=$2;
+rewrite ^/list-([0-9]+)-([0-9]+)$ /apps/list.php?tid=$1&pageno=$2;
diff --git a/src/admin/templets/catalog_edit.htm b/src/admin/templets/catalog_edit.htm index dbccd589..fee1b8ae 100644 --- a/src/admin/templets/catalog_edit.htm +++ b/src/admin/templets/catalog_edit.htm @@ -211,7 +211,7 @@{page} 栏目页码数
伪静态规则(Nginx)
rewrite ^/list-([0-9]+)$ /apps/list.php?tid=$1;
-rewrite ^/list-([0-9]+)-([0-9]+)$ /apps/list.php?tid=$1&PageNo=$2;
+rewrite ^/list-([0-9]+)-([0-9]+)$ /apps/list.php?tid=$1&pageno=$2;
diff --git a/src/system/archive/listview.class.php b/src/system/archive/listview.class.php index 4d3190ca..9a59c380 100755 --- a/src/system/archive/listview.class.php +++ b/src/system/archive/listview.class.php @@ -1204,7 +1204,7 @@ class ListView //伪静态栏目分页 if ($cfg_rewrite == 'Y') { $plist = str_replace(".php?tid=", "-", $plist); - $plist = preg_replace("/&PageNo=(\d+)/i", "-\\1", $plist); + $plist = preg_replace("/&pageno=(\d+)/i", "-\\1", $plist); $plist = preg_replace("/&TotalResult=(\d+)/i", "", $plist);//去掉分页数值 } return $plist; diff --git a/src/system/archive/sglistview.class.php b/src/system/archive/sglistview.class.php index 0bc40ede..a18ad434 100755 --- a/src/system/archive/sglistview.class.php +++ b/src/system/archive/sglistview.class.php @@ -1032,7 +1032,7 @@ class SgListView //伪静态栏目分页 if ($cfg_rewrite == 'Y') { $plist = str_replace(".php?tid=", "-", $plist); - $plist = preg_replace("/&PageNo=(\d+)/i", "-\\1", $plist); + $plist = preg_replace("/&pageno=(\d+)/i", "-\\1", $plist); $plist = preg_replace("/&TotalResult=(\d+)&/i", "?", $plist);//去掉分页数值 } return $plist;