From 3858085a7fdee25e07132bc70a4c0c6e1b2272c8 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 6 Dec 2012 17:59:37 +0100 Subject: [PATCH] Add option MAIN_HELPCENTER_LINKTOUSE to define target link "I need help" onto logon page. --- ChangeLog | 7 ++++--- htdocs/core/tpl/login.tpl.php | 4 +++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 53062d29a18..dae68c53c11 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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. diff --git a/htdocs/core/tpl/login.tpl.php b/htdocs/core/tpl/login.tpl.php index 81d446281ae..0597896a07b 100644 --- a/htdocs/core/tpl/login.tpl.php +++ b/htdocs/core/tpl/login.tpl.php @@ -166,7 +166,9 @@ if ($forgetpasslink || $helpcenterlink) { } if ($helpcenterlink) { - echo ''; + $url=DOL_URL_ROOT.'/support/index.php'; + if (! empty($conf->global->MAIN_HELPCENTER_LINKTOUSE)) $url=$conf->global->MAIN_HELPCENTER_LINKTOUSE; + echo ''; if ($forgetpasslink) { echo ' - '; } else {