Fixed logo image on metaconsole login

This commit is contained in:
fermin831 2018-10-23 17:43:00 +02:00
parent 8cb2ff1d1b
commit 4cb66c31f1
1 changed files with 3 additions and 7 deletions

View File

@ -228,12 +228,8 @@ class User {
$ui->showFooter(false);
$ui->beginContent();
if ($system->getConfig('metaconsole'))
$logo_image = html_print_image (ui_get_mobile_login_icon(),
true, array ("alt" => "logo", "border" => 0));
else
$logo_image = html_print_image (ui_get_mobile_login_icon(),
true, array ("alt" => "logo", "border" => 0),false, false, false, true);
$logo_image = html_print_image (ui_get_mobile_login_icon(),
true, array ("alt" => "logo", "border" => 0), false, false, false, true);
$ui->contentAddHtml('<div style="text-align: center;" class="login_logo">' .
$logo_image . '</div>');
@ -292,7 +288,7 @@ class User {
$ui->beginContent();
$ui->contentAddHtml('<div style="text-align: center;" class="login_logo">' .
html_print_image (ui_get_mobile_login_icon(),
true, array ("alt" => "logo", "border" => 0)) .
true, array ("alt" => "logo", "border" => 0), false, false, false, true) .
'</div>');
$ui->contentAddHtml('<div id="login_container">');
$ui->beginForm();