mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-06 19:19:19 +02:00
fix: remove Post-ERG branding → XAMXAM; drop legacy posterg nginx symlink in deploy script; rename posterg.db → xamxam.db
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Admin Panel Structure
|
||||
|
||||
This directory contains the admin panel for managing Post-ERG thesis database.
|
||||
This directory contains the admin panel for managing XAMXAM thesis database.
|
||||
|
||||
## Directory Structure
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ if ($section === 'formulaire') {
|
||||
'encryption' => $_POST['smtp_encryption'] ?? 'tls',
|
||||
'username' => $_POST['smtp_username'] ?? '',
|
||||
'from_email' => $_POST['smtp_from_email'] ?? '',
|
||||
'from_name' => $_POST['smtp_from_name'] ?? 'Post-ERG',
|
||||
'from_name' => $_POST['smtp_from_name'] ?? 'XAMXAM',
|
||||
];
|
||||
// Only update password when user actually typed something.
|
||||
$pwd = $_POST['smtp_password'] ?? '';
|
||||
|
||||
@@ -32,16 +32,16 @@ if (!SmtpRelay::isConfigured($db)) {
|
||||
exit;
|
||||
}
|
||||
|
||||
$subject = 'Test SMTP — Post-ERG';
|
||||
$subject = 'Test SMTP — XAMXAM';
|
||||
$sentDate = date('d/m/Y à H:i:s');
|
||||
$toSafe = htmlspecialchars($to);
|
||||
$body = <<<HTML
|
||||
<html>
|
||||
<body style="font-family: sans-serif; color: #222; max-width: 600px; margin: 0 auto; padding: 24px;">
|
||||
<h1 style="font-size: 1.4rem; border-bottom: 2px solid #c00; padding-bottom: 8px;">
|
||||
Test d'envoi SMTP — Post-ERG
|
||||
Test d'envoi SMTP — XAMXAM
|
||||
</h1>
|
||||
<p>Ceci est un e-mail de test envoyé depuis l'interface d'administration de <strong>Post-ERG</strong>.</p>
|
||||
<p>Ceci est un e-mail de test envoyé depuis l'interface d'administration de <strong>XAMXAM</strong>.</p>
|
||||
<p>Si vous recevez ce message, la configuration du relay SMTP est correcte.</p>
|
||||
<hr style="border:none; border-top:1px solid #ddd; margin: 24px 0;">
|
||||
<p style="font-size: 0.85rem; color: #666;">
|
||||
|
||||
Reference in New Issue
Block a user