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') + ); } }