diff options
Diffstat (limited to 'includes/footer.php')
| -rw-r--r-- | includes/footer.php | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/includes/footer.php b/includes/footer.php index 82d39dc..61d9bd4 100644 --- a/includes/footer.php +++ b/includes/footer.php @@ -7,7 +7,9 @@ <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?"记录已延续了 <span id=\"build-time\"></span>":""; + 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>"; @@ -18,7 +20,7 @@ </footer> <!-- Raised Buttons --> <div class="fixed-tools"> - <button title="返回顶部" class="fixed-button gotop-button" id="gotop"><i class="iconfont icon-chevron-up"></i></button> + <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 @@ -35,6 +37,13 @@ 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>--> |
