From f0ffa91b12c0a55106c499ca2303310433d80d69 Mon Sep 17 00:00:00 2001 From: Anna Larch Date: Mon, 20 Feb 2023 18:04:09 +0100 Subject: [PATCH] Add back authentication checkbox for mailer settings Signed-off-by: Anna Larch --- .../settings/admin/additional-mail.php | 90 ++++++++++++------- 1 file changed, 58 insertions(+), 32 deletions(-) diff --git a/apps/settings/templates/settings/admin/additional-mail.php b/apps/settings/templates/settings/admin/additional-mail.php index 6b31ebe879cfd..64e57e87ee9ce 100644 --- a/apps/settings/templates/settings/admin/additional-mail.php +++ b/apps/settings/templates/settings/admin/additional-mail.php @@ -1,29 +1,33 @@ - * - * @author Arthur Schiwon - * - * @license GNU AGPL version 3 or any later version - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - * - */ + * @copyright Copyright (c) 2016 Arthur Schiwon + * + * @author Arthur Schiwon + * + * @license GNU AGPL version 3 or any later version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ /** @var \OCP\IL10N $l */ /** @var array $_ */ +$mail_smtpauthtype = [ + 'LOGIN' => $l->t('Login') +]; + $mail_smtpsecure = [ '' => $l->t('None'), 'ssl' => $l->t('SSL/TLS') @@ -50,9 +54,11 @@

t('Email server'));?>

-

t('It is important to set up this server to be able to send emails, like for password reset and notifications.')); ?>

+ title="t('Open documentation'));?>" + href=""> +

+ t('It is important to set up this server to be able to send emails, like for password reset and notifications.')); ?> +

@@ -99,26 +105,46 @@

@ + value="" />@ + value="" />

- - +
-