cleanup menu notice

master
Jean-Christian Paul Denis 2023-07-30 15:33:24 +02:00
parent ff58c0ba47
commit 90596323e1
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
1 changed files with 8 additions and 2 deletions

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