diff options
| author | Eltrac <45323514+BigCoke233@users.noreply.github.com> | 2019-12-14 16:01:20 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-14 16:01:20 +0800 |
| commit | ca7ccadcf331770cf223adf5e7cb5b60ced09442 (patch) | |
| tree | b7fb193a76f436ec81aa09e3335b3f745fe7140e | |
| parent | cc8eb451461e0790bd3a5437b9ec7008fd3f1b03 (diff) | |
✂️ Del: 移除内置 Live2d
| -rw-r--r-- | includes/footer.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/includes/footer.php b/includes/footer.php index b3cb448..66d4702 100644 --- a/includes/footer.php +++ b/includes/footer.php @@ -36,12 +36,11 @@ <script src="<?php Utils::indexTheme('assets/js/pangu.js'); ?>"></script> <?php endif; ?> <!-- Varribles and Functions --> - <script>var allowNavAero=<?php if($this->options->navAero==0):?>true<?php else:?>false<?php endif;?>;var siteurl = '<?php $this->options->SiteUrl() ;?>';var owoJson = '<?php Utils::indexTheme('assets/OwO.json'); ?>';<?php if($this->options->customModel!=''): ?>var modelJson = "<?php echo $this->options->customModel(); ?>";<?php else: ?>var modelJson = '<?php if($this->options->cat && $this->options->cat==1){Utils::indexTheme('assets/model/hijiki/assets/hijiki.model.json');}elseif($this->options->cat && $this->options->cat==2){Utils::indexTheme('assets/model/tororo/assets/tororo.model.json');}?>';<?php endif;?><?php if($this->options->ModelHeight!=NULL): ?>var modelHeight = <?php echo $this->options->ModelHeight(); ?>;<?php endif; ?><?php if($this->options->ModelWidth!=NULL): ?>var modelWidth = <?php echo $this->options->ModelWidth(); ?>;<?php endif; ?> + <script>var allowNavAero=<?php if($this->options->navAero==0):?>true<?php else:?>false<?php endif;?>;var siteurl = '<?php $this->options->SiteUrl() ;?>';var owoJson = '<?php Utils::indexTheme('assets/OwO.json'); ?>'; <?php if($this->options->pjax && $this->options->pjax!=0) :?>var loadPjax = true; beforePjax = function() {NProgress.start();}; afterPjax = function() {owoLoad();<?php $this->options->pjax_complete(); ?>};<?php endif; ?></script> <!-- Script that must be after --> - <?php if($this->options->cat!=0 || $this->options->customModel!=''): ?><script src="<?php Utils::indexTheme('assets/js/l2dwidget.min.js'); ?>"></script><?php endif; ?> <script src="<?php Utils::indexTheme('assets/js/miracles.min.js'); ?>"></script> <!-- Send News and Loaders --> <script><?php if($this->is('index')): ?><?php if($this->options->news==!''): ?>alertSend('公告:<?php echo $this->options->news(); ?>');<?php endif; ?><?php endif; ?><?php if($this->is('post') || $this->is('page')): ?>owoLoad();<?php endif; ?><?php $this->options->jsEcho(); ?></script> |
