[alias] add info on tag aliases and tag implications
This commit is contained in:
parent
1ad6acf37c
commit
839b4b51e8
1 changed files with 5 additions and 2 deletions
|
@ -7,7 +7,8 @@ namespace Shimmie2;
|
||||||
use MicroHTML\HTMLElement;
|
use MicroHTML\HTMLElement;
|
||||||
|
|
||||||
use function MicroHTML\emptyHTML;
|
use function MicroHTML\emptyHTML;
|
||||||
use function MicroHTML\{BR,INPUT};
|
use function MicroHTML\rawHTML;
|
||||||
|
use function MicroHTML\{BR,CODE,INPUT};
|
||||||
|
|
||||||
class AliasEditorTheme extends Themelet
|
class AliasEditorTheme extends Themelet
|
||||||
{
|
{
|
||||||
|
@ -18,7 +19,9 @@ class AliasEditorTheme extends Themelet
|
||||||
{
|
{
|
||||||
global $page, $user;
|
global $page, $user;
|
||||||
|
|
||||||
$html = emptyHTML($table, BR(), $paginator, BR(), SHM_A("alias/export/aliases.csv", "Download as CSV", args: ["download" => "aliases.csv"]));
|
$info_html = rawHTML("A tag alias replaces a tag with another tag or tags.".BR()."A tag implication (where the old tag stays and adds a new tag) is made by including the old tag in the list of new tags (".CODE("fox")." → ".CODE("fox canine").")".BR());
|
||||||
|
|
||||||
|
$html = emptyHTML($info_html, BR(), $table, BR(), $paginator, BR(), SHM_A("alias/export/aliases.csv", "Download as CSV", args: ["download" => "aliases.csv"]));
|
||||||
|
|
||||||
$bulk_form = SHM_FORM("alias/import", multipart: true);
|
$bulk_form = SHM_FORM("alias/import", multipart: true);
|
||||||
$bulk_form->appendChild(
|
$bulk_form->appendChild(
|
||||||
|
|
Reference in a new issue