FIX addinf a "div" for better interaction with login submit button

This commit is contained in:
Regis Houssin 2019-08-04 17:21:13 +02:00
parent 7f42380f83
commit e81ccf1cff

View File

@ -199,7 +199,10 @@ if ($captcha) {
<div id="login_line2" style="clear: both"> <div id="login_line2" style="clear: both">
<!-- Button Connection --> <!-- Button Connection -->
<br><input type="submit" class="button" value="&nbsp; <?php echo $langs->trans('Connection'); ?> &nbsp;" tabindex="5" /> <br>
<div id="login-submit-wrapper">
<input type="submit" class="button" value="&nbsp; <?php echo $langs->trans('Connection'); ?> &nbsp;" tabindex="5" />
</div>
<?php <?php
if ($forgetpasslink || $helpcenterlink) if ($forgetpasslink || $helpcenterlink)
@ -211,7 +214,7 @@ if ($forgetpasslink || $helpcenterlink)
if ($dol_use_jmobile) $moreparam.=(strpos($moreparam,'?')===false?'?':'&').'dol_use_jmobile='.$dol_use_jmobile; if ($dol_use_jmobile) $moreparam.=(strpos($moreparam,'?')===false?'?':'&').'dol_use_jmobile='.$dol_use_jmobile;
echo '<br>'; echo '<br>';
echo '<div class="center" style="margin-top: 15px;">'; echo '<div class="center" style="margin-top: 5px;">';
if ($forgetpasslink) { if ($forgetpasslink) {
$url=DOL_URL_ROOT.'/user/passwordforgotten.php'.$moreparam; $url=DOL_URL_ROOT.'/user/passwordforgotten.php'.$moreparam;
if (! empty($conf->global->MAIN_PASSWORD_FORGOTLINK)) $url=$conf->global->MAIN_PASSWORD_FORGOTLINK; if (! empty($conf->global->MAIN_PASSWORD_FORGOTLINK)) $url=$conf->global->MAIN_PASSWORD_FORGOTLINK;