From 62e43545989d931bd7a5e617ebe298834b6e6341 Mon Sep 17 00:00:00 2001 From: Shish Date: Sat, 16 Dec 2023 01:15:34 +0000 Subject: [PATCH] simplify --- themes/rule34v2/tag_edit.theme.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/themes/rule34v2/tag_edit.theme.php b/themes/rule34v2/tag_edit.theme.php index 5c9b1a38..d1a5138e 100644 --- a/themes/rule34v2/tag_edit.theme.php +++ b/themes/rule34v2/tag_edit.theme.php @@ -25,10 +25,10 @@ class CustomTagEditTheme extends TagEditTheme $page->add_block(new Block("Mass Tag Edit", $html)); } - public function get_tag_editor_html(Image $image): \MicroHTML\HTMLElement + public function get_tag_editor_html(Image $image): HTMLElement { $h_tags = html_escape($image->get_tag_list()); - return \MicroHTML\rawHTML(" + return rawHTML(" Tags @@ -38,13 +38,13 @@ class CustomTagEditTheme extends TagEditTheme "); } - public function get_source_editor_html(Image $image): \MicroHTML\HTMLElement + public function get_source_editor_html(Image $image): HTMLElement { global $user; $h_source = html_escape($image->get_source()); $f_source = $this->format_source($image->get_source()); $style = "overflow: hidden; white-space: nowrap; max-width: 350px; text-overflow: ellipsis;"; - return \MicroHTML\rawHTML(" + return rawHTML(" Source Link