mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-06-25 16:19:19 +02:00
cleanup: merge SMTP fields into single fieldset, rename to Emails
- Renamed section from 'Relay SMTP' to 'Emails' - Merged 'Expéditeur par défaut' fieldset into the main SMTP grid - Removed separate 'from_email' field: now uses username as from_email - Changed username label from 'Nom d\'utilisateur' to 'Adresse e-mail' with placeholder xamxam@erg.be and type=email - from_name and notify_email now inline in the main grid after password
This commit is contained in:
@@ -111,7 +111,7 @@ if ($section === 'formulaire_restrictions') {
|
||||
'port' => $_POST['smtp_port'] ?? 587,
|
||||
'encryption' => $_POST['smtp_encryption'] ?? 'tls',
|
||||
'username' => $_POST['smtp_username'] ?? '',
|
||||
'from_email' => $_POST['smtp_from_email'] ?? '',
|
||||
'from_email' => $_POST['smtp_username'] ?? '', // same as username
|
||||
'from_name' => $_POST['smtp_from_name'] ?? 'XAMXAM',
|
||||
'notify_email' => $_POST['smtp_notify_email'] ?? '',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user