Files
cavepaintings/themes/lite/comment.theme.php
2023-12-15 21:25:18 +00:00

21 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>";
}
}