diff options
| author | BigCoke233 <hi@guhub.cn> | 2020-04-16 22:22:13 +0800 |
|---|---|---|
| committer | BigCoke233 <hi@guhub.cn> | 2020-04-16 22:22:13 +0800 |
| commit | b7b69dcbb0858ff2c676be63dbc70ca7b4e0db84 (patch) | |
| tree | bb9bb83a481bbd1d2aafec3c332c63dc4591425f /includes/footer.php | |
| parent | 4aa4a7b7388ca9d1bedc71b971220b2ef1941dcd (diff) | |
:fish: Perf: 一些不想写 message 的优化
Diffstat (limited to 'includes/footer.php')
| -rw-r--r-- | includes/footer.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/footer.php b/includes/footer.php index c1f6589..e4c349c 100644 --- a/includes/footer.php +++ b/includes/footer.php @@ -26,8 +26,8 @@ if($this->options->customCDN): $custom=$this->options->customCDN; else: $custom=Helper::options()->themeUrl("","Miracles"); endif; generate_require($js_files,"js",$this->options->CDN,$custom); ?> - <!-- Varribles and Functions --> - <script> + <!-- Options --> + <script>var navSlide = <?php if($this->options->navSlide==1):?>false<?php else:?>true<?php endif;?>; var panguLoadAllow = <?php if($this->options->pangu==1):?>false<?php else:?>true<?php endif;?>; var allowNavAero = <?php if($this->options->navAero==1):?>false<?php else:?>true<?php endif;?>; var siteurl = '<?php $this->options->SiteUrl() ;?>'; |
