Completed
Push — master ( 1cb8fe...bee65f )
by Roeland
17:23
created
settings/templates/settings/personal/security.php 2 patches
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -22,17 +22,17 @@
 block discarded – undo
22 22
  */
23 23
 
24 24
 script('settings', [
25
-	'authtoken',
26
-	'authtoken_collection',
27
-	'authtoken_view',
28
-	'settings/authtoken-init'
25
+    'authtoken',
26
+    'authtoken_collection',
27
+    'authtoken_view',
28
+    'settings/authtoken-init'
29 29
 ]);
30 30
 
31 31
 if($_['passwordChangeSupported']) {
32
-	script('settings', 'security_password');
33
-	script('jquery-showpassword');
34
-	vendor_script('strengthify/jquery.strengthify');
35
-	vendor_style('strengthify/strengthify');
32
+    script('settings', 'security_password');
33
+    script('jquery-showpassword');
34
+    vendor_script('strengthify/jquery.strengthify');
35
+    vendor_style('strengthify/strengthify');
36 36
 }
37 37
 
38 38
 ?>
Please login to merge, or discard this patch.
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
 	'settings/authtoken-init'
29 29
 ]);
30 30
 
31
-if($_['passwordChangeSupported']) {
31
+if ($_['passwordChangeSupported']) {
32 32
 	script('settings', 'security_password');
33 33
 	script('jquery-showpassword');
34 34
 	vendor_script('strengthify/jquery.strengthify');
@@ -36,19 +36,19 @@  discard block
 block discarded – undo
36 36
 }
37 37
 
38 38
 ?>
39
-<?php if($_['passwordChangeSupported']) { ?>
39
+<?php if ($_['passwordChangeSupported']) { ?>
40 40
 <div id="security-password" class="section">
41
-	<h2 class="inlineblock"><?php p($l->t('Password'));?></h2>
41
+	<h2 class="inlineblock"><?php p($l->t('Password')); ?></h2>
42 42
 	<span id="password-error-msg" class="msg success hidden">Saved</span>
43 43
 	<div class="personal-settings-setting-box personal-settings-password-box">
44 44
 			<form id="passwordform">
45 45
 				<label for="pass1" class="hidden-visually"><?php p($l->t('Current password')); ?>: </label>
46 46
 				<input type="password" id="pass1" name="oldpassword"
47
-					   placeholder="<?php p($l->t('Current password'));?>"
47
+					   placeholder="<?php p($l->t('Current password')); ?>"
48 48
 					   autocomplete="off" autocapitalize="none" autocorrect="off" />
49 49
 
50 50
 				<div class="personal-show-container">
51
-					<label for="pass2" class="hidden-visually"><?php p($l->t('New password'));?>: </label>
51
+					<label for="pass2" class="hidden-visually"><?php p($l->t('New password')); ?>: </label>
52 52
 					<input type="password" id="pass2" name="newpassword"
53 53
 						   placeholder="<?php p($l->t('New password')); ?>"
54 54
 						   data-typetoggle="#personal-show"
@@ -65,14 +65,14 @@  discard block
 block discarded – undo
65 65
 <?php } ?>
66 66
 
67 67
 <div id="security" class="section">
68
-	<h2><?php p($l->t('Devices & sessions'));?></h2>
69
-	<p class="settings-hint hidden-when-empty"><?php p($l->t('Web, desktop and mobile clients currently logged in to your account.'));?></p>
68
+	<h2><?php p($l->t('Devices & sessions')); ?></h2>
69
+	<p class="settings-hint hidden-when-empty"><?php p($l->t('Web, desktop and mobile clients currently logged in to your account.')); ?></p>
70 70
 	<table class="icon-loading">
71 71
 		<thead class="token-list-header">
72 72
 			<tr>
73 73
 				<th></th>
74
-				<th><?php p($l->t('Device'));?></th>
75
-				<th><?php p($l->t('Last activity'));?></th>
74
+				<th><?php p($l->t('Device')); ?></th>
75
+				<th><?php p($l->t('Last activity')); ?></th>
76 76
 				<th></th>
77 77
 			</tr>
78 78
 		</thead>
Please login to merge, or discard this patch.