diff options
-rw-r--r-- | core/templates/installation.php | 16 | ||||
-rw-r--r-- | core/templates/login.php | 4 | ||||
-rw-r--r-- | settings/templates/personal.php | 16 | ||||
-rw-r--r-- | settings/templates/users/part.createuser.php | 6 |
4 files changed, 21 insertions, 21 deletions
diff --git a/core/templates/installation.php b/core/templates/installation.php index 058049d8946..6a0e3f93857 100644 --- a/core/templates/installation.php +++ b/core/templates/installation.php @@ -41,14 +41,14 @@ script('core', [ <input type="text" name="adminlogin" id="adminlogin" placeholder="<?php p($l->t( 'Username' )); ?>" value="<?php p($_['adminlogin']); ?>" - autocomplete="off" autocapitalize="off" autocorrect="off" autofocus required> + autocomplete="off" autocapitalize="none" autocorrect="off" autofocus required> <label for="adminlogin" class="infield"><?php p($l->t( 'Username' )); ?></label> </p> <p class="groupbottom"> <input type="password" name="adminpass" data-typetoggle="#show" id="adminpass" placeholder="<?php p($l->t( 'Password' )); ?>" value="<?php p($_['adminpass']); ?>" - autocomplete="off" autocapitalize="off" autocorrect="off" required> + autocomplete="off" autocapitalize="none" autocorrect="off" required> <label for="adminpass" class="infield"><?php p($l->t( 'Password' )); ?></label> <input type="checkbox" id="show" name="show"> <label for="show"></label> @@ -68,7 +68,7 @@ script('core', [ <input type="text" name="directory" id="directory" placeholder="<?php p(OC::$SERVERROOT.'/data'); ?>" value="<?php p($_['directory']); ?>" - autocomplete="off" autocapitalize="off" autocorrect="off"> + autocomplete="off" autocapitalize="none" autocorrect="off"> </div> </fieldset> <?php endif; ?> @@ -105,13 +105,13 @@ script('core', [ <input type="text" name="dbuser" id="dbuser" placeholder="<?php p($l->t( 'Database user' )); ?>" value="<?php p($_['dbuser']); ?>" - autocomplete="off" autocapitalize="off" autocorrect="off"> + autocomplete="off" autocapitalize="none" autocorrect="off"> </p> <p class="groupmiddle"> <input type="password" name="dbpass" id="dbpass" data-typetoggle="#dbpassword-toggle" placeholder="<?php p($l->t( 'Database password' )); ?>" value="<?php p($_['dbpass']); ?>" - autocomplete="off" autocapitalize="off" autocorrect="off"> + autocomplete="off" autocapitalize="none" autocorrect="off"> <label for="dbpass" class="infield"><?php p($l->t( 'Database password' )); ?></label> <input type="checkbox" id="dbpassword-toggle" name="dbpassword-toggle"> <label for="dbpassword-toggle"></label> @@ -121,7 +121,7 @@ script('core', [ <input type="text" name="dbname" id="dbname" placeholder="<?php p($l->t( 'Database name' )); ?>" value="<?php p($_['dbname']); ?>" - autocomplete="off" autocapitalize="off" autocorrect="off" + autocomplete="off" autocapitalize="none" autocorrect="off" pattern="[0-9a-zA-Z$_-]+"> </p> <?php if($_['hasOracle']): ?> @@ -131,7 +131,7 @@ script('core', [ <input type="text" name="dbtablespace" id="dbtablespace" placeholder="<?php p($l->t( 'Database tablespace' )); ?>" value="<?php p($_['dbtablespace']); ?>" - autocomplete="off" autocapitalize="off" autocorrect="off"> + autocomplete="off" autocapitalize="none" autocorrect="off"> </p> </div> <?php endif; ?> @@ -140,7 +140,7 @@ script('core', [ <input type="text" name="dbhost" id="dbhost" placeholder="<?php p($l->t( 'Database host' )); ?>" value="<?php p($_['dbhost']); ?>" - autocomplete="off" autocapitalize="off" autocorrect="off"> + autocomplete="off" autocapitalize="none" autocorrect="off"> </p> <p class="info"> <?php p($l->t( 'Please specify the port number along with the host name (e.g., localhost:5432).' )); ?> diff --git a/core/templates/login.php b/core/templates/login.php index 221242c0dcb..352893bd0dc 100644 --- a/core/templates/login.php +++ b/core/templates/login.php @@ -43,7 +43,7 @@ script('core', [ placeholder="<?php p($l->t('Username or email')); ?>" value="<?php p($_['loginName']); ?>" <?php p($_['user_autofocus'] ? 'autofocus' : ''); ?> - autocomplete="on" autocapitalize="off" autocorrect="off" required> + autocomplete="on" autocapitalize="none" autocorrect="off" required> <label for="user" class="infield"><?php p($l->t('Username or email')); ?></label> </p> @@ -51,7 +51,7 @@ script('core', [ <input type="password" name="password" id="password" value="" placeholder="<?php p($l->t('Password')); ?>" <?php p($_['user_autofocus'] ? '' : 'autofocus'); ?> - autocomplete="on" autocapitalize="off" autocorrect="off" required> + autocomplete="on" autocapitalize="off" autocorrect="none" required> <label for="password" class="infield"><?php p($l->t('Password')); ?></label> </p> 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> |