fix [IMAP only] button was only shown if [Manual entry] was selected first

This commit is contained in:
ralf 2024-09-26 09:07:49 +02:00
parent e15c8a24f1
commit 7171683cb7
4 changed files with 4 additions and 2 deletions

View File

@ -368,7 +368,7 @@ class admin_mail
}
}
$readonlys['button[manual]'] = true;
unset($content['manual_class']);
unset($content['manual_class'], $content['button']);
$sel_options['acc_imap_ssl'] = self::$ssl_types;
$tpl->exec(static::APP_CLASS.'autoconfig', $content, $sel_options, $readonlys,
array_diff_key($content, ['output'=>true]), 2);

View File

@ -840,6 +840,7 @@ site admin de Site
skip imap admin de IMAP auslassen
skipping imap configuration! admin de IMAP-Konfiguration ausgelassen!
smtp authentication admin de SMTP-Anmeldung
smtp only: to create only an smtp account admin de SMTP only: nur ein SMTP Konto anzulegen
smtp options admin de SMTP-Optionen
smtp server admin de SMTP-Server
smtp server name admin de SMTP-Server Name

View File

@ -840,6 +840,7 @@ site admin en Site
skip imap admin en Skip IMAP
skipping imap configuration! admin en Skipping IMAP configuration!
smtp authentication admin en SMTP authentication
smtp only: to create only an smtp account admin en SMTP only: to create only an SMTP account
smtp options admin en SMTP options
smtp server admin en SMTP server
smtp server name admin en SMTP server name

View File

@ -39,7 +39,7 @@
<et2-hbox span="all">
<et2-button label="Continue" id="button[continue]" onclick="app.admin.wizard_detect" image="continue"></et2-button>
<et2-button label="Manual entry" id="button[manual]" onclick="app.admin.wizard_manual" image="edit"></et2-button>
<et2-button label="Skip IMAP" id="button[skip_imap]" class="@manual_class" novalidate="1" image="bullet"></et2-button>
<et2-button label="Skip IMAP" id="button[skip_imap]" image="bullet" noValidation="true" statustext="SMTP only: to create only an SMTP account"></et2-button>
<et2-button label="Cancel" id="button[cancel]" onclick="window.close();" image="cancel" noSubmit="true"></et2-button>
</et2-hbox>
</row>