Replace TLS checkbox with security dropdown (None/STARTTLS/SSL)
Replace the single IMAP TLS checkbox with a per-protocol security dropdown for IMAP, SMTP, and Sieve. The security scheme (ssl:// or tls://) is now stored directly in the host field, unifying the approach across all protocols. Smart form behavior: - Default ports update automatically when changing security type - Fields clear on blur when value matches the placeholder - Warning shown when selecting no encryption - Defaults: IMAP SSL/993, SMTP STARTTLS/587, Sieve STARTTLS/4190 The DB_SECURE_IMAP_TLS flag is no longer written but still read for backward compatibility with existing records.
This commit is contained in:
@@ -23,8 +23,8 @@ $labels['form.imap.caption'] = 'IMAP';
|
||||
// Server host name
|
||||
$labels['form.imap.host'] = 'Servernaam';
|
||||
|
||||
// Secure connection (TLS)
|
||||
$labels['form.imap.tls'] = 'Beveiligde verbinding (TLS)';
|
||||
// Security
|
||||
$labels['form.imap.security'] = 'Beveiliging';
|
||||
|
||||
// Port
|
||||
$labels['form.imap.port'] = 'Poortnummer';
|
||||
@@ -48,8 +48,8 @@ $labels['form.smtp.caption'] = 'SMTP';
|
||||
// Server host name
|
||||
$labels['form.smtp.host'] = 'Servernaam';
|
||||
|
||||
// Secure connection (TLS)
|
||||
$labels['form.smtp.tls'] = 'Beveiligde verbinding (TLS)';
|
||||
// Security
|
||||
$labels['form.smtp.security'] = 'Beveiliging';
|
||||
|
||||
// Port
|
||||
$labels['form.smtp.port'] = 'Poortnummer';
|
||||
@@ -70,6 +70,9 @@ $labels['form.sieve.caption'] = 'Sieve';
|
||||
// Server host name
|
||||
$labels['form.sieve.host'] = 'Servernaam';
|
||||
|
||||
// Security
|
||||
$labels['form.sieve.security'] = 'Beveiliging';
|
||||
|
||||
// Port
|
||||
$labels['form.sieve.port'] = 'Poortnummer';
|
||||
|
||||
@@ -111,6 +114,20 @@ $labels['form.notify.off'] = 'Uit';
|
||||
$labels['form.notify.requires_newmail_notifier'] = 'Meldingen vereisen de newmail_notifier-plug-in. Schakel deze in of neem contact op met uw beheerder.';
|
||||
|
||||
|
||||
// Security options
|
||||
// None
|
||||
$labels['form.security.none'] = 'Geen';
|
||||
|
||||
// STARTTLS
|
||||
$labels['form.security.starttls'] = 'STARTTLS';
|
||||
|
||||
// SSL/TLS
|
||||
$labels['form.security.ssl'] = 'SSL/TLS';
|
||||
|
||||
// None warning
|
||||
$labels['form.security.none_warning'] = 'Onversleutelde verbindingen zijn onveilig. Uw inloggegevens en e-mails kunnen worden onderschept. Gebruik waar mogelijk SSL/TLS of STARTTLS.';
|
||||
|
||||
|
||||
// Errors
|
||||
|
||||
// Value in \'Server host name\' field is too long (64 chars max).
|
||||
|
||||
Reference in New Issue
Block a user