diff options
author | Michael Letzgus <www@chronos.michael-letzgus.de> | 2017-03-18 16:00:21 +0100 |
---|---|---|
committer | Michael Letzgus <root@chronos.michael-letzgus.de> | 2017-03-18 16:06:57 +0100 |
commit | 98187bf942de2db6419b3d848c96e3955715de06 (patch) | |
tree | 4300be351c0c7584c0066877ff46f4bf0381acfa /core | |
parent | 1febf042d82bbf71ca2ff0179df5c1f3e6bff6fe (diff) | |
download | nextcloud-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 'core')
-rw-r--r-- | core/templates/installation.php | 16 | ||||
-rw-r--r-- | core/templates/login.php | 4 |
2 files changed, 10 insertions, 10 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> |