Completed
Push — master ( 353fdd...3797b8 )
by Roeland
21:56 queued 10:24
created
settings/templates/settings/personal/personal.info.php 1 patch
Indentation   +40 added lines, -40 removed lines patch added patch discarded remove patch
@@ -26,11 +26,11 @@  discard block
 block discarded – undo
26 26
 /** @var array $_ */
27 27
 
28 28
 script('settings', [
29
-	'usersettings',
30
-	'templates',
31
-	'federationsettingsview',
32
-	'federationscopemenu',
33
-	'settings/personalInfo',
29
+    'usersettings',
30
+    'templates',
31
+    'federationsettingsview',
32
+    'federationscopemenu',
33
+    'settings/personalInfo',
34 34
 ]);
35 35
 vendor_script('jcrop/js/jquery.Jcrop');
36 36
 vendor_style('jcrop/css/jquery.Jcrop');
@@ -88,10 +88,10 @@  discard block
 block discarded – undo
88 88
 					<p class="quotatext">
89 89
 						<?php if ($_['quota'] === \OCP\Files\FileInfo::SPACE_UNLIMITED): ?>
90 90
 							<?php print_unescaped($l->t('You are using <strong>%s</strong>',
91
-								[$_['usage']]));?>
91
+                                [$_['usage']]));?>
92 92
 						<?php else: ?>
93 93
 							<?php print_unescaped($l->t('You are using <strong>%1$s</strong> of <strong>%2$s</strong> (<strong>%3$s %%</strong>)',
94
-								[$_['usage'], $_['total_space'],  $_['usage_relative']]));?>
94
+                                [$_['usage'], $_['total_space'],  $_['usage_relative']]));?>
95 95
 						<?php endif ?>
96 96
 					</p>
97 97
 				</div>
@@ -138,17 +138,17 @@  discard block
 block discarded – undo
138 138
 				<div class="verify <?php if ($_['email'] === ''  || $_['emailScope'] !== 'public') p('hidden'); ?>">
139 139
 					<img id="verify-email" title="<?php p($_['emailMessage']); ?>" data-status="<?php p($_['emailVerification']) ?>" src="
140 140
 				<?php
141
-					switch($_['emailVerification']) {
142
-						case \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS:
143
-							p(image_path('core', 'actions/verifying.svg'));
144
-							break;
145
-						case \OC\Accounts\AccountManager::VERIFIED:
146
-							p(image_path('core', 'actions/verified.svg'));
147
-							break;
148
-						default:
149
-							p(image_path('core', 'actions/verify.svg'));
150
-					}
151
-					?>">
141
+                    switch($_['emailVerification']) {
142
+                        case \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS:
143
+                            p(image_path('core', 'actions/verifying.svg'));
144
+                            break;
145
+                        case \OC\Accounts\AccountManager::VERIFIED:
146
+                            p(image_path('core', 'actions/verified.svg'));
147
+                            break;
148
+                        default:
149
+                            p(image_path('core', 'actions/verify.svg'));
150
+                    }
151
+                    ?>">
152 152
 				</div>
153 153
 				<input type="email" name="email" id="email" value="<?php p($_['email']); ?>"
154 154
 					<?php if(!$_['displayNameChangeSupported']) { print_unescaped('class="hidden"'); } ?>
@@ -226,17 +226,17 @@  discard block
 block discarded – undo
226 226
 				<div class="verify <?php if ($_['website'] === ''  || $_['websiteScope'] !== 'public') p('hidden'); ?>">
227 227
 					<img id="verify-website" title="<?php p($_['websiteMessage']); ?>" data-status="<?php p($_['websiteVerification']) ?>" src="
228 228
 					<?php
229
-					switch($_['websiteVerification']) {
230
-						case \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS:
231
-							p(image_path('core', 'actions/verifying.svg'));
232
-							break;
233
-						case \OC\Accounts\AccountManager::VERIFIED:
234
-							p(image_path('core', 'actions/verified.svg'));
235
-							break;
236
-						default:
237
-							p(image_path('core', 'actions/verify.svg'));
238
-					}
239
-					?>"
229
+                    switch($_['websiteVerification']) {
230
+                        case \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS:
231
+                            p(image_path('core', 'actions/verifying.svg'));
232
+                            break;
233
+                        case \OC\Accounts\AccountManager::VERIFIED:
234
+                            p(image_path('core', 'actions/verified.svg'));
235
+                            break;
236
+                        default:
237
+                            p(image_path('core', 'actions/verify.svg'));
238
+                    }
239
+                    ?>"
240 240
 					<?php if($_['websiteVerification'] === \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS || $_['websiteVerification'] === \OC\Accounts\AccountManager::NOT_VERIFIED) print_unescaped(' class="verify-action"') ?>
241 241
 					>
242 242
 					<div class="verification-dialog popovermenu bubble menu">
@@ -275,17 +275,17 @@  discard block
 block discarded – undo
275 275
 				<div class="verify <?php if ($_['twitter'] === ''  || $_['twitterScope'] !== 'public') p('hidden'); ?>">
276 276
 					<img id="verify-twitter" title="<?php p($_['twitterMessage']); ?>" data-status="<?php p($_['twitterVerification']) ?>" src="
277 277
 					<?php
278
-					switch($_['twitterVerification']) {
279
-						case \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS:
280
-							p(image_path('core', 'actions/verifying.svg'));
281
-							break;
282
-						case \OC\Accounts\AccountManager::VERIFIED:
283
-							p(image_path('core', 'actions/verified.svg'));
284
-							break;
285
-						default:
286
-							p(image_path('core', 'actions/verify.svg'));
287
-					}
288
-					?>"
278
+                    switch($_['twitterVerification']) {
279
+                        case \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS:
280
+                            p(image_path('core', 'actions/verifying.svg'));
281
+                            break;
282
+                        case \OC\Accounts\AccountManager::VERIFIED:
283
+                            p(image_path('core', 'actions/verified.svg'));
284
+                            break;
285
+                        default:
286
+                            p(image_path('core', 'actions/verify.svg'));
287
+                    }
288
+                    ?>"
289 289
 					<?php if($_['twitterVerification'] === \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS || $_['twitterVerification'] === \OC\Accounts\AccountManager::NOT_VERIFIED) print_unescaped(' class="verify-action"') ?>
290 290
 					>
291 291
 					<div class="verification-dialog popovermenu bubble menu">
Please login to merge, or discard this patch.