@@ -38,15 +38,15 @@ discard block |
||
| 38 | 38 | ?> |
| 39 | 39 | |
| 40 | 40 | <div id="quota" class="section"> |
| 41 | - <div style="width:<?php p($_['usage_relative']);?>%" |
|
| 42 | - <?php if($_['usage_relative'] > 80): ?> class="quota-warning" <?php endif; ?>> |
|
| 41 | + <div style="width:<?php p($_['usage_relative']); ?>%" |
|
| 42 | + <?php if ($_['usage_relative'] > 80): ?> class="quota-warning" <?php endif; ?>> |
|
| 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> |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | </div> |
| 82 | 82 | </div> |
| 83 | 83 | <span class="icon-checkmark hidden"></span> |
| 84 | - <?php if($_['lookupServerUploadEnabled']) { ?> |
|
| 84 | + <?php if ($_['lookupServerUploadEnabled']) { ?> |
|
| 85 | 85 | <input type="hidden" id="avatarscope" value="<?php p($_['avatarScope']) ?>"> |
| 86 | 86 | <?php } ?> |
| 87 | 87 | </form> |
@@ -97,15 +97,15 @@ discard block |
||
| 97 | 97 | </span> |
| 98 | 98 | </h2> |
| 99 | 99 | <input type="text" id="displayname" name="displayname" |
| 100 | - <?php if(!$_['displayNameChangeSupported']) { print_unescaped('class="hidden"'); } ?> |
|
| 100 | + <?php if (!$_['displayNameChangeSupported']) { print_unescaped('class="hidden"'); } ?> |
|
| 101 | 101 | value="<?php p($_['displayName']) ?>" |
| 102 | 102 | autocomplete="on" autocapitalize="none" autocorrect="off" /> |
| 103 | - <?php if(!$_['displayNameChangeSupported']) { ?> |
|
| 104 | - <span><?php if(isset($_['displayName']) && !empty($_['displayName'])) { p($_['displayName']); } else { p($l->t('No display name set')); } ?></span> |
|
| 103 | + <?php if (!$_['displayNameChangeSupported']) { ?> |
|
| 104 | + <span><?php if (isset($_['displayName']) && !empty($_['displayName'])) { p($_['displayName']); } else { p($l->t('No display name set')); } ?></span> |
|
| 105 | 105 | <?php } ?> |
| 106 | 106 | <span class="icon-checkmark hidden"></span> |
| 107 | 107 | <span class="icon-error hidden" ></span> |
| 108 | - <?php if($_['lookupServerUploadEnabled']) { ?> |
|
| 108 | + <?php if ($_['lookupServerUploadEnabled']) { ?> |
|
| 109 | 109 | <input type="hidden" id="displaynamescope" value="<?php p($_['displayNameScope']) ?>"> |
| 110 | 110 | <?php } ?> |
| 111 | 111 | </form> |
@@ -118,10 +118,10 @@ discard block |
||
| 118 | 118 | <span class="icon-triangle-s"></span> |
| 119 | 119 | </span> |
| 120 | 120 | </h2> |
| 121 | - <div class="verify <?php if ($_['email'] === '' || $_['emailScope'] !== 'public') p('hidden'); ?>"> |
|
| 121 | + <div class="verify <?php if ($_['email'] === '' || $_['emailScope'] !== 'public') p('hidden'); ?>"> |
|
| 122 | 122 | <img id="verify-email" title="<?php p($_['emailMessage']); ?>" data-status="<?php p($_['emailVerification']) ?>" src=" |
| 123 | 123 | <?php |
| 124 | - switch($_['emailVerification']) { |
|
| 124 | + switch ($_['emailVerification']) { |
|
| 125 | 125 | case \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS: |
| 126 | 126 | p(image_path('core', 'actions/verifying.svg')); |
| 127 | 127 | break; |
@@ -134,18 +134,18 @@ discard block |
||
| 134 | 134 | ?>"> |
| 135 | 135 | </div> |
| 136 | 136 | <input type="email" name="email" id="email" value="<?php p($_['email']); ?>" |
| 137 | - <?php if(!$_['displayNameChangeSupported']) { print_unescaped('class="hidden"'); } ?> |
|
| 137 | + <?php if (!$_['displayNameChangeSupported']) { print_unescaped('class="hidden"'); } ?> |
|
| 138 | 138 | placeholder="<?php p($l->t('Your email address')); ?>" |
| 139 | 139 | autocomplete="on" autocapitalize="none" autocorrect="off" /> |
| 140 | 140 | <span class="icon-checkmark hidden"></span> |
| 141 | 141 | <span class="icon-error hidden" ></span> |
| 142 | - <?php if(!$_['displayNameChangeSupported']) { ?> |
|
| 143 | - <span><?php if(isset($_['email']) && !empty($_['email'])) { p($_['email']); } else { p($l->t('No email address set')); }?></span> |
|
| 142 | + <?php if (!$_['displayNameChangeSupported']) { ?> |
|
| 143 | + <span><?php if (isset($_['email']) && !empty($_['email'])) { p($_['email']); } else { p($l->t('No email address set')); }?></span> |
|
| 144 | 144 | <?php } ?> |
| 145 | - <?php if($_['displayNameChangeSupported']) { ?> |
|
| 145 | + <?php if ($_['displayNameChangeSupported']) { ?> |
|
| 146 | 146 | <em><?php p($l->t('For password reset and notifications')); ?></em> |
| 147 | 147 | <?php } ?> |
| 148 | - <?php if($_['lookupServerUploadEnabled']) { ?> |
|
| 148 | + <?php if ($_['lookupServerUploadEnabled']) { ?> |
|
| 149 | 149 | <input type="hidden" id="emailscope" value="<?php p($_['emailScope']) ?>"> |
| 150 | 150 | <?php } ?> |
| 151 | 151 | </form> |
@@ -159,12 +159,12 @@ discard block |
||
| 159 | 159 | <span class="icon-triangle-s"></span> |
| 160 | 160 | </span> |
| 161 | 161 | </h2> |
| 162 | - <input type="tel" id="phone" name="phone" <?php if(!$_['lookupServerUploadEnabled']) print_unescaped('disabled="1"'); ?> |
|
| 162 | + <input type="tel" id="phone" name="phone" <?php if (!$_['lookupServerUploadEnabled']) print_unescaped('disabled="1"'); ?> |
|
| 163 | 163 | value="<?php p($_['phone']) ?>" |
| 164 | 164 | placeholder="<?php p($l->t('Your phone number')); ?>" |
| 165 | 165 | autocomplete="on" autocapitalize="none" autocorrect="off" /> |
| 166 | 166 | <span class="icon-checkmark hidden"></span> |
| 167 | - <?php if($_['lookupServerUploadEnabled']) { ?> |
|
| 167 | + <?php if ($_['lookupServerUploadEnabled']) { ?> |
|
| 168 | 168 | <input type="hidden" id="phonescope" value="<?php p($_['phoneScope']) ?>"> |
| 169 | 169 | <?php } ?> |
| 170 | 170 | </form> |
@@ -179,12 +179,12 @@ discard block |
||
| 179 | 179 | <span class="icon-triangle-s"></span> |
| 180 | 180 | </span> |
| 181 | 181 | </h2> |
| 182 | - <input type="text" id="address" name="address" <?php if(!$_['lookupServerUploadEnabled']) print_unescaped('disabled="1"'); ?> |
|
| 182 | + <input type="text" id="address" name="address" <?php if (!$_['lookupServerUploadEnabled']) print_unescaped('disabled="1"'); ?> |
|
| 183 | 183 | placeholder="<?php p($l->t('Your postal address')); ?>" |
| 184 | 184 | value="<?php p($_['address']) ?>" |
| 185 | 185 | autocomplete="on" autocapitalize="none" autocorrect="off" /> |
| 186 | 186 | <span class="icon-checkmark hidden"></span> |
| 187 | - <?php if($_['lookupServerUploadEnabled']) { ?> |
|
| 187 | + <?php if ($_['lookupServerUploadEnabled']) { ?> |
|
| 188 | 188 | <input type="hidden" id="addressscope" value="<?php p($_['addressScope']) ?>"> |
| 189 | 189 | <?php } ?> |
| 190 | 190 | </form> |
@@ -199,11 +199,11 @@ discard block |
||
| 199 | 199 | <span class="icon-triangle-s"></span> |
| 200 | 200 | </span> |
| 201 | 201 | </h2> |
| 202 | - <?php if($_['lookupServerUploadEnabled']) { ?> |
|
| 203 | - <div class="verify <?php if ($_['website'] === '' || $_['websiteScope'] !== 'public') p('hidden'); ?>"> |
|
| 202 | + <?php if ($_['lookupServerUploadEnabled']) { ?> |
|
| 203 | + <div class="verify <?php if ($_['website'] === '' || $_['websiteScope'] !== 'public') p('hidden'); ?>"> |
|
| 204 | 204 | <img id="verify-website" title="<?php p($_['websiteMessage']); ?>" data-status="<?php p($_['websiteVerification']) ?>" src=" |
| 205 | 205 | <?php |
| 206 | - switch($_['websiteVerification']) { |
|
| 206 | + switch ($_['websiteVerification']) { |
|
| 207 | 207 | case \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS: |
| 208 | 208 | p(image_path('core', 'actions/verifying.svg')); |
| 209 | 209 | break; |
@@ -214,13 +214,13 @@ discard block |
||
| 214 | 214 | p(image_path('core', 'actions/verify.svg')); |
| 215 | 215 | } |
| 216 | 216 | ?>" |
| 217 | - <?php if($_['websiteVerification'] === \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS || $_['websiteVerification'] === \OC\Accounts\AccountManager::NOT_VERIFIED) print_unescaped(' class="verify-action"') ?> |
|
| 217 | + <?php if ($_['websiteVerification'] === \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS || $_['websiteVerification'] === \OC\Accounts\AccountManager::NOT_VERIFIED) print_unescaped(' class="verify-action"') ?> |
|
| 218 | 218 | > |
| 219 | 219 | <div class="verification-dialog popovermenu bubble menu"> |
| 220 | 220 | <div class="verification-dialog-content"> |
| 221 | 221 | <p class="explainVerification"></p> |
| 222 | 222 | <p class="verificationCode"></p> |
| 223 | - <p><?php p($l->t('It can take up to 24 hours before the account is displayed as verified.'));?></p> |
|
| 223 | + <p><?php p($l->t('It can take up to 24 hours before the account is displayed as verified.')); ?></p> |
|
| 224 | 224 | </div> |
| 225 | 225 | </div> |
| 226 | 226 | </div> |
@@ -228,10 +228,10 @@ discard block |
||
| 228 | 228 | <input type="text" name="website" id="website" value="<?php p($_['website']); ?>" |
| 229 | 229 | placeholder="<?php p($l->t('Link https://…')); ?>" |
| 230 | 230 | autocomplete="on" autocapitalize="none" autocorrect="off" |
| 231 | - <?php if(!$_['lookupServerUploadEnabled']) print_unescaped('disabled="1"'); ?> |
|
| 231 | + <?php if (!$_['lookupServerUploadEnabled']) print_unescaped('disabled="1"'); ?> |
|
| 232 | 232 | /> |
| 233 | 233 | <span class="icon-checkmark hidden"></span> |
| 234 | - <?php if($_['lookupServerUploadEnabled']) { ?> |
|
| 234 | + <?php if ($_['lookupServerUploadEnabled']) { ?> |
|
| 235 | 235 | <input type="hidden" id="websitescope" value="<?php p($_['websiteScope']) ?>"> |
| 236 | 236 | <?php } ?> |
| 237 | 237 | </form> |
@@ -246,11 +246,11 @@ discard block |
||
| 246 | 246 | <span class="icon-triangle-s"></span> |
| 247 | 247 | </span> |
| 248 | 248 | </h2> |
| 249 | - <?php if($_['lookupServerUploadEnabled']) { ?> |
|
| 250 | - <div class="verify <?php if ($_['twitter'] === '' || $_['twitterScope'] !== 'public') p('hidden'); ?>"> |
|
| 249 | + <?php if ($_['lookupServerUploadEnabled']) { ?> |
|
| 250 | + <div class="verify <?php if ($_['twitter'] === '' || $_['twitterScope'] !== 'public') p('hidden'); ?>"> |
|
| 251 | 251 | <img id="verify-twitter" title="<?php p($_['twitterMessage']); ?>" data-status="<?php p($_['twitterVerification']) ?>" src=" |
| 252 | 252 | <?php |
| 253 | - switch($_['twitterVerification']) { |
|
| 253 | + switch ($_['twitterVerification']) { |
|
| 254 | 254 | case \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS: |
| 255 | 255 | p(image_path('core', 'actions/verifying.svg')); |
| 256 | 256 | break; |
@@ -261,13 +261,13 @@ discard block |
||
| 261 | 261 | p(image_path('core', 'actions/verify.svg')); |
| 262 | 262 | } |
| 263 | 263 | ?>" |
| 264 | - <?php if($_['twitterVerification'] === \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS || $_['twitterVerification'] === \OC\Accounts\AccountManager::NOT_VERIFIED) print_unescaped(' class="verify-action"') ?> |
|
| 264 | + <?php if ($_['twitterVerification'] === \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS || $_['twitterVerification'] === \OC\Accounts\AccountManager::NOT_VERIFIED) print_unescaped(' class="verify-action"') ?> |
|
| 265 | 265 | > |
| 266 | 266 | <div class="verification-dialog popovermenu bubble menu"> |
| 267 | 267 | <div class="verification-dialog-content"> |
| 268 | 268 | <p class="explainVerification"></p> |
| 269 | 269 | <p class="verificationCode"></p> |
| 270 | - <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.')); ?></p> |
|
| 271 | 271 | </div> |
| 272 | 272 | </div> |
| 273 | 273 | </div> |
@@ -275,10 +275,10 @@ discard block |
||
| 275 | 275 | <input type="text" name="twitter" id="twitter" value="<?php p($_['twitter']); ?>" |
| 276 | 276 | placeholder="<?php p($l->t('Twitter handle @…')); ?>" |
| 277 | 277 | autocomplete="on" autocapitalize="none" autocorrect="off" |
| 278 | - <?php if(!$_['lookupServerUploadEnabled']) print_unescaped('disabled="1"'); ?> |
|
| 278 | + <?php if (!$_['lookupServerUploadEnabled']) print_unescaped('disabled="1"'); ?> |
|
| 279 | 279 | /> |
| 280 | 280 | <span class="icon-checkmark hidden"></span> |
| 281 | - <?php if($_['lookupServerUploadEnabled']) { ?> |
|
| 281 | + <?php if ($_['lookupServerUploadEnabled']) { ?> |
|
| 282 | 282 | <input type="hidden" id="twitterscope" value="<?php p($_['twitterScope']) ?>"> |
| 283 | 283 | <?php } ?> |
| 284 | 284 | </form> |
@@ -305,47 +305,47 @@ discard block |
||
| 305 | 305 | <?php if (isset($_['activelanguage'])) { ?> |
| 306 | 306 | <form id="language" class="section"> |
| 307 | 307 | <h2> |
| 308 | - <label for="languageinput"><?php p($l->t('Language'));?></label> |
|
| 308 | + <label for="languageinput"><?php p($l->t('Language')); ?></label> |
|
| 309 | 309 | </h2> |
| 310 | - <select id="languageinput" name="lang" data-placeholder="<?php p($l->t('Language'));?>"> |
|
| 311 | - <option value="<?php p($_['activelanguage']['code']);?>"> |
|
| 312 | - <?php p($_['activelanguage']['name']);?> |
|
| 310 | + <select id="languageinput" name="lang" data-placeholder="<?php p($l->t('Language')); ?>"> |
|
| 311 | + <option value="<?php p($_['activelanguage']['code']); ?>"> |
|
| 312 | + <?php p($_['activelanguage']['name']); ?> |
|
| 313 | 313 | </option> |
| 314 | - <?php foreach($_['commonlanguages'] as $language):?> |
|
| 315 | - <option value="<?php p($language['code']);?>"> |
|
| 316 | - <?php p($language['name']);?> |
|
| 314 | + <?php foreach ($_['commonlanguages'] as $language):?> |
|
| 315 | + <option value="<?php p($language['code']); ?>"> |
|
| 316 | + <?php p($language['name']); ?> |
|
| 317 | 317 | </option> |
| 318 | - <?php endforeach;?> |
|
| 318 | + <?php endforeach; ?> |
|
| 319 | 319 | <optgroup label="––––––––––"></optgroup> |
| 320 | - <?php foreach($_['languages'] as $language):?> |
|
| 321 | - <option value="<?php p($language['code']);?>"> |
|
| 322 | - <?php p($language['name']);?> |
|
| 320 | + <?php foreach ($_['languages'] as $language):?> |
|
| 321 | + <option value="<?php p($language['code']); ?>"> |
|
| 322 | + <?php p($language['name']); ?> |
|
| 323 | 323 | </option> |
| 324 | - <?php endforeach;?> |
|
| 324 | + <?php endforeach; ?> |
|
| 325 | 325 | </select> |
| 326 | 326 | <a href="https://www.transifex.com/nextcloud/nextcloud/" |
| 327 | 327 | target="_blank" rel="noreferrer"> |
| 328 | - <em><?php p($l->t('Help translate'));?></em> |
|
| 328 | + <em><?php p($l->t('Help translate')); ?></em> |
|
| 329 | 329 | </a> |
| 330 | 330 | </form> |
| 331 | 331 | <?php } ?> |
| 332 | 332 | </div> |
| 333 | 333 | <div class="personal-settings-setting-box personal-settings-password-box"> |
| 334 | 334 | <?php |
| 335 | - if($_['passwordChangeSupported']) { |
|
| 335 | + if ($_['passwordChangeSupported']) { |
|
| 336 | 336 | script('jquery-showpassword'); |
| 337 | 337 | ?> |
| 338 | 338 | <form id="passwordform" class="section"> |
| 339 | - <h2 class="inlineblock"><?php p($l->t('Password'));?></h2> |
|
| 339 | + <h2 class="inlineblock"><?php p($l->t('Password')); ?></h2> |
|
| 340 | 340 | <div id="password-error-msg" class="msg success inlineblock" style="display: none;">Saved</div> |
| 341 | 341 | |
| 342 | 342 | <label for="pass1" class="hidden-visually"><?php p($l->t('Current password')); ?>: </label> |
| 343 | 343 | <input type="password" id="pass1" name="oldpassword" |
| 344 | - placeholder="<?php p($l->t('Current password'));?>" |
|
| 344 | + placeholder="<?php p($l->t('Current password')); ?>" |
|
| 345 | 345 | autocomplete="off" autocapitalize="none" autocorrect="off" /> |
| 346 | 346 | |
| 347 | 347 | <div class="personal-show-container"> |
| 348 | - <label for="pass2" class="hidden-visually"><?php p($l->t('New password'));?>: </label> |
|
| 348 | + <label for="pass2" class="hidden-visually"><?php p($l->t('New password')); ?>: </label> |
|
| 349 | 349 | <input type="password" id="pass2" name="newpassword" |
| 350 | 350 | placeholder="<?php p($l->t('New password')); ?>" |
| 351 | 351 | data-typetoggle="#personal-show" |
@@ -44,9 +44,12 @@ discard block |
||
| 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 | 46 | [$_['usage'], $_['total_space']]));?> |
| 47 | - <?php else: ?> |
|
| 47 | + <?php else { |
|
| 48 | + : ?> |
|
| 48 | 49 | <?php print_unescaped($l->t('You are using <strong>%s</strong> of <strong>%s</strong> (<strong>%s %%</strong>)', |
| 49 | - [$_['usage'], $_['total_space'], $_['usage_relative']]));?> |
|
| 50 | + [$_['usage'], $_['total_space'], $_['usage_relative']])); |
|
| 51 | +} |
|
| 52 | +?> |
|
| 50 | 53 | <?php endif ?> |
| 51 | 54 | </p> |
| 52 | 55 | </div> |
@@ -69,8 +72,11 @@ discard block |
||
| 69 | 72 | <div class="hidden button icon-delete svg" id="removeavatar" title="<?php p($l->t('Remove image')); ?>"></div> |
| 70 | 73 | <input type="file" name="files[]" id="uploadavatar" class="hiddenuploadfield"> |
| 71 | 74 | <p><em><?php p($l->t('png or jpg, max. 20 MB')); ?></em></p> |
| 72 | - <?php else: ?> |
|
| 73 | - <?php p($l->t('Picture provided by original account')); ?> |
|
| 75 | + <?php else { |
|
| 76 | + : ?> |
|
| 77 | + <?php p($l->t('Picture provided by original account')); |
|
| 78 | +} |
|
| 79 | +?> |
|
| 74 | 80 | <?php endif; ?> |
| 75 | 81 | </div> |
| 76 | 82 | |
@@ -118,7 +124,10 @@ discard block |
||
| 118 | 124 | <span class="icon-triangle-s"></span> |
| 119 | 125 | </span> |
| 120 | 126 | </h2> |
| 121 | - <div class="verify <?php if ($_['email'] === '' || $_['emailScope'] !== 'public') p('hidden'); ?>"> |
|
| 127 | + <div class="verify <?php if ($_['email'] === '' || $_['emailScope'] !== 'public') { |
|
| 128 | + p('hidden'); |
|
| 129 | +} |
|
| 130 | +?>"> |
|
| 122 | 131 | <img id="verify-email" title="<?php p($_['emailMessage']); ?>" data-status="<?php p($_['emailVerification']) ?>" src=" |
| 123 | 132 | <?php |
| 124 | 133 | switch($_['emailVerification']) { |
@@ -159,7 +168,10 @@ discard block |
||
| 159 | 168 | <span class="icon-triangle-s"></span> |
| 160 | 169 | </span> |
| 161 | 170 | </h2> |
| 162 | - <input type="tel" id="phone" name="phone" <?php if(!$_['lookupServerUploadEnabled']) print_unescaped('disabled="1"'); ?> |
|
| 171 | + <input type="tel" id="phone" name="phone" <?php if(!$_['lookupServerUploadEnabled']) { |
|
| 172 | + print_unescaped('disabled="1"'); |
|
| 173 | +} |
|
| 174 | +?> |
|
| 163 | 175 | value="<?php p($_['phone']) ?>" |
| 164 | 176 | placeholder="<?php p($l->t('Your phone number')); ?>" |
| 165 | 177 | autocomplete="on" autocapitalize="none" autocorrect="off" /> |
@@ -179,7 +191,10 @@ discard block |
||
| 179 | 191 | <span class="icon-triangle-s"></span> |
| 180 | 192 | </span> |
| 181 | 193 | </h2> |
| 182 | - <input type="text" id="address" name="address" <?php if(!$_['lookupServerUploadEnabled']) print_unescaped('disabled="1"'); ?> |
|
| 194 | + <input type="text" id="address" name="address" <?php if(!$_['lookupServerUploadEnabled']) { |
|
| 195 | + print_unescaped('disabled="1"'); |
|
| 196 | +} |
|
| 197 | +?> |
|
| 183 | 198 | placeholder="<?php p($l->t('Your postal address')); ?>" |
| 184 | 199 | value="<?php p($_['address']) ?>" |
| 185 | 200 | autocomplete="on" autocapitalize="none" autocorrect="off" /> |
@@ -200,7 +215,10 @@ discard block |
||
| 200 | 215 | </span> |
| 201 | 216 | </h2> |
| 202 | 217 | <?php if($_['lookupServerUploadEnabled']) { ?> |
| 203 | - <div class="verify <?php if ($_['website'] === '' || $_['websiteScope'] !== 'public') p('hidden'); ?>"> |
|
| 218 | + <div class="verify <?php if ($_['website'] === '' || $_['websiteScope'] !== 'public') { |
|
| 219 | + p('hidden'); |
|
| 220 | +} |
|
| 221 | +?>"> |
|
| 204 | 222 | <img id="verify-website" title="<?php p($_['websiteMessage']); ?>" data-status="<?php p($_['websiteVerification']) ?>" src=" |
| 205 | 223 | <?php |
| 206 | 224 | switch($_['websiteVerification']) { |
@@ -214,13 +232,16 @@ discard block |
||
| 214 | 232 | p(image_path('core', 'actions/verify.svg')); |
| 215 | 233 | } |
| 216 | 234 | ?>" |
| 217 | - <?php if($_['websiteVerification'] === \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS || $_['websiteVerification'] === \OC\Accounts\AccountManager::NOT_VERIFIED) print_unescaped(' class="verify-action"') ?> |
|
| 235 | + <?php if($_['websiteVerification'] === \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS || $_['websiteVerification'] === \OC\Accounts\AccountManager::NOT_VERIFIED) { |
|
| 236 | + print_unescaped(' class="verify-action"') ?> |
|
| 218 | 237 | > |
| 219 | 238 | <div class="verification-dialog popovermenu bubble menu"> |
| 220 | 239 | <div class="verification-dialog-content"> |
| 221 | 240 | <p class="explainVerification"></p> |
| 222 | 241 | <p class="verificationCode"></p> |
| 223 | - <p><?php p($l->t('It can take up to 24 hours before the account is displayed as verified.'));?></p> |
|
| 242 | + <p><?php p($l->t('It can take up to 24 hours before the account is displayed as verified.')); |
|
| 243 | +} |
|
| 244 | +?></p> |
|
| 224 | 245 | </div> |
| 225 | 246 | </div> |
| 226 | 247 | </div> |
@@ -228,7 +249,10 @@ discard block |
||
| 228 | 249 | <input type="text" name="website" id="website" value="<?php p($_['website']); ?>" |
| 229 | 250 | placeholder="<?php p($l->t('Link https://…')); ?>" |
| 230 | 251 | autocomplete="on" autocapitalize="none" autocorrect="off" |
| 231 | - <?php if(!$_['lookupServerUploadEnabled']) print_unescaped('disabled="1"'); ?> |
|
| 252 | + <?php if(!$_['lookupServerUploadEnabled']) { |
|
| 253 | + print_unescaped('disabled="1"'); |
|
| 254 | +} |
|
| 255 | +?> |
|
| 232 | 256 | /> |
| 233 | 257 | <span class="icon-checkmark hidden"></span> |
| 234 | 258 | <?php if($_['lookupServerUploadEnabled']) { ?> |
@@ -247,7 +271,10 @@ discard block |
||
| 247 | 271 | </span> |
| 248 | 272 | </h2> |
| 249 | 273 | <?php if($_['lookupServerUploadEnabled']) { ?> |
| 250 | - <div class="verify <?php if ($_['twitter'] === '' || $_['twitterScope'] !== 'public') p('hidden'); ?>"> |
|
| 274 | + <div class="verify <?php if ($_['twitter'] === '' || $_['twitterScope'] !== 'public') { |
|
| 275 | + p('hidden'); |
|
| 276 | +} |
|
| 277 | +?>"> |
|
| 251 | 278 | <img id="verify-twitter" title="<?php p($_['twitterMessage']); ?>" data-status="<?php p($_['twitterVerification']) ?>" src=" |
| 252 | 279 | <?php |
| 253 | 280 | switch($_['twitterVerification']) { |
@@ -261,13 +288,16 @@ discard block |
||
| 261 | 288 | p(image_path('core', 'actions/verify.svg')); |
| 262 | 289 | } |
| 263 | 290 | ?>" |
| 264 | - <?php if($_['twitterVerification'] === \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS || $_['twitterVerification'] === \OC\Accounts\AccountManager::NOT_VERIFIED) print_unescaped(' class="verify-action"') ?> |
|
| 291 | + <?php if($_['twitterVerification'] === \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS || $_['twitterVerification'] === \OC\Accounts\AccountManager::NOT_VERIFIED) { |
|
| 292 | + print_unescaped(' class="verify-action"') ?> |
|
| 265 | 293 | > |
| 266 | 294 | <div class="verification-dialog popovermenu bubble menu"> |
| 267 | 295 | <div class="verification-dialog-content"> |
| 268 | 296 | <p class="explainVerification"></p> |
| 269 | 297 | <p class="verificationCode"></p> |
| 270 | - <p><?php p($l->t('It can take up to 24 hours before the account is displayed as verified.'));?></p> |
|
| 298 | + <p><?php p($l->t('It can take up to 24 hours before the account is displayed as verified.')); |
|
| 299 | +} |
|
| 300 | +?></p> |
|
| 271 | 301 | </div> |
| 272 | 302 | </div> |
| 273 | 303 | </div> |
@@ -275,7 +305,10 @@ discard block |
||
| 275 | 305 | <input type="text" name="twitter" id="twitter" value="<?php p($_['twitter']); ?>" |
| 276 | 306 | placeholder="<?php p($l->t('Twitter handle @…')); ?>" |
| 277 | 307 | autocomplete="on" autocapitalize="none" autocorrect="off" |
| 278 | - <?php if(!$_['lookupServerUploadEnabled']) print_unescaped('disabled="1"'); ?> |
|
| 308 | + <?php if(!$_['lookupServerUploadEnabled']) { |
|
| 309 | + print_unescaped('disabled="1"'); |
|
| 310 | +} |
|
| 311 | +?> |
|
| 279 | 312 | /> |
| 280 | 313 | <span class="icon-checkmark hidden"></span> |
| 281 | 314 | <?php if($_['lookupServerUploadEnabled']) { ?> |