diff --git a/themes/lite/comment.theme.php b/themes/lite/comment.theme.php
index 20717a98..3be430a8 100644
--- a/themes/lite/comment.theme.php
+++ b/themes/lite/comment.theme.php
@@ -8,11 +8,13 @@ class CustomCommentListTheme extends CommentListTheme
{
protected function comment_to_html(Comment $comment, bool $trim = false): string
{
- return $this->rr(parent::comment_to_html($comment, $trim));
+ $html = parent::comment_to_html($comment, $trim);
+ return "
$html
";
}
protected function build_postbox(int $image_id): string
{
- return $this->rr(parent::build_postbox($image_id));
+ $html = parent::build_postbox($image_id);
+ return "$html
";
}
}
diff --git a/themes/lite/setup.theme.php b/themes/lite/setup.theme.php
index 34f18544..2629eacd 100644
--- a/themes/lite/setup.theme.php
+++ b/themes/lite/setup.theme.php
@@ -41,6 +41,6 @@ class CustomSetupTheme extends SetupTheme
";
- return $this->rr($html);
+ return "$html
";
}
}
diff --git a/themes/lite/themelet.class.php b/themes/lite/themelet.class.php
index 39c61b72..923c50d6 100644
--- a/themes/lite/themelet.class.php
+++ b/themes/lite/themelet.class.php
@@ -13,18 +13,6 @@ use function MicroHTML\{A,DIV,SPAN,joinHTML};
*/
class Themelet extends BaseThemelet
{
- /**
- * Put something in a rounded rectangle box; specific to the default theme.
- */
- public function rr(string $html): string
- {
- return "
-
- $html
-
- ";
- }
-
public function display_paginator(Page $page, string $base, ?string $query, int $page_number, int $total_pages, bool $show_random = false)
{
if ($total_pages == 0) {
diff --git a/themes/lite/user_config.theme.php b/themes/lite/user_config.theme.php
index b0c9f1fe..2bd8c01d 100644
--- a/themes/lite/user_config.theme.php
+++ b/themes/lite/user_config.theme.php
@@ -41,6 +41,6 @@ class CustomUserConfigTheme extends UserConfigTheme
";
- return $this->rr($html);
+ return "$html
";
}
}