This website works better with JavaScript.
Home
Explore
Help
Sign In
isprogram
/
Akina-for-Typecho
mirror of
https://github.com/Zisbusy/Akina-for-Typecho
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
16
Wiki
Activity
Browse Source
修复语法错误,兼容PHP8.0。
pull/20/head
Zisbusy
2 years ago
parent
df4b47f4e4
commit
3dd9faf019
3 changed files
with
3 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
Akina/links.php
+1
-1
Akina/page.php
+1
-2
Akina/post.php
+ 1
- 1
Akina/links.php
View File
@ -10,8 +10,8 @@
<
div
class
=
"
blank
"
></
div
>
<
div
class
=
"
headertop
"
></
div
>
<
?
php
$bgImgUrl
=
''
;
if
(
$this
->
fields
->
radioPostImg
!=
'none'
&&
$this
->
fields
->
radioPostImg
!=
null
)
{
$bgImgUrl
=
''
;
switch
(
$this
->
fields
->
radioPostImg
)
{
case
'custom'
:
$bgImgUrl
=
$this
->
fields
->
thumbnail
;
+ 1
- 1
Akina/page.php
View File
@ -9,8 +9,8 @@
<
div
class
=
"
blank
"
></
div
>
<
div
class
=
"
headertop
"
></
div
>
<
?
php
$bgImgUrl
=
''
;
if
(
$this
->
fields
->
radioPostImg
!=
'none'
&&
$this
->
fields
->
radioPostImg
!=
null
)
{
$bgImgUrl
=
''
;
switch
(
$this
->
fields
->
radioPostImg
)
{
case
'custom'
:
$bgImgUrl
=
$this
->
fields
->
thumbnail
;
+ 1
- 2
Akina/post.php
View File
@ -16,8 +16,8 @@
<
?
php
else
:
?>
<!--
不是加密文章
-->
<
?
php
$bgImgUrl
=
''
;
if
(
$this
->
fields
->
radioPostImg
!=
'none'
&&
$this
->
fields
->
radioPostImg
!=
null
)
{
$bgImgUrl
=
''
;
switch
(
$this
->
fields
->
radioPostImg
)
{
case
'custom'
:
$bgImgUrl
=
$this
->
fields
->
thumbnail
;
@ -37,7 +37,6 @@
}
?>
<!--
透明导航栏后调整间距
-->
<!--
透明导航栏后调整间距
-->
<
?
php
if
(
strlen
(
$bgImgUrl
)
<=
4
&&
!
empty
(
$this
->
options
->
menu
)
&&
in_array
(
'transparent'
,
$this
->
options
->
menu
)
)
:
?>
<
style
>
.
site
-
main
{
Write
Preview
Loading…
Cancel
Save