From 90596323e14b39ac468c2b7b91a0a7dd4fd135f2 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sun, 30 Jul 2023 15:33:24 +0200 Subject: [PATCH] cleanup menu notice --- src/Utils.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/Utils.php b/src/Utils.php index 51ac528..87714f3 100644 --- a/src/Utils.php +++ b/src/Utils.php @@ -45,8 +45,14 @@ class Utils */ public static function addMark(): void { - if (My::settings()->get('distant_api_url')) { - echo '

' . __('/!\ Tracked by dotclear.watch') . '

'; + if (My::settings()->getGlobal('distant_api_url')) { + echo sprintf( + '', + 'https://dotclear.watch/statistics', + __('DotclearWatch plugin statistics'), + __('Tracked by dotclear.watch'), + My::fileURL('icon.svg') + ); } }