[r34] remove redundant overrides
This commit is contained in:
parent
625406e591
commit
ab376f4dff
1 changed files with 1 additions and 16 deletions
|
@ -10,21 +10,6 @@ use function MicroHTML\{TR, TH, TD, emptyHTML, rawHTML, joinHTML, DIV, INPUT, A}
|
|||
|
||||
class CustomTagEditTheme extends TagEditTheme
|
||||
{
|
||||
public function display_mass_editor()
|
||||
{
|
||||
global $page;
|
||||
$html = "
|
||||
".make_form(make_link("tag_edit/replace"))."
|
||||
<table class='form'>
|
||||
<tr><th>Search</th><td><input type='text' name='search' autocomplete='off'></tr>
|
||||
<tr><th>Replace</th><td><input type='text' name='replace' autocomplete='off'></td></tr>
|
||||
<tr><td colspan='2'><input type='submit' value='Replace'></td></tr>
|
||||
</table>
|
||||
</form>
|
||||
";
|
||||
$page->add_block(new Block("Mass Tag Edit", $html));
|
||||
}
|
||||
|
||||
public function get_tag_editor_html(Image $image): HTMLElement
|
||||
{
|
||||
global $user;
|
||||
|
@ -34,7 +19,7 @@ class CustomTagEditTheme extends TagEditTheme
|
|||
"type" => "text",
|
||||
"name" => "tag_edit__tags",
|
||||
"value" => $image->get_tag_list(),
|
||||
"autocomplete" => "off"
|
||||
"class" => "autocomplete_tags"
|
||||
])
|
||||
);
|
||||
}
|
||||
|
|
Reference in a new issue