Skip to content

Commit

Permalink
[r34] no autocomplete for mass tag edit
Browse files Browse the repository at this point in the history
  • Loading branch information
shish committed Jul 3, 2023
1 parent 340b9da commit 3f27882
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions themes/rule34v2/tag_edit.theme.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,21 @@

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): string
{
$h_tags = html_escape($image->get_tag_list());
Expand Down

0 comments on commit 3f27882

Please sign in to comment.