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