user confirm on mass source set

This commit is contained in:
Daku 2015-03-21 00:53:25 +00:00 committed by Shish
parent 83c0c284ac
commit a7de21523f

View File

@ -24,7 +24,7 @@ class TagEditTheme extends Themelet {
$html = make_form(make_link("tag_edit/mass_source_set"), "POST") . "
<input type='hidden' name='tags' value='$h_terms'>
<input type='text' name='source' value=''>
<input type='submit' value='Set Source For All'>
<input type='submit' value='Set Source For All' onclick='return confirm(\"This will mass-edit all sources on the page.\nAre you sure you want to do this?\")'>
</form>
";
return $html;