Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Commit

Permalink
Update Components.php
Browse files Browse the repository at this point in the history
  • Loading branch information
bakaomg committed Apr 18, 2021
1 parent 449ea5c commit d9a7209
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/libs/settingLibs/Components.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Castle Theme Config Component
* Last Update: 2021/04/13
* Last Update: 2021/04/18
*/
if (!defined('__TYPECHO_ROOT_DIR__')) exit;

Expand Down Expand Up @@ -64,7 +64,7 @@ public function themePanel()
<div id="update-msg"><span class="mdui-text-color-pink-accent">正在检查是否有新版本...</span></div>
<div id="update-data" data-up="' . base64_encode('theme=' . Castle_Libs::getTheme() . '&version=' . CASTLE_VERSION . '&token=' . $this->token) . '"></div>
<script>CastleUpdate.AJAXGet();</script>
相关链接:<a href="https://ohmyga.cn/" target="_blank">O\'s Blog</a> | <a href="https://castle.baka.show/docs/' . CASTLE_VERSION . '/#/" target="_blank">主题文档</a> | <a href="https://github.com/ohmyga233/castle-Typecho-Theme" target="_blank">GitHub 发布页</a>
相关链接:<a href="https://ohmyga.cn/" target="_blank">O\'s Blog</a> | <a href="https://castle.baka.show/docs/' . substr(CASTLE_VERSION, 0, 5) . '/#/" target="_blank">主题文档</a> | <a href="https://github.com/ohmyga233/castle-Typecho-Theme" target="_blank">GitHub 发布页</a>
<br/><br/>
<button class="mdui-btn mdui-btn-dense mdui-btn-raised mdui-color-teal" type="button" onclick="CastlePanel.open();">打开全部面板</button>
<button class="mdui-btn mdui-btn-dense mdui-btn-raised mdui-color-red" type="button" onclick="CastlePanel.close();">关闭全部面板</button>
Expand Down

0 comments on commit d9a7209

Please sign in to comment.