[link scan] there is no theme

This commit is contained in:
Shish 2024-01-17 22:41:55 +00:00
parent e859064fca
commit 50e0d74ee8

View file

@ -1,25 +0,0 @@
<?php
declare(strict_types=1);
namespace Shimmie2;
use function MicroHTML\{TEXTAREA,BR,TABLE,TR,TD};
class LinkScanTheme extends Themelet
{
public function display_form(): void
{
global $page;
$html = SHM_SIMPLE_FORM(
"admin/link_scan",
TABLE(
["class" => "form"],
TR(TD(TEXTAREA(["name" => 'text', "placeholder" => 'Paste text']))),
TR(TD(SHM_SUBMIT('Find Posts'))),
),
);
$page->add_block(new Block("Find Referenced Posts", $html));
}
}