mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fixes #2210 add links to the new documentation in help pages
This commit is contained in:
@@ -46,7 +46,15 @@ $template->assign(
|
||||
)
|
||||
);
|
||||
|
||||
if (substr($user['language'], 0, 3) == 'fr_')
|
||||
$language_prefix = substr($user['language'], 0, 3);
|
||||
if ('en_' == $language_prefix)
|
||||
{
|
||||
$page['messages'][] = sprintf(
|
||||
'Need help to use Piwigo? <a href="%s" target="_blank">Check the online documentation</a> !',
|
||||
'https://doc.piwigo.org/'
|
||||
);
|
||||
}
|
||||
elseif ('fr_' == $language_prefix)
|
||||
{
|
||||
$page['messages'][] = sprintf(
|
||||
'Besoin d\'aide pour utiliser Piwigo ? Consultez la <a href="%s" target="_blank">documentation en ligne</a> !',
|
||||
|
||||
Reference in New Issue
Block a user