Skip to content

Commit

Permalink
APlayer
Browse files Browse the repository at this point in the history
  • Loading branch information
Yu-Misaka committed Dec 31, 2024
1 parent aa7dc4b commit 515ad7b
Show file tree
Hide file tree
Showing 205 changed files with 246 additions and 603 deletions.
4 changes: 2 additions & 2 deletions comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
function threadedComments($comments, $options)
{
$cl = $comments->levels > 0 ? 'c_c' : 'c_p';
$isAdmin = $comments->authorId === 1; // 判断评论者是否是站长
$isAdmin = $comments->authorId == 1; // 判断评论者是否是站长
$author = $comments->url ? '<a href="' . $comments->url . '" target="_blank" rel="external nofollow">' . $comments->author . '</a>' : $comments->author;
?>
<li id="li-<?php $comments->theId(); ?>" class="<?php echo $cl; ?>">
<div id="<?php $comments->theId(); ?>">
<?php $avatarUrl = 'https://cn.cravatar.com/avatar/' . md5(strtolower($comments->mail)) . '?s=128&d=mm'; ?>
<?php $avatarUrl = 'https://weavatar.com/avatar/'.md5(strtolower($comments->mail)).'?s=220&d=mm'; ?>
<img class="avatarcc" src="<?php echo $avatarUrl; ?>" loading="lazy" alt="评论头像" />
<div class="cp">
<?php echo parseOwOcodes($comments->content); ?>
Expand Down
1 change: 1 addition & 0 deletions css/APlayer.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions css/PureSuck_Style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2079,6 +2079,7 @@ textarea.ci {
url('../fonts/fontello.svg?3760722#fontello') format('svg');
font-weight: normal;
font-style: normal;
font-display: fallback;
}

/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
Expand Down
Loading

0 comments on commit 515ad7b

Please sign in to comment.