EditTag: allow updating the thumbnail visually

This commit is contained in:
Aaron committed 2023-03-11 19:49:17 +01:00
1 parent a06902335b
commit 6d0aef4df6
3 files changed
+36 -13

No files matched your search

+5 -1
View File
@@ -20,6 +20,8 @@ class FeaturedThumbnailManager extends SubTemplate
protected function html_content()
{
echo '
<form action="" method="post">
<button class="btn btn-primary float-end" type="submit" name="changeThumbnail">Save thumbnail selection</button>
<h2>Select thumbnail</h2>
<ul id="featuredThumbnail">';
@@ -37,6 +39,8 @@ class FeaturedThumbnailManager extends SubTemplate
$this->assets->clean();
echo '
</ul>';
</ul>
<input type="hidden" name="', Session::getSessionTokenKey(), '" value="', Session::getSessionToken(), '">
</form>';
}
}