diff options
| author | Eltrac <45323514+BigCoke233@users.noreply.github.com> | 2019-07-25 18:25:55 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-25 18:25:55 +0800 |
| commit | 1718bd7eda230ecc5f26fa75938c712c0ea38ad4 (patch) | |
| tree | 1916ab5408a6bb90179e8f968f0f260b79ff1edc /includes | |
| parent | 35a51540b738f47c500b47a3398416e951096e5a (diff) | |
Add files via upload
Diffstat (limited to 'includes')
| -rw-r--r-- | includes/comments.php | 3 | ||||
| -rw-r--r-- | includes/footer.php | 2 | ||||
| -rw-r--r-- | includes/head.php | 16 | ||||
| -rw-r--r-- | includes/header.php | 1 |
4 files changed, 12 insertions, 10 deletions
diff --git a/includes/comments.php b/includes/comments.php index 5291561..785f2d6 100644 --- a/includes/comments.php +++ b/includes/comments.php @@ -118,4 +118,5 @@ echo $commentClass; <h3 class="comment-closed-alert"><?php _e('<i class="iconfont icon-x"></i> 评论已关闭'); ?></h3>
<?php endif; ?>
</div>
- </div>
\ No newline at end of file + </div>
+
\ No newline at end of file diff --git a/includes/footer.php b/includes/footer.php index 3046994..91f036d 100644 --- a/includes/footer.php +++ b/includes/footer.php @@ -43,7 +43,7 @@ afterPjax = function() {<?php if($this->is('post') || $this->is('page')): ?>owoLoad();<?php endif; ?><?php $this->options->pjax_complete(); ?>} <?php endif; ?></script> <script src="<?php Utils::indexTheme('assets/js/miracles.min.js'); ?>"></script> - <script>LazyLoad();PrismLoad();<?php if($this->is('post') || $this->is('page')): ?>owoLoad();<?php endif; ?>panguLoad();<?php $this->options->jsEcho(); ?></script> + <script><?php if($this->options->news==!''): ?>alertSend('公告:<?php echo $this->options->news(); ?>');<?php endif; ?>LazyLoad();PrismLoad();<?php if($this->is('post') || $this->is('page')): ?>owoLoad();<?php endif; ?>panguLoad();<?php $this->options->jsEcho(); ?></script> <?php $this->footer(); ?> </body> </html>
\ No newline at end of file diff --git a/includes/head.php b/includes/head.php index 988ba6f..e32bef0 100644 --- a/includes/head.php +++ b/includes/head.php @@ -45,13 +45,13 @@ if (isset($_POST['action'])) { <?php $this->options->headerEcho(); ?> <!-- css --> <?php if($this->options->CDN && $this->options->CDN=1): ?> - <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/BigCoke233/miracles@<?php themeVersion(); ?>/assets/css/prism.css" /> - <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/BigCoke233/miracles@<?php themeVersion(); ?>/assets/css/owo.min.css" /> - <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/BigCoke233/miracles@<?php themeVersion(); ?>/assets/css/normalize.css" /> - <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/BigCoke233/miracles@<?php themeVersion(); ?>/assets/css/fancybox.css" /> - <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/BigCoke233/miracles@<?php themeVersion(); ?>/assets/css/prism.css" /> - <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/BigCoke233/miracles@<?php themeVersion(); ?>/assets/css/miracles.min.css" /> - <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/BigCoke233/miracles@<?php themeVersion(); ?>/assets/css/dark.miracles.css" /> + <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/BigCoke233/miracles@<?php echo themeVersion(); ?>/assets/css/prism.css" /> + <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/BigCoke233/miracles@<?php echo themeVersion(); ?>/assets/css/owo.min.css" /> + <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/BigCoke233/miracles@<?php echo themeVersion(); ?>/assets/css/normalize.css" /> + <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/BigCoke233/miracles@<?php echo themeVersion(); ?>/assets/css/fancybox.css" /> + <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/BigCoke233/miracles@<?php echo themeVersion(); ?>/assets/css/prism.css" /> + <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/BigCoke233/miracles@<?php echo themeVersion(); ?>/assets/css/miracles.min.css" /> + <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/BigCoke233/miracles@<?php echo themeVersion(); ?>/assets/css/dark.miracles.css" /> <?php else: ?> <link rel="stylesheet" href="<?php Utils::indexTheme('assets/css/prism.css'); ?>" /> <link rel="stylesheet" href="<?php Utils::indexTheme('assets/css/owo.min.css'); ?>" /> @@ -62,7 +62,7 @@ if (isset($_POST['action'])) { <link rel="stylesheet" href="<?php Utils::indexTheme('assets/css/dark.miracles.css'); ?>" /> <?php endif; ?> <!-- icon font --> - <link rel="stylesheet" href="//at.alicdn.com/t/font_1165190_oo2f2wsibld.css" /> + <link rel="stylesheet" href="//at.alicdn.com/t/font_1165190_nczm02by8we.css" /> <!-- Google Fonts --> <link href="https://fonts.googleapis.com/css?family=Noto+Sans+SC:300|Noto+Serif+SC:300&display=swap" rel="stylesheet"> <style>.body-dark .pio-action .pio-home{background-image: url(<?php Utils::indexTheme('images/icons/home.png'); ?>);}.body-dark .pio-action .pio-close{background-image: url(<?php Utils::indexTheme('images/icons/remove.png'); ?>);}.body-dark .pio-action .pio-skin{background-image: url(<?php Utils::indexTheme('images/icons/skin.png'); ?>);}.body-dark .pio-action .pio-info{background-image: url(<?php Utils::indexTheme('images/icons/info.png'); ?>);}.body-dark .pio-action .pio-night{background-image: url(<?php Utils::indexTheme('images/icons/night.png'); ?>);}@media (min-width:992px) {.search{background-image:url(<?php Utils::indexTheme('images/search.png'); ?>);}.login{background-image:url(<?php Utils::indexTheme('images/login.png'); ?>)}}.search {background-position: bottom right;background-repeat: no-repeat}.login {background-position: bottom left;background-repeat:no-repeat}<?php $this->options->cssEcho(); ?></style> diff --git a/includes/header.php b/includes/header.php index f1ebb6d..e503537 100644 --- a/includes/header.php +++ b/includes/header.php @@ -1,5 +1,6 @@ <?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?> <div class="mask"></div> + <div class="alert ready"><p class="alert-content">错误!未定义的 alert 信息</p><button onclick="alertClose()" class="alert-close"><i class="iconfont icon-x"></i></button></div> <!-- 搜索 --> <div class="search ready"> <button class="search-close ready" onclick="Search()"><i class="iconfont icon-x"></i></button> |
