aboutsummaryrefslogtreecommitdiffstats
path: root/core/templates/installation.php
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 /core/templates/installation.php
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 'core/templates/installation.php')
-rw-r--r--core/templates/installation.php26
1 files changed, 17 insertions, 9 deletions
diff --git a/core/templates/installation.php b/core/templates/installation.php
index 9670a5e9ee5..d3adb34f412 100644
--- a/core/templates/installation.php
+++ b/core/templates/installation.php
@@ -48,13 +48,15 @@
<legend><?php print_unescaped($l->t( 'Create an <strong>admin account</strong>' )); ?></legend>
<p class="infield grouptop">
<input type="text" name="adminlogin" id="adminlogin" placeholder=""
- value="<?php p($_['adminlogin']); ?>" autocomplete="off" autofocus required />
+ value="<?php p($_['adminlogin']); ?>"
+ autocomplete="off" autocapitalize="off" autocorrect="off" autofocus required />
<label for="adminlogin" class="infield"><?php p($l->t( 'Username' )); ?></label>
<img class="svg" src="<?php p(image_path('', 'actions/user.svg')); ?>" alt="" />
</p>
<p class="infield groupbottom">
<input type="password" name="adminpass" data-typetoggle="#show" id="adminpass" placeholder=""
- value="<?php p($_['adminpass']); ?>" required />
+ value="<?php p($_['adminpass']); ?>"
+ autocomplete="off" autocapitalize="off" autocorrect="off" required />
<label for="adminpass" class="infield"><?php p($l->t( 'Password' )); ?></label>
<img class="svg" id="adminpass-icon" src="<?php print_unescaped(image_path('', 'actions/password.svg')); ?>" alt="" />
<input type="checkbox" id="show" name="show" />
@@ -74,8 +76,9 @@
<div id="datadirContent">
<label for="directory"><?php p($l->t( 'Data folder' )); ?></label>
<input type="text" name="directory" id="directory"
- placeholder="<?php p(OC::$SERVERROOT."/data"); ?>"
- value="<?php p($_['directory']); ?>" />
+ placeholder="<?php p(OC::$SERVERROOT.'/data'); ?>"
+ value="<?php p($_['directory']); ?>"
+ autocomplete="off" autocapitalize="off" autocorrect="off" />
</div>
</fieldset>
<?php endif; ?>
@@ -103,11 +106,13 @@
<p class="infield grouptop">
<label for="dbuser" class="infield"><?php p($l->t( 'Database user' )); ?></label>
<input type="text" name="dbuser" id="dbuser" placeholder=""
- value="<?php p($_['dbuser']); ?>" autocomplete="off" />
+ value="<?php p($_['dbuser']); ?>"
+ autocomplete="off" autocapitalize="off" autocorrect="off" />
</p>
<p class="infield groupmiddle">
<input type="password" name="dbpass" id="dbpass" placeholder="" data-typetoggle="#dbpassword"
- value="<?php p($_['dbpass']); ?>" />
+ value="<?php p($_['dbpass']); ?>"
+ autocomplete="off" autocapitalize="off" autocorrect="off" />
<label for="dbpass" class="infield"><?php p($l->t( 'Database password' )); ?></label>
<input type="checkbox" id="dbpassword" name="dbpassword" />
<label for="dbpassword"></label>
@@ -116,21 +121,24 @@
<label for="dbname" class="infield"><?php p($l->t( 'Database name' )); ?></label>
<input type="text" name="dbname" id="dbname" placeholder=""
value="<?php p($_['dbname']); ?>"
- autocomplete="off" pattern="[0-9a-zA-Z$_-]+" />
+ autocomplete="off" autocapitalize="off" autocorrect="off"
+ pattern="[0-9a-zA-Z$_-]+" />
</p>
<?php if($_['hasOracle']): ?>
<div id="use_oracle_db">
<p class="infield groupmiddle">
<label for="dbtablespace" class="infield"><?php p($l->t( 'Database tablespace' )); ?></label>
<input type="text" name="dbtablespace" id="dbtablespace" placeholder=""
- value="<?php p($_['dbtablespace']); ?>" autocomplete="off" />
+ value="<?php p($_['dbtablespace']); ?>"
+ autocomplete="off" autocapitalize="off" autocorrect="off" />
</p>
</div>
<?php endif; ?>
<p class="infield groupbottom">
<label for="dbhost" class="infield"><?php p($l->t( 'Database host' )); ?></label>
<input type="text" name="dbhost" id="dbhost" placeholder=""
- value="<?php p($_['dbhost']); ?>" />
+ value="<?php p($_['dbhost']); ?>"
+ autocomplete="off" autocapitalize="off" autocorrect="off" />
</p>
</div>
<?php endif; ?>