diff --git a/themes/rule34v2/tag_edit.theme.php b/themes/rule34v2/tag_edit.theme.php index 3cafba02..1c1533af 100644 --- a/themes/rule34v2/tag_edit.theme.php +++ b/themes/rule34v2/tag_edit.theme.php @@ -6,6 +6,21 @@ namespace Shimmie2; class CustomTagEditTheme extends TagEditTheme { + public function display_mass_editor() + { + global $page; + $html = " + ".make_form(make_link("tag_edit/replace"))." + + + + +
Search
Replace
+ + "; + $page->add_block(new Block("Mass Tag Edit", $html)); + } + public function get_tag_editor_html(Image $image): string { $h_tags = html_escape($image->get_tag_list());