diff --git a/src/admin/inc/inc_archives_functions.php b/src/admin/inc/inc_archives_functions.php
index 55aff498..d2c14263 100644
--- a/src/admin/inc/inc_archives_functions.php
+++ b/src/admin/inc/inc_archives_functions.php
@@ -548,11 +548,11 @@ function AnalyseHtmlBody($body, &$description, &$litpic, &$keywords, $dtype = ''
} else {
include_once(DEDEINC.'/libraries/splitword.class.php');
$keywords = '';
- $sp = new SplitWord($cfg_soft_lang, $cfg_soft_lang);
- $sp->SetSource($subject, $cfg_soft_lang, $cfg_soft_lang);
+ $sp = new SplitWord($cfg_soft_lang);
+ $sp->SetSource($subject, $cfg_soft_lang);
$sp->StartAnalysis();
$titleindexs = preg_replace("/#p#|#e#/", '', $sp->GetFinallyIndex());
- $sp->SetSource(Html2Text($message), $cfg_soft_lang, $cfg_soft_lang);
+ $sp->SetSource(Html2Text($message), $cfg_soft_lang);
$sp->StartAnalysis();
$allindexs = preg_replace("/#p#|#e#/", '', $sp->GetFinallyIndex());
if (is_array($allindexs) && is_array($titleindexs)) {
diff --git a/src/admin/templets/ad_main.htm b/src/admin/templets/ad_main.htm
index c4e5257d..63eba918 100644
--- a/src/admin/templets/ad_main.htm
+++ b/src/admin/templets/ad_main.htm
@@ -65,7 +65,7 @@
- {dede:pagelist listsize='6'/}
+ {dede:pagelist listsize='2'/}
diff --git a/src/admin/templets/ai_log_main.htm b/src/admin/templets/ai_log_main.htm
index 3f16cd90..ae5b22d4 100644
--- a/src/admin/templets/ai_log_main.htm
+++ b/src/admin/templets/ai_log_main.htm
@@ -80,7 +80,7 @@
- {dede:pagelist listsize='6'/}
+ {dede:pagelist listsize='2'/}
diff --git a/src/admin/templets/ai_main.htm b/src/admin/templets/ai_main.htm
index 0f91f5d2..aeb64cff 100644
--- a/src/admin/templets/ai_main.htm
+++ b/src/admin/templets/ai_main.htm
@@ -60,7 +60,7 @@
- {dede:pagelist listsize='6'/}
+ {dede:pagelist listsize='2'/}
diff --git a/src/admin/templets/ai_model_main.htm b/src/admin/templets/ai_model_main.htm
index 9aa36141..ffe05b7b 100644
--- a/src/admin/templets/ai_model_main.htm
+++ b/src/admin/templets/ai_model_main.htm
@@ -60,7 +60,7 @@
- {dede:pagelist listsize='6'/}
+ {dede:pagelist listsize='2'/}
diff --git a/src/admin/templets/ai_prompt_main.htm b/src/admin/templets/ai_prompt_main.htm
index 11e15496..58c9675f 100644
--- a/src/admin/templets/ai_prompt_main.htm
+++ b/src/admin/templets/ai_prompt_main.htm
@@ -62,7 +62,7 @@
- {dede:pagelist listsize='6'/}
+ {dede:pagelist listsize='2'/}
diff --git a/src/admin/templets/article_keywords_main.htm b/src/admin/templets/article_keywords_main.htm
index 8cc1f0a2..ed973483 100644
--- a/src/admin/templets/article_keywords_main.htm
+++ b/src/admin/templets/article_keywords_main.htm
@@ -68,7 +68,7 @@
- {dede:pagelist listsize='6'/}
+ {dede:pagelist listsize='2'/}
diff --git a/src/admin/templets/article_keywords_select.htm b/src/admin/templets/article_keywords_select.htm
index 37351c43..df90e3d7 100644
--- a/src/admin/templets/article_keywords_select.htm
+++ b/src/admin/templets/article_keywords_select.htm
@@ -35,7 +35,7 @@
- {dede:pagelist listsize='6'/}
+ {dede:pagelist listsize='2'/}
diff --git a/src/admin/templets/cards_manmage.htm b/src/admin/templets/cards_manmage.htm
index e13b8bb0..a9749057 100644
--- a/src/admin/templets/cards_manmage.htm
+++ b/src/admin/templets/cards_manmage.htm
@@ -63,7 +63,7 @@
- {dede:pagelist listsize='6'/}
+ {dede:pagelist listsize='2'/}
diff --git a/src/admin/templets/catalog_add.htm b/src/admin/templets/catalog_add.htm
index 9ac1809b..e2fae24f 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;
@@ -248,7 +248,7 @@
{cc} 日期加混编id后用转换为适合字母
伪静态规则(Nginx)
rewrite ^/article/([0-9]+).html$ /apps/view.php?aid=$1;
- rewrite ^/article/([0-9]+)-([0-9]+).html$ /apps/view.php?aid=$1&pageno=$2;
+ rewrite ^/article/([0-9]+)-([0-9]+).html$ /apps/view.php?aid=$1&PageNo=$2;
SEO标题 |
diff --git a/src/admin/templets/catalog_add_quick.htm b/src/admin/templets/catalog_add_quick.htm
index 12ca6d20..44a20823 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;
@@ -106,7 +106,7 @@
{cc} 日期加混编id后用转换为适合字母
伪静态规则(Nginx)
rewrite ^/article/([0-9]+).html$ /apps/view.php?aid=$1;
- rewrite ^/article/([0-9]+)-([0-9]+).html$ /apps/view.php?aid=$1&pageno=$2;
+ rewrite ^/article/([0-9]+)-([0-9]+).html$ /apps/view.php?aid=$1&PageNo=$2;
默认页的名称 |
diff --git a/src/admin/templets/catalog_edit.htm b/src/admin/templets/catalog_edit.htm
index 5d1cadef..8bc16c53 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;
@@ -231,7 +231,7 @@
{cc} 日期加混编id后用转换为适合字母
伪静态规则(Nginx)
rewrite ^/article/([0-9]+).html$ /apps/view.php?aid=$1;
- rewrite ^/article/([0-9]+)-([0-9]+).html$ /apps/view.php?aid=$1&pageno=$2;
+ rewrite ^/article/([0-9]+)-([0-9]+).html$ /apps/view.php?aid=$1&PageNo=$2;
SEO标题 |
diff --git a/src/admin/templets/content_i_list.htm b/src/admin/templets/content_i_list.htm
index 37d1ca4b..69c6ea89 100644
--- a/src/admin/templets/content_i_list.htm
+++ b/src/admin/templets/content_i_list.htm
@@ -122,7 +122,7 @@
- {dede:pagelist listsize='6'/}
+ {dede:pagelist listsize='2'/}
diff --git a/src/admin/templets/content_list.htm b/src/admin/templets/content_list.htm
index 19443113..d05dc145 100644
--- a/src/admin/templets/content_list.htm
+++ b/src/admin/templets/content_list.htm
@@ -120,7 +120,7 @@
- {dede:pagelist listsize='6'/}
+ {dede:pagelist listsize='2'/}
diff --git a/src/admin/templets/content_s_list.htm b/src/admin/templets/content_s_list.htm
index 7379357d..da9cd424 100644
--- a/src/admin/templets/content_s_list.htm
+++ b/src/admin/templets/content_s_list.htm
@@ -92,7 +92,7 @@
- {dede:pagelist listsize='6'/}
+ {dede:pagelist listsize='2'/}
diff --git a/src/admin/templets/content_select_list.htm b/src/admin/templets/content_select_list.htm
index b43d42ee..cd7ce7f1 100644
--- a/src/admin/templets/content_select_list.htm
+++ b/src/admin/templets/content_select_list.htm
@@ -67,7 +67,7 @@
- {dede:pagelist listsize='6'/}
+ {dede:pagelist listsize='2'/}
diff --git a/src/admin/templets/content_sg_list.htm b/src/admin/templets/content_sg_list.htm
index 3359e463..3e7b0eb0 100644
--- a/src/admin/templets/content_sg_list.htm
+++ b/src/admin/templets/content_sg_list.htm
@@ -106,7 +106,7 @@
- {dede:pagelist listsize='6'/}
+ {dede:pagelist listsize='2'/}
diff --git a/src/admin/templets/diy_list.htm b/src/admin/templets/diy_list.htm
index fc961a0f..61fd618d 100644
--- a/src/admin/templets/diy_list.htm
+++ b/src/admin/templets/diy_list.htm
@@ -85,7 +85,7 @@
- {dede:pagelist listsize='6'/}
+ {dede:pagelist listsize='2'/}
diff --git a/src/admin/templets/diy_main.htm b/src/admin/templets/diy_main.htm
index 446ccb0f..9ad7557d 100644
--- a/src/admin/templets/diy_main.htm
+++ b/src/admin/templets/diy_main.htm
@@ -49,7 +49,7 @@
- {dede:pagelist listsize='6'/}
+ {dede:pagelist listsize='2'/}
diff --git a/src/admin/templets/erradd.htm b/src/admin/templets/erradd.htm
index ad12c717..4688d874 100644
--- a/src/admin/templets/erradd.htm
+++ b/src/admin/templets/erradd.htm
@@ -57,7 +57,7 @@
- {dede:pagelist listsize='6'/}
+ {dede:pagelist listsize='2'/}
diff --git a/src/admin/templets/feedback_main.htm b/src/admin/templets/feedback_main.htm
index db5d97e6..22ebb565 100644
--- a/src/admin/templets/feedback_main.htm
+++ b/src/admin/templets/feedback_main.htm
@@ -81,7 +81,7 @@
- {dede:pagelist listsize='6'/}
+ {dede:pagelist listsize='2'/}
diff --git a/src/admin/templets/friendlink_main.htm b/src/admin/templets/friendlink_main.htm
index c9f9e7d8..05603afa 100644
--- a/src/admin/templets/friendlink_main.htm
+++ b/src/admin/templets/friendlink_main.htm
@@ -88,7 +88,7 @@
- {dede:pagelist listsize='6'/}
+ {dede:pagelist listsize='2'/}
diff --git a/src/admin/templets/log_list.htm b/src/admin/templets/log_list.htm
index 54fde9c8..223f01d7 100644
--- a/src/admin/templets/log_list.htm
+++ b/src/admin/templets/log_list.htm
@@ -73,7 +73,7 @@
- {dede:pagelist listsize='6'/}
+ {dede:pagelist listsize='2'/}
diff --git a/src/admin/templets/media_main.htm b/src/admin/templets/media_main.htm
index e440aa3b..b8c0ad3d 100644
--- a/src/admin/templets/media_main.htm
+++ b/src/admin/templets/media_main.htm
@@ -78,7 +78,7 @@
- {dede:pagelist listsize='6'/}
+ {dede:pagelist listsize='2'/}
diff --git a/src/admin/templets/member_main.htm b/src/admin/templets/member_main.htm
index 4a979b34..2495c0e7 100644
--- a/src/admin/templets/member_main.htm
+++ b/src/admin/templets/member_main.htm
@@ -103,7 +103,7 @@
- {dede:pagelist listsize='6'/}
+ {dede:pagelist listsize='2'/}
diff --git a/src/admin/templets/member_operations.htm b/src/admin/templets/member_operations.htm
index aa9c1359..91dc90aa 100644
--- a/src/admin/templets/member_operations.htm
+++ b/src/admin/templets/member_operations.htm
@@ -69,7 +69,7 @@
- {dede:pagelist listsize='6'/}
+ {dede:pagelist listsize='2'/}
diff --git a/src/admin/templets/member_pm.htm b/src/admin/templets/member_pm.htm
index f53ebd99..0f20c5c4 100644
--- a/src/admin/templets/member_pm.htm
+++ b/src/admin/templets/member_pm.htm
@@ -62,7 +62,7 @@
- {dede:pagelist listsize='6'/}
+ {dede:pagelist listsize='2'/}
diff --git a/src/admin/templets/mychannel_main.htm b/src/admin/templets/mychannel_main.htm
index abbb570f..2905f304 100644
--- a/src/admin/templets/mychannel_main.htm
+++ b/src/admin/templets/mychannel_main.htm
@@ -59,7 +59,7 @@
- {dede:pagelist listsize='6'/}
+ {dede:pagelist listsize='2'/}
diff --git a/src/admin/templets/mytag_main.htm b/src/admin/templets/mytag_main.htm
index 720869d9..7b80c494 100644
--- a/src/admin/templets/mytag_main.htm
+++ b/src/admin/templets/mytag_main.htm
@@ -54,7 +54,7 @@
- {dede:pagelist listsize='6'/}
+ {dede:pagelist listsize='2'/}
diff --git a/src/admin/templets/plus_main.htm b/src/admin/templets/plus_main.htm
index c47941b1..42ceadab 100644
--- a/src/admin/templets/plus_main.htm
+++ b/src/admin/templets/plus_main.htm
@@ -43,7 +43,7 @@
- {dede:pagelist listsize='6'/}
+ {dede:pagelist listsize='2'/}
diff --git a/src/admin/templets/recycling.htm b/src/admin/templets/recycling.htm
index f1e4948a..676c8320 100644
--- a/src/admin/templets/recycling.htm
+++ b/src/admin/templets/recycling.htm
@@ -58,7 +58,7 @@
- {dede:pagelist listsize='6'/}
+ {dede:pagelist listsize='2'/}
diff --git a/src/admin/templets/statistics_list.htm b/src/admin/templets/statistics_list.htm
index 2d9e3764..d9bf3ac0 100644
--- a/src/admin/templets/statistics_list.htm
+++ b/src/admin/templets/statistics_list.htm
@@ -66,7 +66,7 @@
- {dede:pagelist listsize='6'/}
+ {dede:pagelist listsize='2'/}
diff --git a/src/admin/templets/stepselect_main.htm b/src/admin/templets/stepselect_main.htm
index 50ce0915..19b4756b 100644
--- a/src/admin/templets/stepselect_main.htm
+++ b/src/admin/templets/stepselect_main.htm
@@ -280,7 +280,7 @@
- {dede:pagelist listsize='6'/}
+ {dede:pagelist listsize='2'/}
- {dede:pagelist listsize='6'/}
+ {dede:pagelist listsize='2'/}
diff --git a/src/admin/templets/sys_admin_user.htm b/src/admin/templets/sys_admin_user.htm
index cdf6e906..4aab0e41 100644
--- a/src/admin/templets/sys_admin_user.htm
+++ b/src/admin/templets/sys_admin_user.htm
@@ -57,7 +57,7 @@
- {dede:pagelist listsize='6'/}
+ {dede:pagelist listsize='2'/}
diff --git a/src/admin/templets/tags_main.htm b/src/admin/templets/tags_main.htm
index a01a6cdf..49a45d7a 100644
--- a/src/admin/templets/tags_main.htm
+++ b/src/admin/templets/tags_main.htm
@@ -93,7 +93,7 @@
- {dede:pagelist listsize='6'/}
+ {dede:pagelist listsize='2'/}
diff --git a/src/admin/templets/templets_one.htm b/src/admin/templets/templets_one.htm
index cf3446c1..dfb9615c 100644
--- a/src/admin/templets/templets_one.htm
+++ b/src/admin/templets/templets_one.htm
@@ -76,7 +76,7 @@
- {dede:pagelist listsize='6'/}
+ {dede:pagelist listsize='2'/}
diff --git a/src/admin/templets/vote_main.htm b/src/admin/templets/vote_main.htm
index fb8628d0..c8200a5d 100644
--- a/src/admin/templets/vote_main.htm
+++ b/src/admin/templets/vote_main.htm
@@ -53,7 +53,7 @@
- {dede:pagelist listsize='6'/}
+ {dede:pagelist listsize='2'/}
diff --git a/src/system/datalistcp.class.php b/src/system/datalistcp.class.php
index 66df8435..88ecb2e4 100644
--- a/src/system/datalistcp.class.php
+++ b/src/system/datalistcp.class.php
@@ -182,7 +182,7 @@ class DataListCP
$prepagenum = $this->pageNO - 1;
$nextpagenum = $this->pageNO + 1;
if (!isset($atts['listsize']) || preg_match("#[^0-9]#", $atts['listsize'])) {
- $atts['listsize'] = 6;
+ $atts['listsize'] = 2;
}
if (!isset($atts['listitem'])) {
$atts['listitem'] = "pagesize,info,index,end,pre,next,pageno,form";
diff --git a/src/theme/apps/list_diyform.htm b/src/theme/apps/list_diyform.htm
index 4c07f960..8e6113da 100644
--- a/src/theme/apps/list_diyform.htm
+++ b/src/theme/apps/list_diyform.htm
@@ -36,7 +36,7 @@
?>
{/dede:datalist}
- {dede:pagelist listsize='6'/}
+ {dede:pagelist listsize='2'/}