aboutsummaryrefslogtreecommitdiffstats
path: root/core/templates/installation.php
diff options
context:
space:
mode:
authorraghunayyar <me@iraghu.com>2013-04-13 09:45:30 +0530
committerraghunayyar <me@iraghu.com>2013-04-13 09:45:30 +0530
commit59be6a910c781506674aa47057f6ca55dd3df41e (patch)
tree30cd61a42f0f719e11af36848f231c31b856a2c3 /core/templates/installation.php
parent19afc216cfb76e0896b3e9292561eb9992327443 (diff)
downloadnextcloud-server-59be6a910c781506674aa47057f6ca55dd3df41e.tar.gz
nextcloud-server-59be6a910c781506674aa47057f6ca55dd3df41e.zip
Implements Toggle for Database Password.
Diffstat (limited to 'core/templates/installation.php')
-rw-r--r--core/templates/installation.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/templates/installation.php b/core/templates/installation.php
index c70903cba55..c034fe5b52f 100644
--- a/core/templates/installation.php
+++ b/core/templates/installation.php
@@ -138,9 +138,11 @@
value="<?php p(OC_Helper::init_var('dbuser')); ?>" autocomplete="off" />
</p>
<p class="infield groupmiddle">
- <label for="dbpass" class="infield"><?php p($l->t( 'Database password' )); ?></label>
- <input type="password" name="dbpass" id="dbpass" placeholder=""
+ <input type="password" name="dbpass" id="dbpass" placeholder="" data-typetoggle="#dbpassword"
value="<?php p(OC_Helper::init_var('dbpass')); ?>" />
+ <label for="dbpass" class="infield"><?php p($l->t( 'Database password' )); ?></label>
+ <input type="checkbox" id="dbpassword" name="dbpassword" />
+ <label for="dbpassword"></label>
</p>
<p class="infield groupmiddle">
<label for="dbname" class="infield"><?php p($l->t( 'Database name' )); ?></label>