diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2017-03-20 13:13:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-20 13:13:32 +0100 |
commit | 376e6f0884b576e2be466c8387dfad4a3ce6d967 (patch) | |
tree | 5cf9f28803c4fd322fcf8b5ead5506bcd49a6fee /core/templates | |
parent | 85a5c24934d0ed4d7e2d266a18a25ba649a53d63 (diff) | |
parent | 98187bf942de2db6419b3d848c96e3955715de06 (diff) | |
download | nextcloud-server-376e6f0884b576e2be466c8387dfad4a3ce6d967.tar.gz nextcloud-server-376e6f0884b576e2be466c8387dfad4a3ce6d967.zip |
Merge pull request #3915 from michaelletzgus/html5-fix_autocapitalize
Fix value of attribute "autocapitalize"
Diffstat (limited to 'core/templates')
-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> |