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
|
// Link to Dolibarr wiki pages
|
||||||
if ($helppagename)
|
if ($helppagename && empty($conf->global->MAIN_DISABLE_HELP_LINKS))
|
||||||
{
|
{
|
||||||
$langs->load("help");
|
$langs->load("help");
|
||||||
|
|
||||||
@ -967,7 +967,7 @@ function left_menu($menu_array, $helppagename='', $moresearchform='')
|
|||||||
if ($helpbaseurl && $helppage)
|
if ($helpbaseurl && $helppage)
|
||||||
{
|
{
|
||||||
print '<div class="help">';
|
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 sprintf($helpbaseurl,$helppage);
|
||||||
print '">';
|
print '">';
|
||||||
print img_help(0,'').' ';
|
print img_help(0,'').' ';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user