refactor: change the placeholder img

pull/409/head^2
Seaton Jiang 2021-08-20 10:23:41 +08:00
parent 10ee3c4a73
commit 56cafe1ea0
No known key found for this signature in database
GPG Key ID: 0E05070D261ACFEA
5 changed files with 3 additions and 3 deletions

BIN
assets/img/200.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 559 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 559 B

View File

@ -20,7 +20,7 @@
<div class="wechat">
<span class="kicon i-wechat"></span>
<div class="wechat-pic">
<img src="<?php echo kratos_option('g_wechat_url', ASSET_PATH . '/assets/img/wechat.png', 'g_wechat_fieldset'); ?>">
<img src="<?php echo kratos_option('g_wechat_url', ASSET_PATH . '/assets/img/200.png', 'g_wechat_fieldset'); ?>">
</div>
</div>
<?php } ?>

View File

@ -89,8 +89,8 @@ function theme_autoload()
$data = array(
'site' => home_url(),
'directory' => ASSET_PATH,
'alipay' => kratos_option('g_donate_alipay', ASSET_PATH . '/assets/img/donate.png'),
'wechat' => kratos_option('g_donate_wechat', ASSET_PATH . '/assets/img/donate.png'),
'alipay' => kratos_option('g_donate_alipay', ASSET_PATH . '/assets/img/200.png'),
'wechat' => kratos_option('g_donate_wechat', ASSET_PATH . '/assets/img/200.png'),
'repeat' => __('您已经赞过了', 'kratos'),
'thanks' => __('感谢您的支持', 'kratos'),
'donate' => __('打赏作者', 'kratos'),