Browse Source

规范统一小写

tags/6.5.0
叙述、别离 1 week ago
parent
commit
9f9236c8cf
5 changed files with 5 additions and 5 deletions
  1. +1
    -1
      src/admin/templets/catalog_add.htm
  2. +1
    -1
      src/admin/templets/catalog_add_quick.htm
  3. +1
    -1
      src/admin/templets/catalog_edit.htm
  4. +1
    -1
      src/system/archive/listview.class.php
  5. +1
    -1
      src/system/archive/sglistview.class.php

+ 1
- 1
src/admin/templets/catalog_add.htm View File

@@ -228,7 +228,7 @@
<p>{page} 栏目页码数</p> <p>{page} 栏目页码数</p>
<p>伪静态规则(Nginx)</p> <p>伪静态规则(Nginx)</p>
<p>rewrite ^/list-([0-9]+)$ /apps/list.php?tid=$1;</p> <p>rewrite ^/list-([0-9]+)$ /apps/list.php?tid=$1;</p>
<p>rewrite ^/list-([0-9]+)-([0-9]+)$ /apps/list.php?tid=$1&PageNo=$2;</p>
<p>rewrite ^/list-([0-9]+)-([0-9]+)$ /apps/list.php?tid=$1&pageno=$2;</p>
</div> </div>
</td> </td>
</tr> </tr>


+ 1
- 1
src/admin/templets/catalog_add_quick.htm View File

@@ -86,7 +86,7 @@
<p>{page} 栏目页码数</p> <p>{page} 栏目页码数</p>
<p>伪静态规则(Nginx)</p> <p>伪静态规则(Nginx)</p>
<p>rewrite ^/list-([0-9]+)$ /apps/list.php?tid=$1;</p> <p>rewrite ^/list-([0-9]+)$ /apps/list.php?tid=$1;</p>
<p>rewrite ^/list-([0-9]+)-([0-9]+)$ /apps/list.php?tid=$1&PageNo=$2;</p>
<p>rewrite ^/list-([0-9]+)-([0-9]+)$ /apps/list.php?tid=$1&pageno=$2;</p>
</div> </div>
</td> </td>
</tr> </tr>


+ 1
- 1
src/admin/templets/catalog_edit.htm View File

@@ -211,7 +211,7 @@
<p>{page} 栏目页码数</p> <p>{page} 栏目页码数</p>
<p>伪静态规则(Nginx)</p> <p>伪静态规则(Nginx)</p>
<p>rewrite ^/list-([0-9]+)$ /apps/list.php?tid=$1;</p> <p>rewrite ^/list-([0-9]+)$ /apps/list.php?tid=$1;</p>
<p>rewrite ^/list-([0-9]+)-([0-9]+)$ /apps/list.php?tid=$1&PageNo=$2;</p>
<p>rewrite ^/list-([0-9]+)-([0-9]+)$ /apps/list.php?tid=$1&pageno=$2;</p>
</div> </div>
</td> </td>
</tr> </tr>


+ 1
- 1
src/system/archive/listview.class.php View File

@@ -1204,7 +1204,7 @@ class ListView
//伪静态栏目分页 //伪静态栏目分页
if ($cfg_rewrite == 'Y') { if ($cfg_rewrite == 'Y') {
$plist = str_replace(".php?tid=", "-", $plist); $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);//去掉分页数值 $plist = preg_replace("/&TotalResult=(\d+)/i", "", $plist);//去掉分页数值
} }
return $plist; return $plist;


+ 1
- 1
src/system/archive/sglistview.class.php View File

@@ -1032,7 +1032,7 @@ class SgListView
//伪静态栏目分页 //伪静态栏目分页
if ($cfg_rewrite == 'Y') { if ($cfg_rewrite == 'Y') {
$plist = str_replace(".php?tid=", "-", $plist); $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);//去掉分页数值 $plist = preg_replace("/&TotalResult=(\d+)&/i", "?", $plist);//去掉分页数值
} }
return $plist; return $plist;


Loading…
Cancel
Save