Fix: to large a href
This commit is contained in:
parent
b8cd276128
commit
fdd8d2cc5e
@ -136,22 +136,19 @@ if ($forgetpasslink || $helpcenterlink)
|
||||
if ($forgetpasslink) {
|
||||
echo '<a class="alogin" href="'.DOL_URL_ROOT.'/user/passwordforgotten.php'.$moreparam.'">(';
|
||||
echo $langs->trans('PasswordForgotten');
|
||||
if (! $helpcenterlink) {
|
||||
echo ')';
|
||||
}
|
||||
if (! $helpcenterlink) echo ')';
|
||||
echo '</a>';
|
||||
}
|
||||
|
||||
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 '<a class="alogin" href="'.dol_escape_htmltag($url).'" target="_blank">';
|
||||
if ($forgetpasslink) {
|
||||
echo ' - ';
|
||||
} else {
|
||||
echo '(';
|
||||
}
|
||||
echo $langs->trans('NeedHelpCenter').')</a>';
|
||||
if (! $forgetpasslink) echo '(';
|
||||
echo $langs->trans('NeedHelpCenter');
|
||||
echo ')</a>';
|
||||
}
|
||||
echo '</div>';
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user