From 0649f8fffd3316e5834567f5b58d29bc33cfbfa3 Mon Sep 17 00:00:00 2001 From: Flatlogic Bot Date: Fri, 13 Feb 2026 09:54:12 +0000 Subject: [PATCH] Autosave: 20260213-095412 --- admin/ajax_test_email.php | 8 ++++---- admin/audit_logs.php | 2 +- admin/auth.php | 20 ++++++++++++++++++++ admin/cases.php | 2 +- admin/categories.php | 2 +- admin/donations.php | 2 +- admin/donors.php | 2 +- admin/financial_summary.php | 4 ++-- admin/index.php | 2 +- admin/login.php | 4 ++-- admin/profile.php | 3 ++- admin/settings.php | 4 ++-- admin/sidebar.php | 2 +- 13 files changed, 39 insertions(+), 18 deletions(-) diff --git a/admin/ajax_test_email.php b/admin/ajax_test_email.php index 1879dee..4f0274b 100644 --- a/admin/ajax_test_email.php +++ b/admin/ajax_test_email.php @@ -16,11 +16,11 @@ if (!filter_var($recipient, FILTER_VALIDATE_EMAIL)) { exit; } -$subject = "SMTP Test Email - CharityHub"; +$orgName = get_org_name(); +$subject = "SMTP Test Email - " . $orgName; $htmlBody = "

Test Successful!

If you are reading this, your SMTP configuration is working correctly.

Sent at: " . date('Y-m-d H:i:s') . "

"; -$textBody = "SMTP Test Email - CharityHub\n\nTest Successful!\nIf you are reading this, your SMTP configuration is working correctly.\nSent at: " . date('Y-m-d H:i:s'); +$textBody = "SMTP Test Email - " . $orgName . "\n\nTest Successful!\nIf you are reading this, your SMTP configuration is working correctly.\nSent at: " . date('Y-m-d H:i:s'); $result = MailService::sendMail($recipient, $subject, $htmlBody, $textBody); -echo json_encode($result); - +echo json_encode($result); \ No newline at end of file diff --git a/admin/audit_logs.php b/admin/audit_logs.php index 0380ac3..63660c1 100644 --- a/admin/audit_logs.php +++ b/admin/audit_logs.php @@ -20,7 +20,7 @@ $logs = $pdo->query(" - Audit Logs - CharityHub Admin + Audit Logs - <?= htmlspecialchars(get_org_name()) ?> Admin