Parcourir la source

兼容PHP8

pull/20/head
Zisbusy il y a 2 ans
committed by GitHub
Parent
révision
2f4b9ecfa7
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: 4AEE18F83AFDEB23
1 fichiers modifiés avec 1 ajouts et 2 suppressions
  1. +1
    -2
      Akina/tags.php

+ 1
- 2
Akina/tags.php Voir le fichier

@ -9,8 +9,8 @@
<div class="blank"></div> <div class="blank"></div>
<div class="headertop"></div> <div class="headertop"></div>
<?php <?php
$bgImgUrl = '';
if ( $this->fields->radioPostImg != 'none' && $this->fields->radioPostImg != null ) { if ( $this->fields->radioPostImg != 'none' && $this->fields->radioPostImg != null ) {
$bgImgUrl = '';
switch ( $this->fields->radioPostImg ) { switch ( $this->fields->radioPostImg ) {
case 'custom': case 'custom':
$bgImgUrl = $this->fields->thumbnail; $bgImgUrl = $this->fields->thumbnail;
@ -31,7 +31,6 @@
} }
?> ?>
<!-- 透明导航栏后调整间距 --> <!-- 透明导航栏后调整间距 -->
<!-- 透明导航栏后调整间距 -->
<?php if (strlen($bgImgUrl) <= 4 && !empty($this->options->menu) && in_array('transparent', $this->options->menu) ): ?> <?php if (strlen($bgImgUrl) <= 4 && !empty($this->options->menu) && in_array('transparent', $this->options->menu) ): ?>
<style> <style>
.site-main { .site-main {

Chargement…
Annuler
Enregistrer