cleanup menu notice

This commit is contained in:
Jean-Christian Denis 2023-07-30 15:33:24 +02:00
parent ff58c0ba47
commit 90596323e1
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951

View file

@ -45,8 +45,14 @@ class Utils
*/
public static function addMark(): void
{
if (My::settings()->get('distant_api_url')) {
echo '<p>' . __('/!\ Tracked by dotclear.watch') . '</p>';
if (My::settings()->getGlobal('distant_api_url')) {
echo sprintf(
'<ul><li><a href="%s" title="%s" class="outgoing">%s<img src="%s" /></a></ul></li>',
'https://dotclear.watch/statistics',
__('DotclearWatch plugin statistics'),
__('Tracked by dotclear.watch'),
My::fileURL('icon.svg')
);
}
}