X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Fwhat-sponsor_login.php;h=7082a5cf0cf17c01ce88da9347fecea4c9da23b5;hp=ed600bdd8c7fd3f96dc1f30636d0366633c36175;hb=391c98ab7233ff3e640d8b9fad8df92ce45e9b31;hpb=19cd0d37b2bcbf9dd4f3c38a9cecd7f5011d6b66
diff --git a/inc/modules/guest/what-sponsor_login.php b/inc/modules/guest/what-sponsor_login.php
index ed600bdd8c..7082a5cf0c 100644
--- a/inc/modules/guest/what-sponsor_login.php
+++ b/inc/modules/guest/what-sponsor_login.php
@@ -1,7 +1,7 @@
");
+ displayMessage('{--SPONSOR_COOKIE_SETUP_FAILED--}');
// Login formular and other links
- LOAD_TEMPLATE("guest_sponsor_login");
+ loadTemplate('guest_sponsor_login');
}
- }
- else
- {
+ } else {
// Status is not fine
- $eval = "\$content = SPONSOR_LOGIN_FAILED_".strtoupper($status).";";
- eval($eval);
- LOAD_TEMPLATE("admin_settings_saved", false, $content);
- OUTPUT_HTML("
");
+ displayMessage('{--SPONSOR_LOGIN_FAILED_' . strtoupper($status) . '--}');
// Login formular and other links
- LOAD_TEMPLATE("guest_sponsor_login");
+ loadTemplate('guest_sponsor_login');
}
- }
- else
- {
- // Account missing or wrong pass! We shall not find this out for the "hacker folks"...
- LOAD_TEMPLATE("admin_settings_saved", false, SPONSOR_LOGIN_FAILED_404_WRONG_PASS);
- OUTPUT_HTML("
");
+ } else {
+ // Account missing or wrong pass! We shall not find this out for the "cracker folks"...
+ displayMessage('{--SPONSOR_LOGIN_FAILED_404_WRONG_PASS--}');
// Login formular and other links
- LOAD_TEMPLATE("guest_sponsor_login");
+ loadTemplate('guest_sponsor_login');
}
// Free memory
SQL_FREERESULT($result);
-}
- else
-{
+} else {
// Login formular and other links
- LOAD_TEMPLATE("guest_sponsor_login");
+ loadTemplate('guest_sponsor_login');
}
-//
+// [EOF]
?>