mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-27 14:06:19 +00:00
Compare commits
No commits in common. "8720fb30796004376c11cc79b149dd6a9fc2c3d0" and "023cf71f2528889d40f17b3571ed7fbd03f4fbf2" have entirely different histories.
8720fb3079
...
023cf71f25
@ -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') {
|
||||||
|
@ -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 ?>);
|
||||||
|
@ -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&s=$size";
|
return 'https://cravatar.cn/avatar/' . md5(strtolower(trim($user['email']))) . "?d=mm&s=$size";
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function tablist($tabs_info, $cur, $type = 'nav-tabs') {
|
public static function tablist($tabs_info, $cur, $type = 'nav-tabs') {
|
||||||
|
Loading…
Reference in New Issue
Block a user