Passed
Push — master ( b1d4c3...f8275a )
by Roeland
13:23
created
settings/templates/settings/personal/security.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -29,25 +29,25 @@  discard block
 block discarded – undo
29 29
 	'settings/authtoken-init'
30 30
 ]);
31 31
 
32
-if($_['passwordChangeSupported']) {
32
+if ($_['passwordChangeSupported']) {
33 33
 	script('settings', 'security_password');
34 34
 	script('jquery-showpassword');
35 35
 }
36 36
 
37 37
 ?>
38
-<?php if($_['passwordChangeSupported']) { ?>
38
+<?php if ($_['passwordChangeSupported']) { ?>
39 39
 <div id="security-password" class="section">
40
-	<h2 class="inlineblock"><?php p($l->t('Password'));?></h2>
40
+	<h2 class="inlineblock"><?php p($l->t('Password')); ?></h2>
41 41
 	<span id="password-error-msg" class="msg success hidden">Saved</span>
42 42
 	<div class="personal-settings-setting-box personal-settings-password-box">
43 43
 			<form id="passwordform">
44 44
 				<label for="pass1" class="hidden-visually"><?php p($l->t('Current password')); ?>: </label>
45 45
 				<input type="password" id="pass1" name="oldpassword"
46
-					   placeholder="<?php p($l->t('Current password'));?>"
46
+					   placeholder="<?php p($l->t('Current password')); ?>"
47 47
 					   autocomplete="off" autocapitalize="none" autocorrect="off" />
48 48
 
49 49
 				<div class="personal-show-container">
50
-					<label for="pass2" class="hidden-visually"><?php p($l->t('New password'));?>: </label>
50
+					<label for="pass2" class="hidden-visually"><?php p($l->t('New password')); ?>: </label>
51 51
 					<input type="password" id="pass2" name="newpassword"
52 52
 						   placeholder="<?php p($l->t('New password')); ?>"
53 53
 						   data-typetoggle="#personal-show"
@@ -64,11 +64,11 @@  discard block
 block discarded – undo
64 64
 <?php } ?>
65 65
 
66 66
 <div id="two-factor-auth" class="section">
67
-	<h2><?php p($l->t('Two-Factor Authentication'));?></h2>
67
+	<h2><?php p($l->t('Two-Factor Authentication')); ?></h2>
68 68
 	<a target="_blank" rel="noreferrer noopener" class="icon-info"
69
-	   title="<?php p($l->t('Open documentation'));?>"
69
+	   title="<?php p($l->t('Open documentation')); ?>"
70 70
 	   href="<?php p(link_to_docs('user-2fa')); ?>"></a>
71
-	<p class="settings-hint"><?php p($l->t('Use a second factor besides your password to increase security for your account.'));?></p>
71
+	<p class="settings-hint"><?php p($l->t('Use a second factor besides your password to increase security for your account.')); ?></p>
72 72
 	<ul>
73 73
 	<?php foreach ($_['twoFactorProviderData']['providers'] as $data) { ?>
74 74
 		<li>
@@ -94,14 +94,14 @@  discard block
 block discarded – undo
94 94
 </div>
95 95
 
96 96
 <div id="security" class="section">
97
-	<h2><?php p($l->t('Devices & sessions'));?></h2>
98
-	<p class="settings-hint hidden-when-empty"><?php p($l->t('Web, desktop and mobile clients currently logged in to your account.'));?></p>
97
+	<h2><?php p($l->t('Devices & sessions')); ?></h2>
98
+	<p class="settings-hint hidden-when-empty"><?php p($l->t('Web, desktop and mobile clients currently logged in to your account.')); ?></p>
99 99
 	<table class="icon-loading">
100 100
 		<thead class="token-list-header">
101 101
 			<tr>
102 102
 				<th></th>
103
-				<th><?php p($l->t('Device'));?></th>
104
-				<th><?php p($l->t('Last activity'));?></th>
103
+				<th><?php p($l->t('Device')); ?></th>
104
+				<th><?php p($l->t('Last activity')); ?></th>
105 105
 				<th></th>
106 106
 			</tr>
107 107
 		</thead>
Please login to merge, or discard this patch.