From 4475e9cbab3fd358f4abf422173c54e75680d832 Mon Sep 17 00:00:00 2001 From: Huang95 Date: Mon, 26 Feb 2024 14:17:59 +0800 Subject: [PATCH] Update main.html.php , Let tag list look like tag/label Let tag list 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 +?>