diff options
Diffstat (limited to 'apps/settings/templates')
-rw-r--r-- | apps/settings/templates/settings/admin/additional-mail.php | 33 |
1 files changed, 3 insertions, 30 deletions
diff --git a/apps/settings/templates/settings/admin/additional-mail.php b/apps/settings/templates/settings/admin/additional-mail.php index 6b85fcbe867..6b31ebe879c 100644 --- a/apps/settings/templates/settings/admin/additional-mail.php +++ b/apps/settings/templates/settings/admin/additional-mail.php @@ -24,17 +24,9 @@ /** @var \OCP\IL10N $l */ /** @var array $_ */ -$mail_smtpauthtype = [ - '' => $l->t('None'), - 'LOGIN' => $l->t('Login'), - 'PLAIN' => $l->t('Plain'), - 'NTLM' => $l->t('NT LAN Manager'), -]; - $mail_smtpsecure = [ '' => $l->t('None'), - 'ssl' => $l->t('SSL/TLS'), - 'tls' => $l->t('STARTTLS'), + 'ssl' => $l->t('SSL/TLS') ]; $mail_smtpmode = [ @@ -112,26 +104,7 @@ $mail_sendmailmode = [ value="<?php p($_['mail_domain']) ?>" /> </p> - <p id="setting_smtpauth" <?php if ($_['mail_smtpmode'] !== 'smtp') { - print_unescaped(' class="hidden"'); - } ?>> - <label for="mail_smtpauthtype"><?php p($l->t('Authentication method')); ?></label> - <select name="mail_smtpauthtype" id="mail_smtpauthtype"> - <?php foreach ($mail_smtpauthtype as $authtype => $name): - $selected = ''; - if ($authtype == $_['mail_smtpauthtype']): - $selected = 'selected="selected"'; - endif; ?> - <option value="<?php p($authtype)?>" <?php p($selected) ?>><?php p($name) ?></option> - <?php endforeach;?> - </select> - - <input type="checkbox" name="mail_smtpauth" id="mail_smtpauth" class="checkbox" value="1" - <?php if ($_['mail_smtpauth']) { - print_unescaped('checked="checked"'); - } ?> /> - <label for="mail_smtpauth"><?php p($l->t('Authentication required')); ?></label> - </p> +<!--lo--> <p id="setting_smtphost" <?php if ($_['mail_smtpmode'] !== 'smtp') { print_unescaped(' class="hidden"'); @@ -145,7 +118,7 @@ $mail_sendmailmode = [ </p> </form> <form class="mail_settings" id="mail_credentials_settings"> - <p id="mail_credentials" <?php if (!$_['mail_smtpauth'] || $_['mail_smtpmode'] !== 'smtp') { + <p id="mail_credentials" <?php if ($_['mail_smtpmode'] !== 'smtp') { print_unescaped(' class="hidden"'); } ?>> <label for="mail_smtpname"><?php p($l->t('Credentials')); ?></label> |