From e6c41fa25a112a56f7ea2a85ac6d9ce2df2ae73b Mon Sep 17 00:00:00 2001 From: Dendy Date: Thu, 24 Dec 2020 01:57:52 +0100 Subject: [PATCH] Add action to remove unused tags --- admin.php | 6 +++++- config.php | 6 +++++- index.php | 3 +++ 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/admin.php b/admin.php index ec5a748..839161a 100644 --- a/admin.php +++ b/admin.php @@ -78,7 +78,11 @@ if(isset($_GET["t"]) and is_array($_GET["t"])){ Woah"; + echo("

Utilities

"); + + echo("Delete unused tags"); + + echo("

Tag files

"); echo("
"); echo("<-
\n"); diff --git a/config.php b/config.php index 2902239..3b7dac5 100644 --- a/config.php +++ b/config.php @@ -1,6 +1,6 @@ diff --git a/index.php b/index.php index 678f79d..ea6e073 100644 --- a/index.php +++ b/index.php @@ -33,6 +33,9 @@ exec($tmsu . "files -c '" . addcslashes($tag . $exclude_query, '(..)') . "'", $count); echo("(" . $count[0] .") " . $tag .", "); } + + echo("

"); + echo("<"); ?>