|
70 | 70 | </div> |
71 | 71 | </div> |
72 | 72 | <span class="icon-checkmark hidden"></span> |
73 | | - <input type="hidden" id="avatarscope" value="<?php p($_['avatarScope']) ?>"> |
| 73 | + <input type="hidden" id="avatarscope" value="<?php p($_['avatarScope']) ?>"<?php if (is_null($_['avatarScope'])): ?> class="corrupted-scope-value"<?php endif ?>> |
74 | 74 | </form> |
75 | 75 | </div> |
76 | 76 | <div class="personal-settings-setting-box personal-settings-group-box section"> |
|
124 | 124 | <?php } ?> |
125 | 125 | <span class="icon-checkmark hidden"></span> |
126 | 126 | <span class="icon-error hidden" ></span> |
127 | | - <input type="hidden" id="displaynamescope" value="<?php p($_['displayNameScope']) ?>"> |
| 127 | + <input type="hidden" id="displaynamescope" value="<?php p($_['displayNameScope']) ?>"<?php if (is_null($_['displayNameScope'])): ?> class="corrupted-scope-value"<?php endif ?>> |
128 | 128 | </form> |
129 | 129 | </div> |
130 | 130 | <div class="personal-settings-setting-box"> |
|
172 | 172 | <?php if ($_['displayNameChangeSupported']) { ?> |
173 | 173 | <em><?php p($l->t('For password reset and notifications')); ?></em> |
174 | 174 | <?php } ?> |
175 | | - <input type="hidden" id="emailscope" value="<?php p($_['emailScope']) ?>"> |
| 175 | + <input type="hidden" id="emailscope" value="<?php p($_['emailScope']) ?>"<?php if (is_null($_['emailScope'])): ?> class="corrupted-scope-value"<?php endif ?>> |
176 | 176 | </form> |
177 | 177 | </div> |
178 | 178 | <?php if (!empty($_['phone']) || $_['lookupServerUploadEnabled']) { ?> |
|
193 | 193 | placeholder="<?php p($l->t('Your phone number')); ?>" |
194 | 194 | autocomplete="on" autocapitalize="none" autocorrect="off" /> |
195 | 195 | <span class="icon-checkmark hidden"></span> |
196 | | - <input type="hidden" id="phonescope" value="<?php p($_['phoneScope']) ?>"> |
| 196 | + <input type="hidden" id="phonescope" value="<?php p($_['phoneScope']) ?>"<?php if (is_null($_['phoneScope'])): ?> class="corrupted-scope-value"<?php endif ?>> |
197 | 197 | </form> |
198 | 198 | </div> |
199 | 199 | <?php } ?> |
|
215 | 215 | value="<?php p($_['address']) ?>" |
216 | 216 | autocomplete="on" autocapitalize="none" autocorrect="off" /> |
217 | 217 | <span class="icon-checkmark hidden"></span> |
218 | | - <input type="hidden" id="addressscope" value="<?php p($_['addressScope']) ?>"> |
| 218 | + <input type="hidden" id="addressscope" value="<?php p($_['addressScope']) ?>"<?php if (is_null($_['addressScope'])): ?> class="corrupted-scope-value"<?php endif ?>> |
219 | 219 | </form> |
220 | 220 | </div> |
221 | 221 | <?php } ?> |
|
268 | 268 | } ?> |
269 | 269 | /> |
270 | 270 | <span class="icon-checkmark hidden"></span> |
271 | | - <input type="hidden" id="websitescope" value="<?php p($_['websiteScope']) ?>"> |
| 271 | + <input type="hidden" id="websitescope" value="<?php p($_['websiteScope']) ?>"<?php if (is_null($_['websiteScope'])): ?> class="corrupted-scope-value"<?php endif ?>> |
272 | 272 | </form> |
273 | 273 | </div> |
274 | 274 | <?php } ?> |
|
321 | 321 | } ?> |
322 | 322 | /> |
323 | 323 | <span class="icon-checkmark hidden"></span> |
324 | | - <input type="hidden" id="twitterscope" value="<?php p($_['twitterScope']) ?>"> |
| 324 | + <input type="hidden" id="twitterscope" value="<?php p($_['twitterScope']) ?>"<?php if (is_null($_['twitterScope'])): ?> class="corrupted-scope-value"<?php endif ?>> |
325 | 325 | </form> |
326 | 326 | </div> |
327 | 327 | <?php } ?> |
|
0 commit comments