X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Fwhat-sponsor_login.php;h=1952a4ca5f7aa2dd5bf9e84785b315284290d1c5;hb=f2aeaab0cd313b2eeb151642455ed558f6b186dc;hp=09f1ff10951f80858241ca35840db405078f0a0c;hpb=6032b7018b83778f1592383238f4e0d28f718622;p=mailer.git
diff --git a/inc/modules/guest/what-sponsor_login.php b/inc/modules/guest/what-sponsor_login.php
index 09f1ff1095..1952a4ca5f 100644
--- a/inc/modules/guest/what-sponsor_login.php
+++ b/inc/modules/guest/what-sponsor_login.php
@@ -1,7 +1,7 @@
");
+ loadTemplate('admin_settings_saved', false, '{--SPONSPOR_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("
");
+ loadTemplate('admin_settings_saved', false, '{--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"...
+ loadTemplate('admin_settings_saved', false, '{--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]
?>