mirror of
https://dl.bcrjl.com/ghg/HaoOuBa/Joe.git
synced 2026-02-17 13:10:05 +08:00
更新
This commit is contained in:
@@ -32,6 +32,18 @@
|
||||
</div>
|
||||
|
||||
<script>
|
||||
<?php
|
||||
$cookie = Typecho_Cookie::getPrefix();
|
||||
$notice = $cookie . '__typecho_notice';
|
||||
$type = $cookie . '__typecho_notice_type';
|
||||
?>
|
||||
<?php if (isset($_COOKIE[$notice]) && isset($_COOKIE[$type]) && ($_COOKIE[$type] == 'success' || $_COOKIE[$type] == 'notice' || $_COOKIE[$type] == 'error')) : ?>
|
||||
Qmsg.info("<?php echo preg_replace('#\[\"(.*?)\"\]#', '$1', $_COOKIE[$notice]); ?>!")
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
Typecho_Cookie::delete('__typecho_notice');
|
||||
Typecho_Cookie::delete('__typecho_notice_type');
|
||||
?>
|
||||
console.log("%c页面加载耗时:<?php _endCountTime(); ?> | Theme By Joe", "color:#fff; background: linear-gradient(270deg, #986fee, #8695e6, #68b7dd, #18d7d3); padding: 8px 15px; border-radius: 0 15px 0 15px");
|
||||
<?php $this->options->JCustomScript() ?>
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user