From fdd8d2cc5e8d3d523a5b5c0c2a68fc18037a2676 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 17 May 2013 01:30:39 +0200 Subject: [PATCH] Fix: to large a href --- htdocs/core/tpl/login.tpl.php | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/htdocs/core/tpl/login.tpl.php b/htdocs/core/tpl/login.tpl.php index bef263763de..58710d9f0e4 100644 --- a/htdocs/core/tpl/login.tpl.php +++ b/htdocs/core/tpl/login.tpl.php @@ -136,22 +136,19 @@ if ($forgetpasslink || $helpcenterlink) if ($forgetpasslink) { echo '('; echo $langs->trans('PasswordForgotten'); - if (! $helpcenterlink) { - echo ')'; - } + if (! $helpcenterlink) echo ')'; echo ''; } + if ($forgetpasslink && $helpcenterlink) echo ' - '; + if ($helpcenterlink) { $url=DOL_URL_ROOT.'/support/index.php'.$moreparam; if (! empty($conf->global->MAIN_HELPCENTER_LINKTOUSE)) $url=$conf->global->MAIN_HELPCENTER_LINKTOUSE; echo ''; - if ($forgetpasslink) { - echo ' - '; - } else { - echo '('; - } - echo $langs->trans('NeedHelpCenter').')'; + if (! $forgetpasslink) echo '('; + echo $langs->trans('NeedHelpCenter'); + echo ')'; } echo ''; }