fixes #1969 link help pages to new French documentation

This commit is contained in:
plegall
2023-08-26 13:11:59 +02:00
parent e0a82909fa
commit 24f5bcb0cc
6 changed files with 29 additions and 40 deletions
+8
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 |
// +-----------------------------------------------------------------------+