X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Fwhat-sponsor_login.php;h=a9e1c850c633c80e99846938f44a29c1290c430a;hp=c28f50026c671cc270aff0b7c2e7192a9e0b88d9;hb=0715fa7aa8e5e70bcf1d957fb09ae655c3896c4e;hpb=963e55ca1ea79e255f235e359cde9f7862191dc5
diff --git a/inc/modules/guest/what-sponsor_login.php b/inc/modules/guest/what-sponsor_login.php
index c28f50026c..a9e1c850c6 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, getMessage('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, getMessage('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, getMessage('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]
?>