Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jul 1, 2024
1 parent 60ab71c commit 4d7afe0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions myaccount/tpl/passwordforgotten.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
<header class="inverse">
<h1><?php echo dol_escape_htmltag($title); ?></h1>

<div class="center login_main_home divpasswordmessagedesc paddingtopbottom<?php echo empty($conf->global->MAIN_LOGIN_BACKGROUND) ? '' : ' backgroundsemitransparent'; ?>">
<div class="center login_main_home divpasswordmessagedesc paddingtopbottom<?php echo getDolGlobalString('MAIN_LOGIN_BACKGROUND') ? ' backgroundsemitransparent' : ''; ?>">
<?php if ($mode == 'dolibarr' || ! $disabled) { ?>
<span class="passwordmessagedesc opacitymedium">
<?php
Expand Down Expand Up @@ -158,7 +158,7 @@
<!-- Login -->
<tr>
<td class="nowrap valignmiddle" style="text-align: center;">
<?php if (! empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) { ?><label for="username" class="hidden"><?php echo $langs->trans("Login"); ?></label><?php } ?>
<?php if (getDolGlobalString('MAIN_OPTIMIZEFORTEXTBROWSER')) { ?><label for="username" class="hidden"><?php echo $langs->trans("Login"); ?></label><?php } ?>
<span class="span-icon-user fa fa-user"></span>
<?php
if (empty($asknewpass)) {
Expand Down

0 comments on commit 4d7afe0

Please sign in to comment.