Completed
Push — master ( c367f9...d98423 )
by Blizzz
12:52
created
settings/templates/settings/admin/additional-mail.php 1 patch
Indentation   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -25,26 +25,26 @@  discard block
 block discarded – undo
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
-	['smtp', 'SMTP'],
41
+    ['smtp', 'SMTP'],
42 42
 ];
43 43
 if ($_['sendmail_is_available']) {
44
-	$mail_smtpmode[] = ['sendmail', 'Sendmail'];
44
+    $mail_smtpmode[] = ['sendmail', 'Sendmail'];
45 45
 }
46 46
 if ($_['mail_smtpmode'] === 'qmail') {
47
-	$mail_smtpmode[] = ['qmail', 'qmail'];
47
+    $mail_smtpmode[] = ['qmail', 'qmail'];
48 48
 }
49 49
 
50 50
 ?>
@@ -62,10 +62,10 @@  discard block
 block discarded – undo
62 62
 			<label for="mail_smtpmode"><?php p($l->t('Send mode')); ?></label>
63 63
 			<select name="mail_smtpmode" id="mail_smtpmode">
64 64
 				<?php foreach ($mail_smtpmode as $smtpmode):
65
-					$selected = '';
66
-					if ($smtpmode[0] == $_['mail_smtpmode']):
67
-						$selected = 'selected="selected"';
68
-					endif; ?>
65
+                    $selected = '';
66
+                    if ($smtpmode[0] == $_['mail_smtpmode']):
67
+                        $selected = 'selected="selected"';
68
+                    endif; ?>
69 69
 					<option value="<?php p($smtpmode[0])?>" <?php p($selected) ?>><?php p($smtpmode[1]) ?></option>
70 70
 				<?php endforeach;?>
71 71
 			</select>
@@ -77,10 +77,10 @@  discard block
 block discarded – undo
77 77
 			<select name="mail_smtpsecure" id="mail_smtpsecure"
78 78
 				<?php if ($_['mail_smtpmode'] !== 'smtp') print_unescaped(' class="hidden"'); ?>>
79 79
 				<?php foreach ($mail_smtpsecure as $secure => $name):
80
-					$selected = '';
81
-					if ($secure == $_['mail_smtpsecure']):
82
-						$selected = 'selected="selected"';
83
-					endif; ?>
80
+                    $selected = '';
81
+                    if ($secure == $_['mail_smtpsecure']):
82
+                        $selected = 'selected="selected"';
83
+                    endif; ?>
84 84
 					<option value="<?php p($secure)?>" <?php p($selected) ?>><?php p($name) ?></option>
85 85
 				<?php endforeach;?>
86 86
 			</select>
@@ -98,10 +98,10 @@  discard block
 block discarded – undo
98 98
 			<label for="mail_smtpauthtype"><?php p($l->t('Authentication method')); ?></label>
99 99
 			<select name="mail_smtpauthtype" id="mail_smtpauthtype">
100 100
 				<?php foreach ($mail_smtpauthtype as $authtype => $name):
101
-					$selected = '';
102
-					if ($authtype == $_['mail_smtpauthtype']):
103
-						$selected = 'selected="selected"';
104
-					endif; ?>
101
+                    $selected = '';
102
+                    if ($authtype == $_['mail_smtpauthtype']):
103
+                        $selected = 'selected="selected"';
104
+                    endif; ?>
105 105
 					<option value="<?php p($authtype)?>" <?php p($selected) ?>><?php p($name) ?></option>
106 106
 				<?php endforeach;?>
107 107
 			</select>
Please login to merge, or discard this patch.