@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | </div> |
| 68 | 68 | </div> |
| 69 | 69 | <span class="icon-checkmark hidden"></span> |
| 70 | - <?php if($_['lookupServerUploadEnabled']) { ?> |
|
| 70 | + <?php if ($_['lookupServerUploadEnabled']) { ?> |
|
| 71 | 71 | <input type="hidden" id="avatarscope" value="<?php p($_['avatarScope']) ?>"> |
| 72 | 72 | <?php } ?> |
| 73 | 73 | </form> |
@@ -85,14 +85,14 @@ discard block |
||
| 85 | 85 | <p class="quotatext"> |
| 86 | 86 | <?php if ($_['quota'] === \OCP\Files\FileInfo::SPACE_UNLIMITED): ?> |
| 87 | 87 | <?php print_unescaped($l->t('You are using <strong>%s</strong>', |
| 88 | - [$_['usage']]));?> |
|
| 88 | + [$_['usage']])); ?> |
|
| 89 | 89 | <?php else: ?> |
| 90 | 90 | <?php print_unescaped($l->t('You are using <strong>%1$s</strong> of <strong>%2$s</strong> (<strong>%3$s %%</strong>)', |
| 91 | - [$_['usage'], $_['total_space'], $_['usage_relative']]));?> |
|
| 91 | + [$_['usage'], $_['total_space'], $_['usage_relative']])); ?> |
|
| 92 | 92 | <?php endif ?> |
| 93 | 93 | </p> |
| 94 | 94 | </div> |
| 95 | - <progress value="<?php p($_['usage_relative']); ?>" max="100"<?php if($_['usage_relative'] > 80): ?> class="warn" <?php endif; ?>></progress> |
|
| 95 | + <progress value="<?php p($_['usage_relative']); ?>" max="100"<?php if ($_['usage_relative'] > 80): ?> class="warn" <?php endif; ?>></progress> |
|
| 96 | 96 | </div> |
| 97 | 97 | </div> |
| 98 | 98 | </div> |
@@ -109,15 +109,15 @@ discard block |
||
| 109 | 109 | </div> |
| 110 | 110 | </h3> |
| 111 | 111 | <input type="text" id="displayname" name="displayname" |
| 112 | - <?php if(!$_['displayNameChangeSupported']) { print_unescaped('class="hidden"'); } ?> |
|
| 112 | + <?php if (!$_['displayNameChangeSupported']) { print_unescaped('class="hidden"'); } ?> |
|
| 113 | 113 | value="<?php p($_['displayName']) ?>" |
| 114 | 114 | autocomplete="on" autocapitalize="none" autocorrect="off" /> |
| 115 | - <?php if(!$_['displayNameChangeSupported']) { ?> |
|
| 116 | - <span><?php if(isset($_['displayName']) && !empty($_['displayName'])) { p($_['displayName']); } else { p($l->t('No display name set')); } ?></span> |
|
| 115 | + <?php if (!$_['displayNameChangeSupported']) { ?> |
|
| 116 | + <span><?php if (isset($_['displayName']) && !empty($_['displayName'])) { p($_['displayName']); } else { p($l->t('No display name set')); } ?></span> |
|
| 117 | 117 | <?php } ?> |
| 118 | 118 | <span class="icon-checkmark hidden"></span> |
| 119 | 119 | <span class="icon-error hidden" ></span> |
| 120 | - <?php if($_['lookupServerUploadEnabled']) { ?> |
|
| 120 | + <?php if ($_['lookupServerUploadEnabled']) { ?> |
|
| 121 | 121 | <input type="hidden" id="displaynamescope" value="<?php p($_['displayNameScope']) ?>"> |
| 122 | 122 | <?php } ?> |
| 123 | 123 | </form> |
@@ -132,10 +132,10 @@ discard block |
||
| 132 | 132 | </span> |
| 133 | 133 | </div> |
| 134 | 134 | </h3> |
| 135 | - <div class="verify <?php if ($_['email'] === '' || $_['emailScope'] !== 'public') p('hidden'); ?>"> |
|
| 135 | + <div class="verify <?php if ($_['email'] === '' || $_['emailScope'] !== 'public') p('hidden'); ?>"> |
|
| 136 | 136 | <img id="verify-email" title="<?php p($_['emailMessage']); ?>" data-status="<?php p($_['emailVerification']) ?>" src=" |
| 137 | 137 | <?php |
| 138 | - switch($_['emailVerification']) { |
|
| 138 | + switch ($_['emailVerification']) { |
|
| 139 | 139 | case \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS: |
| 140 | 140 | p(image_path('core', 'actions/verifying.svg')); |
| 141 | 141 | break; |
@@ -148,18 +148,18 @@ discard block |
||
| 148 | 148 | ?>"> |
| 149 | 149 | </div> |
| 150 | 150 | <input type="email" name="email" id="email" value="<?php p($_['email']); ?>" |
| 151 | - <?php if(!$_['displayNameChangeSupported']) { print_unescaped('class="hidden"'); } ?> |
|
| 151 | + <?php if (!$_['displayNameChangeSupported']) { print_unescaped('class="hidden"'); } ?> |
|
| 152 | 152 | placeholder="<?php p($l->t('Your email address')); ?>" |
| 153 | 153 | autocomplete="on" autocapitalize="none" autocorrect="off" /> |
| 154 | 154 | <span class="icon-checkmark hidden"></span> |
| 155 | 155 | <span class="icon-error hidden" ></span> |
| 156 | - <?php if(!$_['displayNameChangeSupported']) { ?> |
|
| 157 | - <span><?php if(isset($_['email']) && !empty($_['email'])) { p($_['email']); } else { p($l->t('No email address set')); }?></span> |
|
| 156 | + <?php if (!$_['displayNameChangeSupported']) { ?> |
|
| 157 | + <span><?php if (isset($_['email']) && !empty($_['email'])) { p($_['email']); } else { p($l->t('No email address set')); }?></span> |
|
| 158 | 158 | <?php } ?> |
| 159 | - <?php if($_['displayNameChangeSupported']) { ?> |
|
| 159 | + <?php if ($_['displayNameChangeSupported']) { ?> |
|
| 160 | 160 | <em><?php p($l->t('For password reset and notifications')); ?></em> |
| 161 | 161 | <?php } ?> |
| 162 | - <?php if($_['lookupServerUploadEnabled']) { ?> |
|
| 162 | + <?php if ($_['lookupServerUploadEnabled']) { ?> |
|
| 163 | 163 | <input type="hidden" id="emailscope" value="<?php p($_['emailScope']) ?>"> |
| 164 | 164 | <?php } ?> |
| 165 | 165 | </form> |
@@ -175,12 +175,12 @@ discard block |
||
| 175 | 175 | </span> |
| 176 | 176 | </div> |
| 177 | 177 | </h3> |
| 178 | - <input type="tel" id="phone" name="phone" <?php if(!$_['lookupServerUploadEnabled']) print_unescaped('disabled="1"'); ?> |
|
| 178 | + <input type="tel" id="phone" name="phone" <?php if (!$_['lookupServerUploadEnabled']) print_unescaped('disabled="1"'); ?> |
|
| 179 | 179 | value="<?php p($_['phone']) ?>" |
| 180 | 180 | placeholder="<?php p($l->t('Your phone number')); ?>" |
| 181 | 181 | autocomplete="on" autocapitalize="none" autocorrect="off" /> |
| 182 | 182 | <span class="icon-checkmark hidden"></span> |
| 183 | - <?php if($_['lookupServerUploadEnabled']) { ?> |
|
| 183 | + <?php if ($_['lookupServerUploadEnabled']) { ?> |
|
| 184 | 184 | <input type="hidden" id="phonescope" value="<?php p($_['phoneScope']) ?>"> |
| 185 | 185 | <?php } ?> |
| 186 | 186 | </form> |
@@ -197,12 +197,12 @@ discard block |
||
| 197 | 197 | </span> |
| 198 | 198 | </div> |
| 199 | 199 | </h3> |
| 200 | - <input type="text" id="address" name="address" <?php if(!$_['lookupServerUploadEnabled']) print_unescaped('disabled="1"'); ?> |
|
| 200 | + <input type="text" id="address" name="address" <?php if (!$_['lookupServerUploadEnabled']) print_unescaped('disabled="1"'); ?> |
|
| 201 | 201 | placeholder="<?php p($l->t('Your postal address')); ?>" |
| 202 | 202 | value="<?php p($_['address']) ?>" |
| 203 | 203 | autocomplete="on" autocapitalize="none" autocorrect="off" /> |
| 204 | 204 | <span class="icon-checkmark hidden"></span> |
| 205 | - <?php if($_['lookupServerUploadEnabled']) { ?> |
|
| 205 | + <?php if ($_['lookupServerUploadEnabled']) { ?> |
|
| 206 | 206 | <input type="hidden" id="addressscope" value="<?php p($_['addressScope']) ?>"> |
| 207 | 207 | <?php } ?> |
| 208 | 208 | </form> |
@@ -219,11 +219,11 @@ discard block |
||
| 219 | 219 | </span> |
| 220 | 220 | </div> |
| 221 | 221 | </h3> |
| 222 | - <?php if($_['lookupServerUploadEnabled']) { ?> |
|
| 223 | - <div class="verify <?php if ($_['website'] === '' || $_['websiteScope'] !== 'public') p('hidden'); ?>"> |
|
| 222 | + <?php if ($_['lookupServerUploadEnabled']) { ?> |
|
| 223 | + <div class="verify <?php if ($_['website'] === '' || $_['websiteScope'] !== 'public') p('hidden'); ?>"> |
|
| 224 | 224 | <img id="verify-website" title="<?php p($_['websiteMessage']); ?>" data-status="<?php p($_['websiteVerification']) ?>" src=" |
| 225 | 225 | <?php |
| 226 | - switch($_['websiteVerification']) { |
|
| 226 | + switch ($_['websiteVerification']) { |
|
| 227 | 227 | case \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS: |
| 228 | 228 | p(image_path('core', 'actions/verifying.svg')); |
| 229 | 229 | break; |
@@ -234,13 +234,13 @@ discard block |
||
| 234 | 234 | p(image_path('core', 'actions/verify.svg')); |
| 235 | 235 | } |
| 236 | 236 | ?>" |
| 237 | - <?php if($_['websiteVerification'] === \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS || $_['websiteVerification'] === \OC\Accounts\AccountManager::NOT_VERIFIED) print_unescaped(' class="verify-action"') ?> |
|
| 237 | + <?php if ($_['websiteVerification'] === \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS || $_['websiteVerification'] === \OC\Accounts\AccountManager::NOT_VERIFIED) print_unescaped(' class="verify-action"') ?> |
|
| 238 | 238 | > |
| 239 | 239 | <div class="verification-dialog popovermenu bubble menu"> |
| 240 | 240 | <div class="verification-dialog-content"> |
| 241 | 241 | <p class="explainVerification"></p> |
| 242 | 242 | <p class="verificationCode"></p> |
| 243 | - <p><?php p($l->t('It can take up to 24 hours before the account is displayed as verified.'));?></p> |
|
| 243 | + <p><?php p($l->t('It can take up to 24 hours before the account is displayed as verified.')); ?></p> |
|
| 244 | 244 | </div> |
| 245 | 245 | </div> |
| 246 | 246 | </div> |
@@ -248,10 +248,10 @@ discard block |
||
| 248 | 248 | <input type="url" name="website" id="website" value="<?php p($_['website']); ?>" |
| 249 | 249 | placeholder="<?php p($l->t('Link https://…')); ?>" |
| 250 | 250 | autocomplete="on" autocapitalize="none" autocorrect="off" |
| 251 | - <?php if(!$_['lookupServerUploadEnabled']) print_unescaped('disabled="1"'); ?> |
|
| 251 | + <?php if (!$_['lookupServerUploadEnabled']) print_unescaped('disabled="1"'); ?> |
|
| 252 | 252 | /> |
| 253 | 253 | <span class="icon-checkmark hidden"></span> |
| 254 | - <?php if($_['lookupServerUploadEnabled']) { ?> |
|
| 254 | + <?php if ($_['lookupServerUploadEnabled']) { ?> |
|
| 255 | 255 | <input type="hidden" id="websitescope" value="<?php p($_['websiteScope']) ?>"> |
| 256 | 256 | <?php } ?> |
| 257 | 257 | </form> |
@@ -268,11 +268,11 @@ discard block |
||
| 268 | 268 | </span> |
| 269 | 269 | </div> |
| 270 | 270 | </h3> |
| 271 | - <?php if($_['lookupServerUploadEnabled']) { ?> |
|
| 272 | - <div class="verify <?php if ($_['twitter'] === '' || $_['twitterScope'] !== 'public') p('hidden'); ?>"> |
|
| 271 | + <?php if ($_['lookupServerUploadEnabled']) { ?> |
|
| 272 | + <div class="verify <?php if ($_['twitter'] === '' || $_['twitterScope'] !== 'public') p('hidden'); ?>"> |
|
| 273 | 273 | <img id="verify-twitter" title="<?php p($_['twitterMessage']); ?>" data-status="<?php p($_['twitterVerification']) ?>" src=" |
| 274 | 274 | <?php |
| 275 | - switch($_['twitterVerification']) { |
|
| 275 | + switch ($_['twitterVerification']) { |
|
| 276 | 276 | case \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS: |
| 277 | 277 | p(image_path('core', 'actions/verifying.svg')); |
| 278 | 278 | break; |
@@ -283,13 +283,13 @@ discard block |
||
| 283 | 283 | p(image_path('core', 'actions/verify.svg')); |
| 284 | 284 | } |
| 285 | 285 | ?>" |
| 286 | - <?php if($_['twitterVerification'] === \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS || $_['twitterVerification'] === \OC\Accounts\AccountManager::NOT_VERIFIED) print_unescaped(' class="verify-action"') ?> |
|
| 286 | + <?php if ($_['twitterVerification'] === \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS || $_['twitterVerification'] === \OC\Accounts\AccountManager::NOT_VERIFIED) print_unescaped(' class="verify-action"') ?> |
|
| 287 | 287 | > |
| 288 | 288 | <div class="verification-dialog popovermenu bubble menu"> |
| 289 | 289 | <div class="verification-dialog-content"> |
| 290 | 290 | <p class="explainVerification"></p> |
| 291 | 291 | <p class="verificationCode"></p> |
| 292 | - <p><?php p($l->t('It can take up to 24 hours before the account is displayed as verified.'));?></p> |
|
| 292 | + <p><?php p($l->t('It can take up to 24 hours before the account is displayed as verified.')); ?></p> |
|
| 293 | 293 | </div> |
| 294 | 294 | </div> |
| 295 | 295 | </div> |
@@ -297,10 +297,10 @@ discard block |
||
| 297 | 297 | <input type="text" name="twitter" id="twitter" value="<?php p($_['twitter']); ?>" |
| 298 | 298 | placeholder="<?php p($l->t('Twitter handle @…')); ?>" |
| 299 | 299 | autocomplete="on" autocapitalize="none" autocorrect="off" |
| 300 | - <?php if(!$_['lookupServerUploadEnabled']) print_unescaped('disabled="1"'); ?> |
|
| 300 | + <?php if (!$_['lookupServerUploadEnabled']) print_unescaped('disabled="1"'); ?> |
|
| 301 | 301 | /> |
| 302 | 302 | <span class="icon-checkmark hidden"></span> |
| 303 | - <?php if($_['lookupServerUploadEnabled']) { ?> |
|
| 303 | + <?php if ($_['lookupServerUploadEnabled']) { ?> |
|
| 304 | 304 | <input type="hidden" id="twitterscope" value="<?php p($_['twitterScope']) ?>"> |
| 305 | 305 | <?php } ?> |
| 306 | 306 | </form> |
@@ -313,27 +313,27 @@ discard block |
||
| 313 | 313 | <?php if (isset($_['activelanguage'])) { ?> |
| 314 | 314 | <form id="language" class="section"> |
| 315 | 315 | <h3> |
| 316 | - <label for="languageinput"><?php p($l->t('Language'));?></label> |
|
| 316 | + <label for="languageinput"><?php p($l->t('Language')); ?></label> |
|
| 317 | 317 | </h3> |
| 318 | - <select id="languageinput" name="lang" data-placeholder="<?php p($l->t('Language'));?>"> |
|
| 319 | - <option value="<?php p($_['activelanguage']['code']);?>"> |
|
| 320 | - <?php p($_['activelanguage']['name']);?> |
|
| 318 | + <select id="languageinput" name="lang" data-placeholder="<?php p($l->t('Language')); ?>"> |
|
| 319 | + <option value="<?php p($_['activelanguage']['code']); ?>"> |
|
| 320 | + <?php p($_['activelanguage']['name']); ?> |
|
| 321 | 321 | </option> |
| 322 | - <?php foreach($_['commonlanguages'] as $language):?> |
|
| 323 | - <option value="<?php p($language['code']);?>"> |
|
| 324 | - <?php p($language['name']);?> |
|
| 322 | + <?php foreach ($_['commonlanguages'] as $language):?> |
|
| 323 | + <option value="<?php p($language['code']); ?>"> |
|
| 324 | + <?php p($language['name']); ?> |
|
| 325 | 325 | </option> |
| 326 | - <?php endforeach;?> |
|
| 326 | + <?php endforeach; ?> |
|
| 327 | 327 | <optgroup label="––––––––––"></optgroup> |
| 328 | - <?php foreach($_['languages'] as $language):?> |
|
| 329 | - <option value="<?php p($language['code']);?>"> |
|
| 330 | - <?php p($language['name']);?> |
|
| 328 | + <?php foreach ($_['languages'] as $language):?> |
|
| 329 | + <option value="<?php p($language['code']); ?>"> |
|
| 330 | + <?php p($language['name']); ?> |
|
| 331 | 331 | </option> |
| 332 | - <?php endforeach;?> |
|
| 332 | + <?php endforeach; ?> |
|
| 333 | 333 | </select> |
| 334 | 334 | <a href="https://www.transifex.com/nextcloud/nextcloud/" |
| 335 | 335 | target="_blank" rel="noreferrer noopener"> |
| 336 | - <em><?php p($l->t('Help translate'));?></em> |
|
| 336 | + <em><?php p($l->t('Help translate')); ?></em> |
|
| 337 | 337 | </a> |
| 338 | 338 | </form> |
| 339 | 339 | <?php } ?> |
@@ -342,27 +342,27 @@ discard block |
||
| 342 | 342 | <?php if (isset($_['activelocale'])) { ?> |
| 343 | 343 | <form id="locale" class="section"> |
| 344 | 344 | <h3> |
| 345 | - <label for="localeinput"><?php p($l->t('Locale'));?></label> |
|
| 345 | + <label for="localeinput"><?php p($l->t('Locale')); ?></label> |
|
| 346 | 346 | </h3> |
| 347 | - <select id="localeinput" name="lang" data-placeholder="<?php p($l->t('Locale'));?>"> |
|
| 348 | - <option value="<?php p($_['activelocale']['code']);?>"> |
|
| 349 | - <?php p($l->t($_['activelocale']['name']));?> |
|
| 347 | + <select id="localeinput" name="lang" data-placeholder="<?php p($l->t('Locale')); ?>"> |
|
| 348 | + <option value="<?php p($_['activelocale']['code']); ?>"> |
|
| 349 | + <?php p($l->t($_['activelocale']['name'])); ?> |
|
| 350 | 350 | </option> |
| 351 | 351 | <optgroup label="––––––––––"></optgroup> |
| 352 | - <?php foreach($_['localesForLanguage'] as $locale):?> |
|
| 353 | - <option value="<?php p($locale['code']);?>"> |
|
| 354 | - <?php p($l->t($locale['name']));?> |
|
| 352 | + <?php foreach ($_['localesForLanguage'] as $locale):?> |
|
| 353 | + <option value="<?php p($locale['code']); ?>"> |
|
| 354 | + <?php p($l->t($locale['name'])); ?> |
|
| 355 | 355 | </option> |
| 356 | - <?php endforeach;?> |
|
| 356 | + <?php endforeach; ?> |
|
| 357 | 357 | <optgroup label="––––––––––"></optgroup> |
| 358 | - <option value="<?php p($_['activelocale']['code']);?>"> |
|
| 359 | - <?php p($l->t($_['activelocale']['name']));?> |
|
| 358 | + <option value="<?php p($_['activelocale']['code']); ?>"> |
|
| 359 | + <?php p($l->t($_['activelocale']['name'])); ?> |
|
| 360 | 360 | </option> |
| 361 | - <?php foreach($_['locales'] as $locale):?> |
|
| 362 | - <option value="<?php p($locale['code']);?>"> |
|
| 363 | - <?php p($l->t($locale['name']));?> |
|
| 361 | + <?php foreach ($_['locales'] as $locale):?> |
|
| 362 | + <option value="<?php p($locale['code']); ?>"> |
|
| 363 | + <?php p($l->t($locale['name'])); ?> |
|
| 364 | 364 | </option> |
| 365 | - <?php endforeach;?> |
|
| 365 | + <?php endforeach; ?> |
|
| 366 | 366 | </select> |
| 367 | 367 | <div id="localeexample" class="personal-info icon-timezone"> |
| 368 | 368 | <p> |