Compare commits

..

No commits in common. "8720fb30796004376c11cc79b149dd6a9fc2c3d0" and "023cf71f2528889d40f17b3571ed7fbd03f4fbf2" have entirely different histories.

3 changed files with 2 additions and 6 deletions

View File

@ -7,10 +7,6 @@ $purifier_type = UOJRequest::post('purifier_type', 'is_string', 'default');
$markdown = UOJRequest::post('markdown', 'is_string', ''); $markdown = UOJRequest::post('markdown', 'is_string', '');
if ($markdown == '') {
$markdown = '_Nothing to preview._';
}
$parsedown = HTML::parsedown(); $parsedown = HTML::parsedown();
if ($purifier_type == 'inline') { if ($purifier_type == 'inline') {

View File

@ -333,7 +333,7 @@ $comments_pag = new Paginator([
</li> </li>
</ul> </ul>
<?php if ($replies) : ?> <?php if ($replies) : ?>
<div id="replies-<?= $comment['id'] ?>" class="rounded bg-secondary bg-opacity-10 mt-2 border"></div> <div id="replies-<?= $comment['id'] ?>" class="rounded bg-secondary-subtle mt-2 border"></div>
<?php endif ?> <?php endif ?>
<script> <script>
showCommentReplies('<?= $comment['id'] ?>', <?= $replies_json ?>); showCommentReplies('<?= $comment['id'] ?>', <?= $replies_json ?>);

View File

@ -117,7 +117,7 @@ class HTML {
return "https://q1.qlogo.cn/g?b=qq&nk={$user['qq']}&s=$s"; return "https://q1.qlogo.cn/g?b=qq&nk={$user['qq']}&s=$s";
} }
return 'https://cravatar.cn/avatar/' . md5(strtolower(trim($user['email']))) . "?d=404&amp;s=$size"; return 'https://cravatar.cn/avatar/' . md5(strtolower(trim($user['email']))) . "?d=mm&amp;s=$size";
} }
public static function tablist($tabs_info, $cur, $type = 'nav-tabs') { public static function tablist($tabs_info, $cur, $type = 'nav-tabs') {