(cp 24f5bcb) fixes #1969 link help pages to new French documentation

This commit is contained in:
plegall
2023-08-26 13:12:43 +02:00
parent d42dfcacae
commit 27316fdb27
6 changed files with 29 additions and 40 deletions

View File

@@ -46,6 +46,14 @@ $template->assign(
)
);
if (substr($user['language'], 0, 3) == 'fr_')
{
$page['messages'][] = sprintf(
'Besoin d\'aide pour utiliser Piwigo ? Consultez la <a href="%s" target="_blank">documentation en ligne</a> !',
'https://doc-fr.piwigo.org/'
);
}
// +-----------------------------------------------------------------------+
// | sending html code |
// +-----------------------------------------------------------------------+