summaryrefslogtreecommitdiffstats
path: root/core/templates/installation.php
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2014-05-06 12:14:11 +0200
committerMorris Jobke <morris.jobke@gmail.com>2014-06-03 15:30:07 +0200
commit04aa08529257b5c981603b50743818fab8f064a9 (patch)
treedd1854d91308b06467bc6449397fd7cfb8a42ac7 /core/templates/installation.php
parent7177d3a4963ab43a6b24e4f1676bff5d74fc0a52 (diff)
downloadnextcloud-server-04aa08529257b5c981603b50743818fab8f064a9.tar.gz
nextcloud-server-04aa08529257b5c981603b50743818fab8f064a9.zip
infield label removal: fix installation screen
Diffstat (limited to 'core/templates/installation.php')
-rw-r--r--core/templates/installation.php35
1 files changed, 21 insertions, 14 deletions
diff --git a/core/templates/installation.php b/core/templates/installation.php
index 6d73fb431f5..f934e3a86c2 100644
--- a/core/templates/installation.php
+++ b/core/templates/installation.php
@@ -46,15 +46,17 @@
<?php endif; ?>
<fieldset id="adminaccount">
<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=""
+ <p class="grouptop">
+ <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 />
<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=""
+ <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 />
<label for="adminpass" class="infield"><?php p($l->t( 'Password' )); ?></label>
@@ -105,40 +107,45 @@
<?php if($hasOtherDB): ?>
<fieldset id='databaseField'>
<div id="use_other_db">
- <p class="infield grouptop">
+ <p class="grouptop">
<label for="dbuser" class="infield"><?php p($l->t( 'Database user' )); ?></label>
- <input type="text" name="dbuser" id="dbuser" placeholder=""
+ <input type="text" name="dbuser" id="dbuser"
+ placeholder="<?php p($l->t( 'Database user' )); ?>"
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"
+ <p class="groupmiddle">
+ <input type="password" name="dbpass" id="dbpass" data-typetoggle="#dbpassword"
+ placeholder="<?php p($l->t( 'Database password' )); ?>"
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>
</p>
- <p class="infield groupmiddle">
+ <p class="groupmiddle">
<label for="dbname" class="infield"><?php p($l->t( 'Database name' )); ?></label>
- <input type="text" name="dbname" id="dbname" placeholder=""
+ <input type="text" name="dbname" id="dbname"
+ placeholder="<?php p($l->t( 'Database name' )); ?>"
value="<?php p($_['dbname']); ?>"
autocomplete="off" autocapitalize="off" autocorrect="off"
pattern="[0-9a-zA-Z$_-]+" />
</p>
<?php if($_['hasOracle']): ?>
<div id="use_oracle_db">
- <p class="infield groupmiddle">
+ <p class="groupmiddle">
<label for="dbtablespace" class="infield"><?php p($l->t( 'Database tablespace' )); ?></label>
- <input type="text" name="dbtablespace" id="dbtablespace" placeholder=""
+ <input type="text" name="dbtablespace" id="dbtablespace"
+ placeholder="<?php p($l->t( 'Database tablespace' )); ?>"
value="<?php p($_['dbtablespace']); ?>"
autocomplete="off" autocapitalize="off" autocorrect="off" />
</p>
</div>
<?php endif; ?>
- <p class="infield groupbottom">
+ <p class="groupbottom">
<label for="dbhost" class="infield"><?php p($l->t( 'Database host' )); ?></label>
- <input type="text" name="dbhost" id="dbhost" placeholder=""
+ <input type="text" name="dbhost" id="dbhost"
+ placeholder="<?php p($l->t( 'Database host' )); ?>"
value="<?php p($_['dbhost']); ?>"
autocomplete="off" autocapitalize="off" autocorrect="off" />
</p>