From 6d5901c101fa3e8e55ea32815a041b53815ae217 Mon Sep 17 00:00:00 2001 From: ghost Date: Wed, 2 Aug 2023 15:47:44 +0300 Subject: [PATCH] display shortened page URL instead of host address, change column name --- public/top.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/top.php b/public/top.php index 6ccccaa..705c8a4 100644 --- a/public/top.php +++ b/public/top.php @@ -235,7 +235,7 @@ $placeholder = Filter::plural($totalPages, [sprintf(_('Over %s page or enter the - + @@ -258,7 +258,7 @@ $placeholder = Filter::plural($totalPages, [sprintf(_('Over %s page or enter the identicon - hostURL)) ?> + hostURL) . (mb_strlen(urldecode($topHostPage->uri)) > 16 ? '...' . mb_substr(urldecode($topHostPage->uri), -16) : urldecode($topHostPage->uri))) ?>