@@ -25,27 +25,27 @@ discard block |
||
25 | 25 | /** @var array $_ */ |
26 | 26 | |
27 | 27 | $mail_smtpauthtype = [ |
28 | - '' => $l->t('None'), |
|
29 | - 'LOGIN' => $l->t('Login'), |
|
30 | - 'PLAIN' => $l->t('Plain'), |
|
31 | - 'NTLM' => $l->t('NT LAN Manager'), |
|
28 | + '' => $l->t('None'), |
|
29 | + 'LOGIN' => $l->t('Login'), |
|
30 | + 'PLAIN' => $l->t('Plain'), |
|
31 | + 'NTLM' => $l->t('NT LAN Manager'), |
|
32 | 32 | ]; |
33 | 33 | |
34 | 34 | $mail_smtpsecure = [ |
35 | - '' => $l->t('None'), |
|
36 | - 'ssl' => $l->t('SSL/TLS'), |
|
37 | - 'tls' => $l->t('STARTTLS'), |
|
35 | + '' => $l->t('None'), |
|
36 | + 'ssl' => $l->t('SSL/TLS'), |
|
37 | + 'tls' => $l->t('STARTTLS'), |
|
38 | 38 | ]; |
39 | 39 | |
40 | 40 | $mail_smtpmode = [ |
41 | - ['php', 'PHP'], |
|
42 | - ['smtp', 'SMTP'], |
|
41 | + ['php', 'PHP'], |
|
42 | + ['smtp', 'SMTP'], |
|
43 | 43 | ]; |
44 | 44 | if ($_['sendmail_is_available']) { |
45 | - $mail_smtpmode[] = ['sendmail', 'Sendmail']; |
|
45 | + $mail_smtpmode[] = ['sendmail', 'Sendmail']; |
|
46 | 46 | } |
47 | 47 | if ($_['mail_smtpmode'] === 'qmail') { |
48 | - $mail_smtpmode[] = ['qmail', 'qmail']; |
|
48 | + $mail_smtpmode[] = ['qmail', 'qmail']; |
|
49 | 49 | } |
50 | 50 | |
51 | 51 | ?> |
@@ -63,10 +63,10 @@ discard block |
||
63 | 63 | <label for="mail_smtpmode"><?php p($l->t('Send mode')); ?></label> |
64 | 64 | <select name="mail_smtpmode" id="mail_smtpmode"> |
65 | 65 | <?php foreach ($mail_smtpmode as $smtpmode): |
66 | - $selected = ''; |
|
67 | - if ($smtpmode[0] == $_['mail_smtpmode']): |
|
68 | - $selected = 'selected="selected"'; |
|
69 | - endif; ?> |
|
66 | + $selected = ''; |
|
67 | + if ($smtpmode[0] == $_['mail_smtpmode']): |
|
68 | + $selected = 'selected="selected"'; |
|
69 | + endif; ?> |
|
70 | 70 | <option value="<?php p($smtpmode[0])?>" <?php p($selected) ?>><?php p($smtpmode[1]) ?></option> |
71 | 71 | <?php endforeach;?> |
72 | 72 | </select> |
@@ -78,10 +78,10 @@ discard block |
||
78 | 78 | <select name="mail_smtpsecure" id="mail_smtpsecure" |
79 | 79 | <?php if ($_['mail_smtpmode'] !== 'smtp') print_unescaped(' class="hidden"'); ?>> |
80 | 80 | <?php foreach ($mail_smtpsecure as $secure => $name): |
81 | - $selected = ''; |
|
82 | - if ($secure == $_['mail_smtpsecure']): |
|
83 | - $selected = 'selected="selected"'; |
|
84 | - endif; ?> |
|
81 | + $selected = ''; |
|
82 | + if ($secure == $_['mail_smtpsecure']): |
|
83 | + $selected = 'selected="selected"'; |
|
84 | + endif; ?> |
|
85 | 85 | <option value="<?php p($secure)?>" <?php p($selected) ?>><?php p($name) ?></option> |
86 | 86 | <?php endforeach;?> |
87 | 87 | </select> |
@@ -99,10 +99,10 @@ discard block |
||
99 | 99 | <label for="mail_smtpauthtype"><?php p($l->t('Authentication method')); ?></label> |
100 | 100 | <select name="mail_smtpauthtype" id="mail_smtpauthtype'> |
101 | 101 | <?php foreach ($mail_smtpauthtype as $authtype => $name): |
102 | - $selected = ''; |
|
103 | - if ($authtype == $_['mail_smtpauthtype']): |
|
104 | - $selected = 'selected="selected"'; |
|
105 | - endif; ?> |
|
102 | + $selected = ''; |
|
103 | + if ($authtype == $_['mail_smtpauthtype']): |
|
104 | + $selected = 'selected="selected"'; |
|
105 | + endif; ?> |
|
106 | 106 | <option value="<?php p($authtype)?>" <?php p($selected) ?>><?php p($name) ?></option> |
107 | 107 | <?php endforeach;?> |
108 | 108 | </select> |