Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
庞 凯升
PbootCMS
Commits
39465480
Commit
39465480
authored
7 years ago
by
星梦
Browse files
Options
Download
Email Patches
Plain Diff
V1.0.6
parent
627cd4e6
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
ChangeLog.txt
+5
-1
ChangeLog.txt
PbootCMSDoc.CHM
+0
-0
PbootCMSDoc.CHM
apps/admin/controller/content/ContentController.php
+11
-7
apps/admin/controller/content/ContentController.php
apps/admin/controller/content/ContentSortController.php
+11
-7
apps/admin/controller/content/ContentSortController.php
apps/common/version.php
+1
-1
apps/common/version.php
with
28 additions
and
16 deletions
+28
-16
ChangeLog.txt
+
5
-
1
View file @
39465480
PbootCMS V1.0.5 build 2018-04-23
PbootCMS V1.0.6 build 2018-04-24
1、修复无任何内容执行排序报错;
2、修复可能存在的跨站请求伪造漏洞;
PbootCMS V1.0.5 build 2018-04-23
1、新增后台配置项自动新增功能;
2、修复logo不自适应多级目录路径;
3、新增十类API调用,方便小程序、APP、Ajax等数据获取;
...
...
This diff is collapsed.
Click to expand it.
PbootCMSDoc.CHM
+
0
-
0
View file @
39465480
No preview for this file type
This diff is collapsed.
Click to expand it.
apps/admin/controller/content/ContentController.php
+
11
-
7
View file @
39465480
...
...
@@ -229,14 +229,18 @@ class ContentController extends Controller
switch
(
$submit
)
{
case
'sorting'
:
// 修改列表排序
$listall
=
post
(
'listall'
);
$sorting
=
post
(
'sorting'
);
foreach
(
$listall
as
$key
=>
$value
)
{
if
(
$sorting
[
$key
]
===
''
||
!
is_numeric
(
$sorting
[
$key
]))
$sorting
[
$key
]
=
255
;
$this
->
model
->
modContent
(
$value
,
"sorting="
.
$sorting
[
$key
]);
if
(
$listall
)
{
$sorting
=
post
(
'sorting'
);
foreach
(
$listall
as
$key
=>
$value
)
{
if
(
$sorting
[
$key
]
===
''
||
!
is_numeric
(
$sorting
[
$key
]))
$sorting
[
$key
]
=
255
;
$this
->
model
->
modContent
(
$value
,
"sorting="
.
$sorting
[
$key
]);
}
$this
->
log
(
'修改内容排序成功!'
);
success
(
'修改成功!'
,
-
1
);
}
else
{
alert_back
(
'排序失败,无任何内容!'
);
}
$this
->
log
(
'修改内容排序成功!'
);
success
(
'修改成功!'
,
-
1
);
break
;
}
exit
();
...
...
This diff is collapsed.
Click to expand it.
apps/admin/controller/content/ContentSortController.php
+
11
-
7
View file @
39465480
...
...
@@ -229,14 +229,18 @@ class ContentSortController extends Controller
switch
(
$submit
)
{
case
'sorting'
:
// 修改列表排序
$listall
=
post
(
'listall'
);
$sorting
=
post
(
'sorting'
);
foreach
(
$listall
as
$key
=>
$value
)
{
if
(
$sorting
[
$key
]
===
''
||
!
is_numeric
(
$sorting
[
$key
]))
$sorting
[
$key
]
=
255
;
$this
->
model
->
modSortSorting
(
$value
,
"sorting="
.
$sorting
[
$key
]);
if
(
$listall
)
{
$sorting
=
post
(
'sorting'
);
foreach
(
$listall
as
$key
=>
$value
)
{
if
(
$sorting
[
$key
]
===
''
||
!
is_numeric
(
$sorting
[
$key
]))
$sorting
[
$key
]
=
255
;
$this
->
model
->
modSortSorting
(
$value
,
"sorting="
.
$sorting
[
$key
]);
}
$this
->
log
(
'批量修改栏目排序成功!'
);
success
(
'修改成功!'
,
-
1
);
}
else
{
alert_back
(
'排序失败,无任何内容!'
);
}
$this
->
log
(
'批量修改栏目排序成功!'
);
success
(
'修改成功!'
,
-
1
);
break
;
}
exit
();
...
...
This diff is collapsed.
Click to expand it.
apps/common/version.php
+
1
-
1
View file @
39465480
<?php
return
array
(
// 应用版本
'app_version'
=>
'1.0.
5
'
'app_version'
=>
'1.0.
6
'
);
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help