summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2014-02-18 10:58:00 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2014-02-18 10:58:00 +0100
commitdafa8fc37eeaadf602605645601be82f57237a1d (patch)
tree2adde12d5cdcf30010b79acfaea83b322f19e36f /settings
parent323cc1166be3545ed841c1cbafa29a3bcf7614aa (diff)
downloadnextcloud-server-dafa8fc37eeaadf602605645601be82f57237a1d.tar.gz
nextcloud-server-dafa8fc37eeaadf602605645601be82f57237a1d.zip
do not autocapitalize fields on mobile, fix user name input. Also disable autocorrect and specify autocomplete
Diffstat (limited to 'settings')
-rw-r--r--settings/templates/personal.php14
1 files changed, 10 insertions, 4 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php
index 31ae3a991b6..188ff75f96b 100644
--- a/settings/templates/personal.php
+++ b/settings/templates/personal.php
@@ -40,10 +40,12 @@ if($_['passwordChangeSupported']) {
<div id="passwordchanged"><?php echo $l->t('Your password was changed');?></div>
<div id="passworderror"><?php echo $l->t('Unable to change your password');?></div>
<input type="password" id="pass1" name="oldpassword"
- placeholder="<?php echo $l->t('Current password');?>" autocomplete="off" />
+ placeholder="<?php echo $l->t('Current password');?>"
+ autocomplete="off" autocapitalize="off" autocorrect="off" />
<input type="password" id="pass2" name="personal-password"
placeholder="<?php echo $l->t('New password');?>"
- data-typetoggle="#personal-show" autocomplete="off" />
+ data-typetoggle="#personal-show"
+ autocomplete="off" autocapitalize="off" autocorrect="off" />
<input type="checkbox" id="personal-show" name="show" /><label for="personal-show"></label>
<input id="passwordbutton" type="submit" value="<?php echo $l->t('Change password');?>" />
<br/>
@@ -60,7 +62,9 @@ if($_['displayNameChangeSupported']) {
<form id="displaynameform">
<fieldset class="personalblock">
<h2><?php echo $l->t('Full Name');?></h2>
- <input type="text" id="displayName" name="displayName" value="<?php p($_['displayName'])?>" />
+ <input type="text" id="displayName" name="displayName"
+ value="<?php p($_['displayName'])?>"
+ autocomplete="on" autocapitalize="off" autocorrect="off" />
<span class="msg"></span>
<input type="hidden" id="oldDisplayName" name="oldDisplayName" value="<?php p($_['displayName'])?>" />
</fieldset>
@@ -76,7 +80,9 @@ if($_['passwordChangeSupported']) {
<fieldset class="personalblock">
<h2><?php p($l->t('Email'));?></h2>
<input type="text" name="email" id="email" value="<?php p($_['email']); ?>"
- placeholder="<?php p($l->t('Your email address'));?>" /><span class="msg"></span><br />
+ placeholder="<?php p($l->t('Your email address'));?>"
+ autocomplete="on" autocapitalize="off" autocorrect="off" />
+ <span class="msg"></span><br />
<em><?php p($l->t('Fill in an email address to enable password recovery'));?></em>
</fieldset>
</form>