diff options
| author | BigCoke233 <hi@guhub.cn> | 2020-07-30 23:49:46 +0800 |
|---|---|---|
| committer | BigCoke233 <hi@guhub.cn> | 2020-07-30 23:49:46 +0800 |
| commit | 52ab9c1909f39c8854e8235cddd351ef72505e91 (patch) | |
| tree | 0d8de56dc167919197d9567578430c106e996c1e /includes/footer.php | |
| parent | 23c8e8fed64c5995101cc9ceb08706d8849b0a3c (diff) | |
:fire: Del: 移除旧版本所有文件,准备 2.0 版本
Diffstat (limited to 'includes/footer.php')
| -rw-r--r-- | includes/footer.php | 82 |
1 files changed, 0 insertions, 82 deletions
diff --git a/includes/footer.php b/includes/footer.php deleted file mode 100644 index 197c040..0000000 --- a/includes/footer.php +++ /dev/null @@ -1,82 +0,0 @@ -<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?> - </div><!-- 结束 pjax-container --> - <!-- Footer Information --> - <footer> - <div class="footer-info footer-dark"> - <p id="custom-footer"><?php $this->options->footerEcho(); ?></p> - <p class="copyright"><span id="copyright">Powered by <a href="http://typecho.org">Typecho</a> | Theme <a href="https://github.com/BigCoke233/miracles" id="copyright-name">Miracles</a> by <a href="https://guhub.cn" id="copyright-author">Eltrac</a></span><br> - Copyright © <?php echo date('Y'); ?> <a href="<?php $this->options->SiteUrl(); ?>"><?php $this->options->title(); ?></a>, All rights reserved.<br> - <?php - echo $this->options->build_time; - gtecho('footerTexts','startTime'); - echo " <span id=\"build-time\"></span>"; - if($faces=$this->options->anime_face){ - $faces = explode("&&",$faces); - $faces = "<span class=\"anime-face\">".$faces[mt_rand(0,count($faces)-1)]."</span>"; - } - if($faces && $this->options->build_time) echo $faces; - ?></p> - </div> - </footer> - <!-- Raised Buttons --> - <div class="fixed-tools"> - <button class="fixed-button gotop-button hint--top" data-tooltip="<?php gtecho("otherTexts","goTop"); ?>" id="gotop"><i class="iconfont icon-chevron-up"></i></button> - </div> - <!-- JavaScript Require--> - <?php - $js_files=array("jquery","pjax.jquery","gazeimg","nprogress","OwO.min","highlight","highlight-line-number","pangu","qrcode.min","details-element-polyfill","alertify"); - if($this->options->customCDN): $custom=$this->options->customCDN; else: $custom=Helper::options()->themeUrl("","Miracles"); endif; - Utils::addRequires($js_files,"js",$this->options->CDN,$custom); - ?> - <!-- Options --><!--<nocompress>--> - <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() ;?>'; - var owoJson = '<?php Utils::indexTheme('assets/OwO.json'); ?>'; - var faviconUrl = '<?php if($this->options->favicon):$this->options->favicon();else:echo Utils::indexTheme('favicon.ico');endif; ?>'; - var faviconDark = <?php $faviconDarkExist = file_exists('/faviconDark.ico'); - if($faviconDarkExist=true): echo 'true'; else: echo 'false'; endif; ?>; - var commentSubmit = '<?php gtecho('commentFormTexts','submitLoading'); ?>'; - var commentSubmitLoading = '<?php gtecho('commentFormTexts','submit'); ?>'; - var footerTimeDay = '<?php gtecho('footerTexts','startTimeDay'); ?>'; - var footerTimeHour = '<?php gtecho('footerTexts','startTimeHour'); ?>'; - var footerTimeMin = '<?php gtecho('footerTexts','startTimeMin'); ?>'; - var footerTimeSec = '<?php gtecho('footerTexts','startTimeSec'); ?>'; - var footerTimeYear = '<?php gtecho('footerTexts','startTimeYear'); ?>'; - <?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><!--</nocompress>--> - <!-- Script that must be after--> - <?php - $js_files=array("miracles.min","cmt.miracles"); - if($this->options->customCDN): $custom=$this->options->customCDN; else: $custom=Helper::options()->themeUrl("","Miracles"); endif; - Utils::addRequires($js_files,"js",$this->options->CDN,$custom); - ?> - <!-- JavaScript --> - <!--<nocompress>--><script> - <?php if($this->options->build_time)echo "startTime(\"".$this->options->build_time."\");" ?> - </script><!--</nocompress>--> - <!-- Send News and Loaders --> - <script><?php if($this->is('post') || $this->is('page')): ?>owoLoad();<?php endif; ?><?php $this->options->jsEcho(); ?></script> - <!-- Others --> - <?php $this->footer(); ?> - </body> -</html> -<?php if($GLOBALS['miraclesIfCompressHTML']=='on') { - $html_source = ob_get_contents(); //获取 ob 截取内容 - ob_clean(); print Utils::compressHtml($html_source); ob_end_flush(); //完成截取、压缩 HTML -} ?> -<!-- - -Powered by Typecho, -Theme Miracles by - _____ _ _ -| ____| | |_ _ __ __ _ ___ -| _| | | __| '__/ _` |/ __| -| |___| | |_| | | (_| | (__ -|_____|_|\__|_| \__,_|\___| - -Repo: https://github.com/BigCoke233/miracles - ---> |
