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

Commit

Permalink
Merge pull request #30 from FlyingSky-CN/1.0.3
Browse files Browse the repository at this point in the history
1.0.3
  • Loading branch information
FlyingSky-CN authored Jan 21, 2020
2 parents fc495e7 + 0ec60df commit 750b9f1
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion archive.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</div>
<?php if ($this->have()): ?>
<?php while($this->next()): ?>
<div class="mdui-card<?php if ($this->options->PjaxOption && $this->hidden): ?> protected<?php endif; ?>" style="margin-top: 20px;">
<div class="mdui-card post<?php if ($this->options->PjaxOption && $this->hidden): ?> protected<?php endif; ?>" style="margin-top: 20px;">
<?php if ($this->options->PjaxOption && !$this->hidden and postThumb($this)): ?>
<div class="mdui-card-media">
<a href="<?php $this->permalink() ?>">
Expand Down
2 changes: 1 addition & 1 deletion footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ function aln() {
return false
},
success: function(d) {
var c = $(d).find("#main .mdui-card"),
var c = $(d).find("#main .mdui-card.post"),
e = $(d).find(a).attr("href");
if (c) {
$('.ajaxload').before(c)
Expand Down
12 changes: 7 additions & 5 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
if(Helper::options()->GravatarUrl)define('__TYPECHO_GRAVATAR_PREFIX__', Helper::options()->GravatarUrl);

/* MDr Theme Version */
define('MDR_VERSION', '1.0.3 Dev');
define('MDR_VERSION', '1.0.3');

/* MDr themeConfig */
function themeConfig($form) {
Expand All @@ -13,9 +13,11 @@ function themeConfig($form) {
<p>
<span style="display: block;margin-bottom: 10px;margin-top: 10px;font-size: 16px;">感谢您使用 MDr 主题</span>
<span style="display: block;margin-bottom: 10px;margin-top: 10px;font-size: 14px;opacity:0.5">版本 <code id="mdr-version"></code></span>
<a style="font-size:14px;" href="https://blog.fsky7.com/archives/60/">关于&帮助&反馈</a>
</p>
<p><button class="btn" style="outline: 0" id="mdr-update">检查并更新主题</button></p>
<p>
<a href="https://blog.fsky7.com/archives/60/"><button class="btn primary">关于&帮助&反馈</button></a>
<button class="btn" style="outline: 0" id="mdr-update">检查并更新主题</button>
</p>
<textarea id="mdr-update-pre" class="w-100 mono" style="display:none" readonly></textarea>
<style>#mdr-update-pre{height:512px;}</style>
<div id="mdr-botnav" class="row">
Expand Down Expand Up @@ -556,7 +558,7 @@ function themeConfig($form) {
),
1,
_t('图片灯箱'),
_t('<b>当前版本不可用</b>')
_t('默认开启,采用的是 <a target="_blank" href="http://fancyapps.com/fancybox/3/">Fancybox</a>')
);
$form->addInput($ViewImg);

Expand Down Expand Up @@ -1274,4 +1276,4 @@ function license($license) {
} else {
echo '<div class="copyright">本篇文章未指定许可协议。</div>';
}
}
}
2 changes: 1 addition & 1 deletion header.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
.mdui-theme-layout-dark .whisper .comment-child {
background: none;
}
.mdui-theme-layout-dark .whisper .comment-body, .mdui-theme-layout-dark .whisper .comment-list li.comment-parent, .mdui-theme-layout-dark .post {
.mdui-theme-layout-dark .whisper .comment-body, .mdui-theme-layout-dark .whisper .comment-list li.comment-parent {
border: 1px solid #424242;
}
/* 滚动条 */
Expand Down
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</article>
<?php endif; ?>
<?php while($this->next()): ?>
<div class="mdui-card<?php if ($this->options->PjaxOption && $this->hidden): ?> protected<?php endif; ?>" style="margin-top: 20px;">
<div class="mdui-card post<?php if ($this->options->PjaxOption && $this->hidden): ?> protected<?php endif; ?>" style="margin-top: 20px;">
<?php if ($this->options->PjaxOption && !$this->hidden and postThumb($this)): ?>
<div class="mdui-card-media">
<a href="<?php $this->permalink() ?>">
Expand Down

0 comments on commit 750b9f1

Please sign in to comment.