mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
New: Some pages can link to wiki help pages
This commit is contained in:
parent
2da5a733eb
commit
0cd67ded54
|
|
@ -932,7 +932,7 @@ function left_menu($menu_array, $helppagename='', $moresearchform='')
|
|||
}
|
||||
|
||||
// Link to Dolibarr wiki pages
|
||||
if ($helppagename)
|
||||
if ($helppagename && empty($conf->global->MAIN_DISABLE_HELP_LINKS))
|
||||
{
|
||||
$langs->load("help");
|
||||
|
||||
|
|
@ -967,7 +967,7 @@ function left_menu($menu_array, $helppagename='', $moresearchform='')
|
|||
if ($helpbaseurl && $helppage)
|
||||
{
|
||||
print '<div class="help">';
|
||||
print '<a class="help" target="_blank" title="'.$langs->trans("GoToWikiHelp").'" href="';
|
||||
print '<a class="help" target="_blank" title="'.$langs->trans("GoToHelpPage").'" href="';
|
||||
print sprintf($helpbaseurl,$helppage);
|
||||
print '">';
|
||||
print img_help(0,'').' ';
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user