From a0c3df96f3eb9bca83ac379e46c8b61dbac66ac8 Mon Sep 17 00:00:00 2001 From: tastytea Date: Thu, 21 Jan 2021 06:37:55 +0100 Subject: [PATCH] Auto-complete tags. Read tags from tags.lst and offer them as auto-completions. Use one text field per tag and use a button to add new fields. --- index.php | 41 ++++++++++++++++++++++++++++++++++++----- 1 file changed, 36 insertions(+), 5 deletions(-) diff --git a/index.php b/index.php index 8075803..afbc3f0 100644 --- a/index.php +++ b/index.php @@ -31,7 +31,7 @@ { padding: 0; } - input[type=file] + input[type=file], input[list=list_tags] { margin-left: 10ch; } @@ -198,15 +198,15 @@ don't want trust to be necessary to use this list.

-
+ (Without the “https://”)
- - - + (One tag per field or comma separated)
+ +
@@ -261,5 +261,36 @@ Sourcecode licensed under the AGPL-3.0-only.

+ + + + + \n", $tag); + } + } + fclose($file); + ?> +