@@ -25,10 +25,10 @@ discard block |
||
| 25 | 25 | /** @var array $_ */ |
| 26 | 26 | |
| 27 | 27 | script('settings', [ |
| 28 | - 'usersettings', |
|
| 29 | - 'federationsettingsview', |
|
| 30 | - 'federationscopemenu', |
|
| 31 | - 'settings/personalInfo', |
|
| 28 | + 'usersettings', |
|
| 29 | + 'federationsettingsview', |
|
| 30 | + 'federationscopemenu', |
|
| 31 | + 'settings/personalInfo', |
|
| 32 | 32 | ]); |
| 33 | 33 | vendor_script('strengthify/jquery.strengthify'); |
| 34 | 34 | vendor_style('strengthify/strengthify'); |
@@ -43,10 +43,10 @@ discard block |
||
| 43 | 43 | <p id="quotatext"> |
| 44 | 44 | <?php if ($_['quota'] === \OCP\Files\FileInfo::SPACE_UNLIMITED): ?> |
| 45 | 45 | <?php print_unescaped($l->t('You are using <strong>%s</strong> of <strong>%s</strong>', |
| 46 | - [$_['usage'], $_['total_space']]));?> |
|
| 46 | + [$_['usage'], $_['total_space']]));?> |
|
| 47 | 47 | <?php else: ?> |
| 48 | 48 | <?php print_unescaped($l->t('You are using <strong>%s</strong> of <strong>%s</strong> (<strong>%s %%</strong>)', |
| 49 | - [$_['usage'], $_['total_space'], $_['usage_relative']]));?> |
|
| 49 | + [$_['usage'], $_['total_space'], $_['usage_relative']]));?> |
|
| 50 | 50 | <?php endif ?> |
| 51 | 51 | </p> |
| 52 | 52 | </div> |
@@ -115,17 +115,17 @@ discard block |
||
| 115 | 115 | <div class="verify <?php if ($_['email'] === '' || $_['emailScope'] !== 'public') p('hidden'); ?>"> |
| 116 | 116 | <img id="verify-email" title="<?php p($_['emailMessage']); ?>" data-status="<?php p($_['emailVerification']) ?>" src=" |
| 117 | 117 | <?php |
| 118 | - switch($_['emailVerification']) { |
|
| 119 | - case \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS: |
|
| 120 | - p(image_path('core', 'actions/verifying.svg')); |
|
| 121 | - break; |
|
| 122 | - case \OC\Accounts\AccountManager::VERIFIED: |
|
| 123 | - p(image_path('core', 'actions/verified.svg')); |
|
| 124 | - break; |
|
| 125 | - default: |
|
| 126 | - p(image_path('core', 'actions/verify.svg')); |
|
| 127 | - } |
|
| 128 | - ?>"> |
|
| 118 | + switch($_['emailVerification']) { |
|
| 119 | + case \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS: |
|
| 120 | + p(image_path('core', 'actions/verifying.svg')); |
|
| 121 | + break; |
|
| 122 | + case \OC\Accounts\AccountManager::VERIFIED: |
|
| 123 | + p(image_path('core', 'actions/verified.svg')); |
|
| 124 | + break; |
|
| 125 | + default: |
|
| 126 | + p(image_path('core', 'actions/verify.svg')); |
|
| 127 | + } |
|
| 128 | + ?>"> |
|
| 129 | 129 | </div> |
| 130 | 130 | <input type="email" name="email" id="email" value="<?php p($_['email']); ?>" |
| 131 | 131 | <?php if(!$_['displayNameChangeSupported']) { print_unescaped('class="hidden"'); } ?> |
@@ -191,17 +191,17 @@ discard block |
||
| 191 | 191 | <div class="verify <?php if ($_['website'] === '' || $_['websiteScope'] !== 'public') p('hidden'); ?>"> |
| 192 | 192 | <img id="verify-website" title="<?php p($_['websiteMessage']); ?>" data-status="<?php p($_['websiteVerification']) ?>" src=" |
| 193 | 193 | <?php |
| 194 | - switch($_['websiteVerification']) { |
|
| 195 | - case \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS: |
|
| 196 | - p(image_path('core', 'actions/verifying.svg')); |
|
| 197 | - break; |
|
| 198 | - case \OC\Accounts\AccountManager::VERIFIED: |
|
| 199 | - p(image_path('core', 'actions/verified.svg')); |
|
| 200 | - break; |
|
| 201 | - default: |
|
| 202 | - p(image_path('core', 'actions/verify.svg')); |
|
| 203 | - } |
|
| 204 | - ?>" |
|
| 194 | + switch($_['websiteVerification']) { |
|
| 195 | + case \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS: |
|
| 196 | + p(image_path('core', 'actions/verifying.svg')); |
|
| 197 | + break; |
|
| 198 | + case \OC\Accounts\AccountManager::VERIFIED: |
|
| 199 | + p(image_path('core', 'actions/verified.svg')); |
|
| 200 | + break; |
|
| 201 | + default: |
|
| 202 | + p(image_path('core', 'actions/verify.svg')); |
|
| 203 | + } |
|
| 204 | + ?>" |
|
| 205 | 205 | <?php if($_['websiteVerification'] === \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS || $_['websiteVerification'] === \OC\Accounts\AccountManager::NOT_VERIFIED) print_unescaped(' class="verify-action"') ?> |
| 206 | 206 | > |
| 207 | 207 | <div class="verification-dialog popovermenu bubble menu"> |
@@ -236,17 +236,17 @@ discard block |
||
| 236 | 236 | <div class="verify <?php if ($_['twitter'] === '' || $_['twitterScope'] !== 'public') p('hidden'); ?>"> |
| 237 | 237 | <img id="verify-twitter" title="<?php p($_['twitterMessage']); ?>" data-status="<?php p($_['twitterVerification']) ?>" src=" |
| 238 | 238 | <?php |
| 239 | - switch($_['twitterVerification']) { |
|
| 240 | - case \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS: |
|
| 241 | - p(image_path('core', 'actions/verifying.svg')); |
|
| 242 | - break; |
|
| 243 | - case \OC\Accounts\AccountManager::VERIFIED: |
|
| 244 | - p(image_path('core', 'actions/verified.svg')); |
|
| 245 | - break; |
|
| 246 | - default: |
|
| 247 | - p(image_path('core', 'actions/verify.svg')); |
|
| 248 | - } |
|
| 249 | - ?>" |
|
| 239 | + switch($_['twitterVerification']) { |
|
| 240 | + case \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS: |
|
| 241 | + p(image_path('core', 'actions/verifying.svg')); |
|
| 242 | + break; |
|
| 243 | + case \OC\Accounts\AccountManager::VERIFIED: |
|
| 244 | + p(image_path('core', 'actions/verified.svg')); |
|
| 245 | + break; |
|
| 246 | + default: |
|
| 247 | + p(image_path('core', 'actions/verify.svg')); |
|
| 248 | + } |
|
| 249 | + ?>" |
|
| 250 | 250 | <?php if($_['twitterVerification'] === \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS || $_['twitterVerification'] === \OC\Accounts\AccountManager::NOT_VERIFIED) print_unescaped(' class="verify-action"') ?> |
| 251 | 251 | > |
| 252 | 252 | <div class="verification-dialog popovermenu bubble menu"> |
@@ -318,9 +318,9 @@ discard block |
||
| 318 | 318 | </div> |
| 319 | 319 | <div class="personal-settings-setting-box personal-settings-password-box"> |
| 320 | 320 | <?php |
| 321 | - if($_['passwordChangeSupported']) { |
|
| 322 | - script('jquery-showpassword'); |
|
| 323 | - ?> |
|
| 321 | + if($_['passwordChangeSupported']) { |
|
| 322 | + script('jquery-showpassword'); |
|
| 323 | + ?> |
|
| 324 | 324 | <form id="passwordform" class="section"> |
| 325 | 325 | <h2 class="inlineblock"><?php p($l->t('Password'));?></h2> |
| 326 | 326 | <div id="password-error-msg" class="msg success inlineblock" style="display: none;">Saved</div> |
@@ -343,8 +343,8 @@ discard block |
||
| 343 | 343 | <br/> |
| 344 | 344 | </form> |
| 345 | 345 | <?php |
| 346 | - } |
|
| 347 | - ?> |
|
| 346 | + } |
|
| 347 | + ?> |
|
| 348 | 348 | </div> |
| 349 | 349 | <span class="msg"></span> |
| 350 | 350 | </div> |