mirror of
https://github.com/e107inc/e107.git
synced 2025-07-23 16:01:39 +02:00
Merge pull request #4734 from Jimmi08/login-error-message-is-loaded-2x
Fixes #3470 login error message is loaded 2x
This commit is contained in:
@@ -110,7 +110,10 @@ 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)
|
||||||
{
|
{
|
||||||
echo LOGINMESSAGE;
|
if(deftrue('e_IFRAME'))
|
||||||
|
{
|
||||||
|
echo LOGINMESSAGE;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
echo $tp->parseTemplate($LOGIN_TABLE_HEADER,true, $sc);
|
echo $tp->parseTemplate($LOGIN_TABLE_HEADER,true, $sc);
|
||||||
|
Reference in New Issue
Block a user