From 1b983c8dc36d91ba4f7bb70a5422641d7cba4634 Mon Sep 17 00:00:00 2001 From: Huang95 Date: Mon, 26 Feb 2024 12:31:48 +0800 Subject: [PATCH] Update main.html.php Let it look like tag/label --- system/admin/views/main.html.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/admin/views/main.html.php b/system/admin/views/main.html.php index aff6740..5f51923 100644 --- a/system/admin/views/main.html.php +++ b/system/admin/views/main.html.php @@ -20,7 +20,7 @@ if (isset($_SESSION[site_url()]['user'])) { if (config("views.counter") == "true") echo '' . $p->views . ''; echo ''. strip_tags($p->category) .''; - echo '' . $p->tag . ''; + echo '' . str_replace("rel=\"tag\"", "rel=\"tag\" class=\"badge badge-light text-primary font-weight-normal\"", $p->tag) . ''; echo '' . i18n('Edit') . ' ' . i18n('Delete') . ''; echo ''; } @@ -28,4 +28,4 @@ if (isset($_SESSION[site_url()]['user'])) { } } -?> \ No newline at end of file +?>