Add option MAIN_HELPCENTER_LINKTOUSE to define target link "I need help"

onto logon page.
This commit is contained in:
Laurent Destailleur 2012-12-06 17:59:37 +01:00
parent 50206bbd73
commit 3858085a7f
2 changed files with 7 additions and 4 deletions

View File

@ -62,9 +62,10 @@ For users:
- New: Can choose menu entry to show with external site module.
- New: Add hidden option MAIN_PDF_MARGIN_LEFT, MAIN_PDF_MARGIN_RIGHT, MAIN_PDF_MARGIN_TOP, MAIN_PDF_MARGIN_BOTTOM
to force margins of generated PDF.
- New: [ task #314 ] Can define if prof id are mandatory or not
- New: Add button on order card to create intervention from services
- New: Add search box to find products by supplier reference
- New: [ task #314 ] Can define if prof id are mandatory or not.
- New: Add button on order card to create intervention from services.
- New: Add search box to find products by supplier reference.
- New: Add option MAIN_HELPCENTER_LINKTOUSE to define target link "I need help" onto logon page.
New experimental modules:
- New: Add margin management module.

View File

@ -166,7 +166,9 @@ if ($forgetpasslink || $helpcenterlink) {
}
if ($helpcenterlink) {
echo '<a style="color: #888888; font-size: 10px" href="'.DOL_URL_ROOT.'/support/index.php" target="_blank">';
$url=DOL_URL_ROOT.'/support/index.php';
if (! empty($conf->global->MAIN_HELPCENTER_LINKTOUSE)) $url=$conf->global->MAIN_HELPCENTER_LINKTOUSE;
echo '<a style="color: #888888; font-size: 10px" href="'.dol_escape_htmltag($url).'" target="_blank">';
if ($forgetpasslink) {
echo '&nbsp;-&nbsp;';
} else {