This repository has been archived on 2024-09-05. You can view files and clone it, but cannot push or open issues or pull requests.
shimmie2/themes/lite/comment.theme.php
2023-12-15 21:25:18 +00:00

20 lines
490 B
PHP

<?php
declare(strict_types=1);
namespace Shimmie2;
class CustomCommentListTheme extends CommentListTheme
{
protected function comment_to_html(Comment $comment, bool $trim = false): string
{
$html = parent::comment_to_html($comment, $trim);
return "<div class='tframe'>$html</div>";
}
protected function build_postbox(int $image_id): string
{
$html = parent::build_postbox($image_id);
return "<div class='tframe'>$html</div>";
}
}