Fix css
This commit is contained in:
parent
9ec5bd6fc7
commit
7096f0c236
@ -238,21 +238,23 @@ if (!empty($morelogincontent)) {
|
|||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
||||||
<div class="center login_main_home divpasswordmessagedesc paddingtopbottom<?php echo empty($conf->global->MAIN_LOGIN_BACKGROUND) ? '' : ' backgroundsemitransparent boxshadow'; ?>" style="max-width: 70%">
|
|
||||||
<?php
|
<?php
|
||||||
if ($mode == 'dolibarr' || !$disabled) {
|
if ($mode == 'dolibarr' || !$disabled) {
|
||||||
if ($action != 'validatenewpassword' && empty($message)) {
|
if ($action != 'validatenewpassword' && empty($message)) {
|
||||||
|
print '<div class="center login_main_home divpasswordmessagedesc paddingtopbottom'.(empty($conf->global->MAIN_LOGIN_BACKGROUND) ? '' : ' backgroundsemitransparent boxshadow').'" style="max-width: 70%">';
|
||||||
print '<span class="passwordmessagedesc opacitymedium">';
|
print '<span class="passwordmessagedesc opacitymedium">';
|
||||||
print $langs->trans('SendNewPasswordDesc');
|
print $langs->trans('SendNewPasswordDesc');
|
||||||
print '</span>';
|
print '</span>';
|
||||||
|
print '</div>';
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
print '<div class="center login_main_home divpasswordmessagedesc paddingtopbottom'.(empty($conf->global->MAIN_LOGIN_BACKGROUND) ? '' : ' backgroundsemitransparent boxshadow').'" style="max-width: 70%">';
|
||||||
print '<div class="warning center">';
|
print '<div class="warning center">';
|
||||||
print $langs->trans('AuthenticationDoesNotAllowSendNewPassword', $mode);
|
print $langs->trans('AuthenticationDoesNotAllowSendNewPassword', $mode);
|
||||||
print '</div>';
|
print '</div>';
|
||||||
|
print '</div>';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|||||||
@ -117,7 +117,7 @@ if ($setnewpassword && $username && $passworduidhash) {
|
|||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<!-- BEGIN PHP TEMPLATE PASSWORDFORGOTTEN.TPL.PHP -->
|
<!-- BEGIN PHP TEMPLATE PASSWORDRESET.TPL.PHP -->
|
||||||
|
|
||||||
<body class="body bodylogin"<?php print empty($conf->global->MAIN_LOGIN_BACKGROUND) ? '' : ' style="background-size: cover; background-position: center center; background-attachment: fixed; background-repeat: no-repeat; background-image: url(\''.DOL_URL_ROOT.'/viewimage.php?cache=1&noalt=1&modulepart=mycompany&file='.urlencode('logos/'.$conf->global->MAIN_LOGIN_BACKGROUND).'\')"'; ?>>
|
<body class="body bodylogin"<?php print empty($conf->global->MAIN_LOGIN_BACKGROUND) ? '' : ' style="background-size: cover; background-position: center center; background-attachment: fixed; background-repeat: no-repeat; background-image: url(\''.DOL_URL_ROOT.'/viewimage.php?cache=1&noalt=1&modulepart=mycompany&file='.urlencode('logos/'.$conf->global->MAIN_LOGIN_BACKGROUND).'\')"'; ?>>
|
||||||
|
|
||||||
@ -278,21 +278,23 @@ if (!empty($morelogincontent)) {
|
|||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
||||||
<div class="center login_main_home divpasswordmessagedesc paddingtopbottom<?php echo empty($conf->global->MAIN_LOGIN_BACKGROUND) ? '' : ' backgroundsemitransparent boxshadow'; ?>" style="max-width: 70%">
|
|
||||||
<?php
|
<?php
|
||||||
if ($mode == 'dolibarr' || !$disabled) {
|
if ($mode == 'dolibarr' || !$disabled) {
|
||||||
if (empty($message)) {
|
if (empty($message)) {
|
||||||
|
print '<div class="center login_main_home divpasswordmessagedesc paddingtopbottom'.(empty($conf->global->MAIN_LOGIN_BACKGROUND) ? '' : ' backgroundsemitransparent boxshadow').'" style="max-width: 70%">';
|
||||||
print '<span class="passwordmessagedesc opacitymedium">';
|
print '<span class="passwordmessagedesc opacitymedium">';
|
||||||
print $langs->trans('EnterNewPasswordHere');
|
print $langs->trans('EnterNewPasswordHere');
|
||||||
print '</span>';
|
print '</span>';
|
||||||
|
print '</div>';
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
print '<div class="center login_main_home divpasswordmessagedesc paddingtopbottom'.(empty($conf->global->MAIN_LOGIN_BACKGROUND) ? '' : ' backgroundsemitransparent boxshadow').'" style="max-width: 70%">';
|
||||||
print '<div class="warning center">';
|
print '<div class="warning center">';
|
||||||
print $langs->trans('AuthenticationDoesNotAllowSendNewPassword', $mode);
|
print $langs->trans('AuthenticationDoesNotAllowSendNewPassword', $mode);
|
||||||
print '</div>';
|
print '</div>';
|
||||||
|
print '</div>';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user