diff options
| author | Eltrac <45323514+BigCoke233@users.noreply.github.com> | 2019-07-19 16:37:01 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-19 16:37:01 +0800 |
| commit | 5456d7d2b91ecd801902ecc7adea7db94db79fa6 (patch) | |
| tree | 60b8b16219b94bb422f14a9bc1ef88d4bcbc93fa /includes/footer.php | |
| parent | 525276d9c9dca8e404c99598c1ad4fc285563c68 (diff) | |
Bug Fix/CSS improve
Diffstat (limited to 'includes/footer.php')
| -rw-r--r-- | includes/footer.php | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/includes/footer.php b/includes/footer.php index fda879c..10fa10d 100644 --- a/includes/footer.php +++ b/includes/footer.php @@ -1,18 +1,19 @@ <?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?> - </div> + </div><!-- 结束 pjax-container --> + <!-- 页脚信息 --> <footer> <div class="footer-info footer-dark"> - <p>© <?php echo date('Y'); ?> <a href="<?php $this->options->SiteUrl(); ?>"><?php $this->options->title(); ?></a> All rights reserved.<br /> + <p class="copyright">© <?php echo date('Y'); ?> <a href="<?php $this->options->SiteUrl(); ?>"><?php $this->options->title(); ?></a> All rights reserved.<br /> Powered by <a href="http://typecho.org">Typecho</a> | Theme <a href="https://guhub.cn/p/miracles.html">Miracles</a> by <a href="https://guhub.cn">Eltrac</a></p> <?php $this->options->footerEcho(); ?> </div> </footer> - + <!-- 悬浮按钮 --> <div class="fixed-tools"> <button onclick="GoTop()" title="返回顶部" class="gotop-button" style="color:white;"><i class="iconfont icon-chevron-up"></i></button> <button onclick="Dark()" title="护眼模式" class="dark-button"><i class="iconfont icon-envira"></i></button> </div> - + <!-- JavaScript --> <script src="<?php Utils::indexTheme('assets/js/jquery.js'); ?>"></script> <script src="<?php Utils::indexTheme('assets/js/pjax.jquery.js'); ?>"></script> <script src="<?php Utils::indexTheme('assets/js/jquery.fancybox.js'); ?>"></script> @@ -21,7 +22,6 @@ <script src="<?php Utils::indexTheme('assets/js/OwO.min.js'); ?>"></script> <script src="<?php Utils::indexTheme('assets/js/prism.js'); ?>"></script> <script src="<?php Utils::indexTheme('assets/js/main.js'); ?>"></script> - <script> //pjax-loader var siteurl = '<?php $this->options->SiteUrl() ;?>'; @@ -41,7 +41,7 @@ pres[i].className = 'line-numbers';} Prism.highlightAll(true,null);} $('form#login-form').addClass('need-refresh'); - var OwO_demo = new OwO({logo: 'OωO表情',container: document.getElementsByClassName('OwO')[0],target: document.getElementsByClassName('OwO-textarea')[0],api: '<?php Utils::indexTheme('assets/OwO.json'); ?>',position: 'down',width: '350px',maxHeight: '250px'}); + var OwO_demo = new OwO({logo: 'OωO表情',container: document.getElementsByClassName('OwO')[0],target: document.getElementsByClassName('OwO-textarea')[0],api: '<?php Utils::indexTheme('assets/OwO.json'); ?>',position: 'down',width: '300px',maxHeight: '250px'}); jQuery(function() {jQuery("img").lazyload({threshold: 200,effect: "fadeIn"});}); }); //LazyLoad @@ -56,14 +56,9 @@ //Login function Login() {$(".login").toggleClass("ready");$(".login-close").toggleClass("ready");} //OwO - var OwO_demo = new OwO({logo: 'OωO表情',container: document.getElementsByClassName('OwO')[0],target: document.getElementsByClassName('OwO-textarea')[0],api: '<?php Utils::indexTheme('assets/OwO.json'); ?>',position: 'down',width: '350px',maxHeight: '250px'}); + var OwO_demo = new OwO({logo: 'OωO表情',container: document.getElementsByClassName('OwO')[0],target: document.getElementsByClassName('OwO-textarea')[0],api: '<?php Utils::indexTheme('assets/OwO.json'); ?>',position: 'down',width: '300px',maxHeight: '250px'}); </script> + <?php if($this->options->jsEcho && $this->options->jsEcho!=''): ?><style><?php $this->options->jsEcho(); ?></style><?php endif; ?> <?php $this->footer(); ?> - - <?php if($this->options->jsEcho && $this->options->jsEcho!=''): ?> - <style> - <?php $this->options->jsEcho(); ?> - </style> - <?php endif; ?> </body> </html> |
