@@ -31,9 +31,12 @@ discard block |
||
| 31 | 31 | <?php if ($_['quota'] === \OCP\Files\FileInfo::SPACE_UNLIMITED): ?> |
| 32 | 32 | <?php print_unescaped($l->t('You are using <strong>%s</strong> of <strong>%s</strong>', |
| 33 | 33 | [$_['usage'], $_['total_space']]));?> |
| 34 | - <?php else: ?> |
|
| 34 | + <?php else { |
|
| 35 | + : ?> |
|
| 35 | 36 | <?php print_unescaped($l->t('You are using <strong>%s</strong> of <strong>%s</strong> (<strong>%s %%</strong>)', |
| 36 | - [$_['usage'], $_['total_space'], $_['usage_relative']]));?> |
|
| 37 | + [$_['usage'], $_['total_space'], $_['usage_relative']])); |
|
| 38 | +} |
|
| 39 | +?> |
|
| 37 | 40 | <?php endif ?> |
| 38 | 41 | </p> |
| 39 | 42 | </div> |
@@ -55,8 +58,11 @@ discard block |
||
| 55 | 58 | <div class="hidden button icon-delete svg" id="removeavatar" title="<?php p($l->t('Remove image')); ?>"></div> |
| 56 | 59 | <input type="file" name="files[]" id="uploadavatar" class="hiddenuploadfield"> |
| 57 | 60 | <p><em><?php p($l->t('png or jpg, max. 20 MB')); ?></em></p> |
| 58 | - <?php else: ?> |
|
| 59 | - <?php p($l->t('Picture provided by original account')); ?> |
|
| 61 | + <?php else { |
|
| 62 | + : ?> |
|
| 63 | + <?php p($l->t('Picture provided by original account')); |
|
| 64 | +} |
|
| 65 | +?> |
|
| 60 | 66 | <?php endif; ?> |
| 61 | 67 | </div> |
| 62 | 68 | |
@@ -96,7 +102,10 @@ discard block |
||
| 96 | 102 | <label for="email"><?php p($l->t('Email')); ?></label> |
| 97 | 103 | <span class="icon-federation-menu icon-password">▾<span/> |
| 98 | 104 | </h2> |
| 99 | - <div class="verify <?php if ($_['email'] === '' || $_['emailScope'] !== 'public') p('hidden'); ?>"> |
|
| 105 | + <div class="verify <?php if ($_['email'] === '' || $_['emailScope'] !== 'public') { |
|
| 106 | + p('hidden'); |
|
| 107 | +} |
|
| 108 | +?>"> |
|
| 100 | 109 | <img id="verify-email" title="<?php p($_['emailMessage']); ?>" data-status="<?php p($_['emailVerification']) ?>" src=" |
| 101 | 110 | <?php |
| 102 | 111 | switch($_['emailVerification']) { |
@@ -111,7 +120,12 @@ discard block |
||
| 111 | 120 | } |
| 112 | 121 | ?>"> |
| 113 | 122 | </div> |
| 114 | - <input type="email" name="email" id="email" value="<?php if(!$_['displayNameChangeSupported'] && empty($_['email'])) p($l->t('No email address set')); else p($_['email']); ?>" |
|
| 123 | + <input type="email" name="email" id="email" value="<?php if(!$_['displayNameChangeSupported'] && empty($_['email'])) { |
|
| 124 | + p($l->t('No email address set')); |
|
| 125 | +} else { |
|
| 126 | + p($_['email']); |
|
| 127 | +} |
|
| 128 | +?>" |
|
| 115 | 129 | <?php if(!$_['displayNameChangeSupported']) { print_unescaped('disabled="1"'); } ?> |
| 116 | 130 | placeholder="<?php p($l->t('Your email address')) ?>" |
| 117 | 131 | autocomplete="on" autocapitalize="none" autocorrect="off" /> |
@@ -132,7 +146,10 @@ discard block |
||
| 132 | 146 | <label for="phone"><?php p($l->t('Phone number')); ?></label> |
| 133 | 147 | <span class="icon-federation-menu icon-password">▾<span/> |
| 134 | 148 | </h2> |
| 135 | - <input type="tel" id="phone" name="phone" <?php if(!$_['lookupServerUploadEnabled']) print_unescaped('disabled="1"'); ?> |
|
| 149 | + <input type="tel" id="phone" name="phone" <?php if(!$_['lookupServerUploadEnabled']) { |
|
| 150 | + print_unescaped('disabled="1"'); |
|
| 151 | +} |
|
| 152 | +?> |
|
| 136 | 153 | value="<?php p($_['phone']) ?>" |
| 137 | 154 | placeholder="<?php p($l->t('Your phone number')); ?>" |
| 138 | 155 | autocomplete="on" autocapitalize="none" autocorrect="off" /> |
@@ -150,7 +167,10 @@ discard block |
||
| 150 | 167 | <label for="address"><?php p($l->t('Address')); ?></label> |
| 151 | 168 | <span class="icon-federation-menu icon-password">▾<span/> |
| 152 | 169 | </h2> |
| 153 | - <input type="text" id="address" name="address" <?php if(!$_['lookupServerUploadEnabled']) print_unescaped('disabled="1"'); ?> |
|
| 170 | + <input type="text" id="address" name="address" <?php if(!$_['lookupServerUploadEnabled']) { |
|
| 171 | + print_unescaped('disabled="1"'); |
|
| 172 | +} |
|
| 173 | +?> |
|
| 154 | 174 | placeholder="<?php p($l->t('Your postal address')); ?>" |
| 155 | 175 | value="<?php p($_['address']) ?>" |
| 156 | 176 | autocomplete="on" autocapitalize="none" autocorrect="off" /> |
@@ -169,7 +189,10 @@ discard block |
||
| 169 | 189 | <span class="icon-federation-menu icon-password">▾<span/> |
| 170 | 190 | </h2> |
| 171 | 191 | <?php if($_['lookupServerUploadEnabled']) { ?> |
| 172 | - <div class="verify <?php if ($_['website'] === '' || $_['websiteScope'] !== 'public') p('hidden'); ?>"> |
|
| 192 | + <div class="verify <?php if ($_['website'] === '' || $_['websiteScope'] !== 'public') { |
|
| 193 | + p('hidden'); |
|
| 194 | +} |
|
| 195 | +?>"> |
|
| 173 | 196 | <img id="verify-website" title="<?php p($_['websiteMessage']); ?>" data-status="<?php p($_['websiteVerification']) ?>" src=" |
| 174 | 197 | <?php |
| 175 | 198 | switch($_['websiteVerification']) { |
@@ -183,13 +206,16 @@ discard block |
||
| 183 | 206 | p(image_path('core', 'actions/verify.svg')); |
| 184 | 207 | } |
| 185 | 208 | ?>" |
| 186 | - <?php if($_['websiteVerification'] === \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS || $_['websiteVerification'] === \OC\Accounts\AccountManager::NOT_VERIFIED) print_unescaped(' class="verify-action"') ?> |
|
| 209 | + <?php if($_['websiteVerification'] === \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS || $_['websiteVerification'] === \OC\Accounts\AccountManager::NOT_VERIFIED) { |
|
| 210 | + print_unescaped(' class="verify-action"') ?> |
|
| 187 | 211 | > |
| 188 | 212 | <div class="verification-dialog popovermenu bubble menu"> |
| 189 | 213 | <div class="verification-dialog-content"> |
| 190 | 214 | <p class="explainVerification"></p> |
| 191 | 215 | <p class="verificationCode"></p> |
| 192 | - <p><?php p($l->t('It can take up to 24 hours before the account is displayed as verified.'));?></p> |
|
| 216 | + <p><?php p($l->t('It can take up to 24 hours before the account is displayed as verified.')); |
|
| 217 | +} |
|
| 218 | +?></p> |
|
| 193 | 219 | </div> |
| 194 | 220 | </div> |
| 195 | 221 | </div> |
@@ -197,7 +223,10 @@ discard block |
||
| 197 | 223 | <input type="text" name="website" id="website" value="<?php p($_['website']); ?>" |
| 198 | 224 | placeholder="<?php p($l->t('Link https://…')); ?>" |
| 199 | 225 | autocomplete="on" autocapitalize="none" autocorrect="off" |
| 200 | - <?php if(!$_['lookupServerUploadEnabled']) print_unescaped('disabled="1"'); ?> |
|
| 226 | + <?php if(!$_['lookupServerUploadEnabled']) { |
|
| 227 | + print_unescaped('disabled="1"'); |
|
| 228 | +} |
|
| 229 | +?> |
|
| 201 | 230 | /> |
| 202 | 231 | <span class="icon-checkmark hidden"/> |
| 203 | 232 | <?php if($_['lookupServerUploadEnabled']) { ?> |
@@ -214,7 +243,10 @@ discard block |
||
| 214 | 243 | <span class="icon-federation-menu icon-password">▾<span/> |
| 215 | 244 | </h2> |
| 216 | 245 | <?php if($_['lookupServerUploadEnabled']) { ?> |
| 217 | - <div class="verify <?php if ($_['twitter'] === '' || $_['twitterScope'] !== 'public') p('hidden'); ?>"> |
|
| 246 | + <div class="verify <?php if ($_['twitter'] === '' || $_['twitterScope'] !== 'public') { |
|
| 247 | + p('hidden'); |
|
| 248 | +} |
|
| 249 | +?>"> |
|
| 218 | 250 | <img id="verify-twitter" title="<?php p($_['twitterMessage']); ?>" data-status="<?php p($_['twitterVerification']) ?>" src=" |
| 219 | 251 | <?php |
| 220 | 252 | switch($_['twitterVerification']) { |
@@ -228,13 +260,16 @@ discard block |
||
| 228 | 260 | p(image_path('core', 'actions/verify.svg')); |
| 229 | 261 | } |
| 230 | 262 | ?>" |
| 231 | - <?php if($_['twitterVerification'] === \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS || $_['twitterVerification'] === \OC\Accounts\AccountManager::NOT_VERIFIED) print_unescaped(' class="verify-action"') ?> |
|
| 263 | + <?php if($_['twitterVerification'] === \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS || $_['twitterVerification'] === \OC\Accounts\AccountManager::NOT_VERIFIED) { |
|
| 264 | + print_unescaped(' class="verify-action"') ?> |
|
| 232 | 265 | > |
| 233 | 266 | <div class="verification-dialog popovermenu bubble menu"> |
| 234 | 267 | <div class="verification-dialog-content"> |
| 235 | 268 | <p class="explainVerification"></p> |
| 236 | 269 | <p class="verificationCode"></p> |
| 237 | - <p><?php p($l->t('It can take up to 24 hours before the account is displayed as verified.'));?></p> |
|
| 270 | + <p><?php p($l->t('It can take up to 24 hours before the account is displayed as verified.')); |
|
| 271 | +} |
|
| 272 | +?></p> |
|
| 238 | 273 | </div> |
| 239 | 274 | </div> |
| 240 | 275 | </div> |
@@ -242,7 +277,10 @@ discard block |
||
| 242 | 277 | <input type="text" name="twitter" id="twitter" value="<?php p($_['twitter']); ?>" |
| 243 | 278 | placeholder="<?php p($l->t('Twitter handle @…')); ?>" |
| 244 | 279 | autocomplete="on" autocapitalize="none" autocorrect="off" |
| 245 | - <?php if(!$_['lookupServerUploadEnabled']) print_unescaped('disabled="1"'); ?> |
|
| 280 | + <?php if(!$_['lookupServerUploadEnabled']) { |
|
| 281 | + print_unescaped('disabled="1"'); |
|
| 282 | +} |
|
| 283 | +?> |
|
| 246 | 284 | /> |
| 247 | 285 | <span class="icon-checkmark hidden"/> |
| 248 | 286 | <?php if($_['lookupServerUploadEnabled']) { ?> |