1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-25 08:51:50 +02:00

#3470 login error message is loaded 2x

CLOSES #3470
This commit is contained in:
Jimmi08
2022-03-31 12:48:35 +02:00
parent 21fa07ec3b
commit c431a677fe

View File

@@ -109,9 +109,12 @@ if (!USER || getperms('0'))
$login_message = SITENAME; // $login_message = LAN_LOGIN_3." | ".SITENAME; $login_message = SITENAME; // $login_message = LAN_LOGIN_3." | ".SITENAME;
if(strpos($LOGIN_TABLE_HEADER,'LOGIN_TABLE_LOGINMESSAGE') === false && strpos($LOGIN_TABLE,'LOGIN_TABLE_LOGINMESSAGE') === false) if(strpos($LOGIN_TABLE_HEADER,'LOGIN_TABLE_LOGINMESSAGE') === false && strpos($LOGIN_TABLE,'LOGIN_TABLE_LOGINMESSAGE') === false)
{
if(deftrue('e_IFRAME'))
{ {
echo LOGINMESSAGE; echo LOGINMESSAGE;
} }
}
echo $tp->parseTemplate($LOGIN_TABLE_HEADER,true, $sc); echo $tp->parseTemplate($LOGIN_TABLE_HEADER,true, $sc);
$ns->tablerender($login_message, $text, 'login_page'); $ns->tablerender($login_message, $text, 'login_page');