mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-23 16:58:41 +00:00
Compare commits
3 Commits
023cf71f25
...
8720fb3079
Author | SHA1 | Date | |
---|---|---|---|
8720fb3079 | |||
431598503f | |||
b656d59b23 |
@ -7,6 +7,10 @@ $purifier_type = UOJRequest::post('purifier_type', 'is_string', 'default');
|
||||
|
||||
$markdown = UOJRequest::post('markdown', 'is_string', '');
|
||||
|
||||
if ($markdown == '') {
|
||||
$markdown = '_Nothing to preview._';
|
||||
}
|
||||
|
||||
$parsedown = HTML::parsedown();
|
||||
|
||||
if ($purifier_type == 'inline') {
|
||||
|
@ -333,7 +333,7 @@ $comments_pag = new Paginator([
|
||||
</li>
|
||||
</ul>
|
||||
<?php if ($replies) : ?>
|
||||
<div id="replies-<?= $comment['id'] ?>" class="rounded bg-secondary-subtle mt-2 border"></div>
|
||||
<div id="replies-<?= $comment['id'] ?>" class="rounded bg-secondary bg-opacity-10 mt-2 border"></div>
|
||||
<?php endif ?>
|
||||
<script>
|
||||
showCommentReplies('<?= $comment['id'] ?>', <?= $replies_json ?>);
|
||||
|
@ -117,7 +117,7 @@ class HTML {
|
||||
return "https://q1.qlogo.cn/g?b=qq&nk={$user['qq']}&s=$s";
|
||||
}
|
||||
|
||||
return 'https://cravatar.cn/avatar/' . md5(strtolower(trim($user['email']))) . "?d=mm&s=$size";
|
||||
return 'https://cravatar.cn/avatar/' . md5(strtolower(trim($user['email']))) . "?d=404&s=$size";
|
||||
}
|
||||
|
||||
public static function tablist($tabs_info, $cur, $type = 'nav-tabs') {
|
||||
|
Loading…
Reference in New Issue
Block a user