mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-04 08:02:22 +01:00
Trad: On affiche le lien vers l'aide en ligne que pour la langue franaise.
This commit is contained in:
@@ -266,15 +266,14 @@ function left_menu($menu_array, $help_url='', $form_search='')
|
||||
}
|
||||
|
||||
// Zone de recherche suppl<70>mentaire
|
||||
if (strlen($form_search) > 0)
|
||||
if ($form_search)
|
||||
{
|
||||
print $form_search;
|
||||
}
|
||||
|
||||
// Lien vers l'aide en ligne
|
||||
if (strlen($help_url) > 0)
|
||||
// Lien vers l'aide en ligne (uniquement si langue fr_FR)
|
||||
if ($help_url && $langs->defaultlang == "fr_FR")
|
||||
{
|
||||
|
||||
define('MAIN_AIDE_URL','http://www.dolibarr.com/wikidev/index.php');
|
||||
print '<div class="help"><a class="help" target="_blank" href="'.MAIN_AIDE_URL.'/'.$help_url.'">'.$langs->trans("Help").'</a></div>';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user