summaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authorMichael Letzgus <www@chronos.michael-letzgus.de>2017-03-18 16:00:21 +0100
committerMichael Letzgus <root@chronos.michael-letzgus.de>2017-03-18 16:06:57 +0100
commit98187bf942de2db6419b3d848c96e3955715de06 (patch)
tree4300be351c0c7584c0066877ff46f4bf0381acfa /settings/templates
parent1febf042d82bbf71ca2ff0179df5c1f3e6bff6fe (diff)
downloadnextcloud-server-98187bf942de2db6419b3d848c96e3955715de06.tar.gz
nextcloud-server-98187bf942de2db6419b3d848c96e3955715de06.zip
Fix value of attribute "autocapitalize"
Change <input> attribute "autocapitalize" from value "off" to "none" regarding to apples dev guide: https://developer.apple.com/library/content/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/Attributes.html#//apple_ref/doc/uid/TP40008058-autocapitalize Signed-off-by: Michael Letzgus <michaelletzgus@users.noreply.github.com>
Diffstat (limited to 'settings/templates')
-rw-r--r--settings/templates/personal.php16
-rw-r--r--settings/templates/users/part.createuser.php6
2 files changed, 11 insertions, 11 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php
index 31aa268f776..c13672bcb77 100644
--- a/settings/templates/personal.php
+++ b/settings/templates/personal.php
@@ -76,7 +76,7 @@
<input type="text" id="displayname" name="displayname"
<?php if(!$_['displayNameChangeSupported']) { print_unescaped('class="hidden"'); } ?>
value="<?php p($_['displayName']) ?>"
- autocomplete="on" autocapitalize="off" autocorrect="off" />
+ autocomplete="on" autocapitalize="none" autocorrect="off" />
<?php if(!$_['displayNameChangeSupported']) { ?>
<span><?php if(isset($_['displayName']) && !empty($_['displayName'])) { p($_['displayName']); } else { p($l->t('No display name set')); } ?></span>
<?php } ?>
@@ -93,7 +93,7 @@
<input type="email" name="email" id="email" value="<?php p($_['email']); ?>"
<?php if(!$_['displayNameChangeSupported']) { print_unescaped('class="hidden"'); } ?>
placeholder="<?php p($l->t('Your email address')); ?>"
- autocomplete="on" autocapitalize="off" autocorrect="off" />
+ autocomplete="on" autocapitalize="none" autocorrect="off" />
<?php if(!$_['displayNameChangeSupported']) { ?>
<span><?php if(isset($_['email']) && !empty($_['email'])) { p($_['email']); } else { p($l->t('No email address set')); }?></span>
<?php } ?>
@@ -114,7 +114,7 @@
<input type="tel" id="phone" name="phone"
value="<?php p($_['phone']) ?>"
placeholder="<?php p($l->t('Your phone number')); ?>"
- autocomplete="on" autocapitalize="off" autocorrect="off" />
+ autocomplete="on" autocapitalize="none" autocorrect="off" />
<span class="icon-checkmark hidden"/>
<input type="hidden" id="phonescope" value="<?php p($_['phoneScope']) ?>">
</form>
@@ -128,7 +128,7 @@
<input type="text" id="address" name="address"
placeholder="<?php p($l->t('Your postal address')); ?>"
value="<?php p($_['address']) ?>"
- autocomplete="on" autocapitalize="off" autocorrect="off" />
+ autocomplete="on" autocapitalize="none" autocorrect="off" />
<span class="icon-checkmark hidden"/>
<input type="hidden" id="addressscope" value="<?php p($_['addressScope']) ?>">
</form>
@@ -141,7 +141,7 @@
</h2>
<input type="text" name="website" id="website" value="<?php p($_['website']); ?>"
placeholder="<?php p($l->t('Your website')); ?>"
- autocomplete="on" autocapitalize="off" autocorrect="off" />
+ autocomplete="on" autocapitalize="none" autocorrect="off" />
<span class="icon-checkmark hidden"/>
<input type="hidden" id="websitescope" value="<?php p($_['websiteScope']) ?>">
</form>
@@ -154,7 +154,7 @@
</h2>
<input type="text" name="twitter" id="twitter" value="<?php p($_['twitter']); ?>"
placeholder="<?php p($l->t('Your Twitter handle')); ?>"
- autocomplete="on" autocapitalize="off" autocorrect="off" />
+ autocomplete="on" autocapitalize="none" autocorrect="off" />
<span class="icon-checkmark hidden"/>
<input type="hidden" id="twitterscope" value="<?php p($_['twitterScope']) ?>">
</form>
@@ -183,13 +183,13 @@ if($_['passwordChangeSupported']) {
<label for="pass1" class="hidden-visually"><?php p($l->t('Current password')); ?>: </label>
<input type="password" id="pass1" name="oldpassword"
placeholder="<?php p($l->t('Current password'));?>"
- autocomplete="off" autocapitalize="off" autocorrect="off" />
+ autocomplete="off" autocapitalize="none" autocorrect="off" />
<div class="personal-show-container">
<label for="pass2" class="hidden-visually"><?php p($l->t('New password'));?>: </label>
<input type="password" id="pass2" name="newpassword"
placeholder="<?php p($l->t('New password')); ?>"
data-typetoggle="#personal-show"
- autocomplete="off" autocapitalize="off" autocorrect="off" />
+ autocomplete="off" autocapitalize="none" autocorrect="off" />
<input type="checkbox" id="personal-show" name="show" /><label for="personal-show" class="personal-show-label"></label>
</div>
<input id="passwordbutton" type="submit" value="<?php p($l->t('Change password')); ?>" />
diff --git a/settings/templates/users/part.createuser.php b/settings/templates/users/part.createuser.php
index 6f23d06cfa3..ca36b196ea8 100644
--- a/settings/templates/users/part.createuser.php
+++ b/settings/templates/users/part.createuser.php
@@ -2,14 +2,14 @@
<form id="newuser" autocomplete="off">
<input id="newusername" type="text"
placeholder="<?php p($l->t('Username'))?>"
- autocomplete="off" autocapitalize="off" autocorrect="off" />
+ autocomplete="off" autocapitalize="none" autocorrect="off" />
<input
type="password" id="newuserpassword"
placeholder="<?php p($l->t('Password'))?>"
- autocomplete="off" autocapitalize="off" autocorrect="off" />
+ autocomplete="off" autocapitalize="none" autocorrect="off" />
<input id="newemail" type="text" style="display:none"
placeholder="<?php p($l->t('E-Mail'))?>"
- autocomplete="off" autocapitalize="off" autocorrect="off" />
+ autocomplete="off" autocapitalize="none" autocorrect="off" />
<div class="groups"><div class="groupsListContainer multiselect button" data-placeholder="<?php p($l->t('Groups'))?>"><span class="title groupsList"></span><span class="icon-triangle-s"></span></div></div>
<input type="submit" class="button" value="<?php p($l->t('Create'))?>" />
</form>