explicitly add empty placeholder to inputs which use infield labels, fix #2049
This commit is contained in:
parent
5c061561c5
commit
07dee24cb2
|
@ -2,7 +2,7 @@
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<p class="infield">
|
<p class="infield">
|
||||||
<label for="password" class="infield"><?php p($l->t('Password')); ?></label>
|
<label for="password" class="infield"><?php p($l->t('Password')); ?></label>
|
||||||
<input type="password" name="password" id="password" value="" autofocus />
|
<input type="password" name="password" id="password" placeholder="" value="" autofocus />
|
||||||
<input type="submit" value="<?php p($l->t('Submit')); ?>" />
|
<input type="submit" value="<?php p($l->t('Submit')); ?>" />
|
||||||
</p>
|
</p>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<p class="infield">
|
<p class="infield">
|
||||||
<label for="user" class="infield"><?php echo $l->t( 'Username' ); ?></label>
|
<label for="user" class="infield"><?php echo $l->t( 'Username' ); ?></label>
|
||||||
<input type="text" name="user" id="user" value="" autocomplete="off" required autofocus />
|
<input type="text" name="user" id="user" placeholder="" value="" autocomplete="off" required autofocus />
|
||||||
</p>
|
</p>
|
||||||
<input type="submit" id="submit" value="<?php echo $l->t('Request reset'); ?>" />
|
<input type="submit" id="submit" value="<?php echo $l->t('Request reset'); ?>" />
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
|
@ -36,13 +36,13 @@
|
||||||
<fieldset id="adminaccount">
|
<fieldset id="adminaccount">
|
||||||
<legend><?php print_unescaped($l->t( 'Create an <strong>admin account</strong>' )); ?></legend>
|
<legend><?php print_unescaped($l->t( 'Create an <strong>admin account</strong>' )); ?></legend>
|
||||||
<p class="infield grouptop">
|
<p class="infield grouptop">
|
||||||
<input type="text" name="adminlogin" id="adminlogin"
|
<input type="text" name="adminlogin" id="adminlogin" placeholder=""
|
||||||
value="<?php p(OC_Helper::init_var('adminlogin')); ?>" autocomplete="off" autofocus required />
|
value="<?php p(OC_Helper::init_var('adminlogin')); ?>" autocomplete="off" autofocus required />
|
||||||
<label for="adminlogin" class="infield"><?php p($l->t( 'Username' )); ?></label>
|
<label for="adminlogin" class="infield"><?php p($l->t( 'Username' )); ?></label>
|
||||||
<img class="svg" src="<?php p(image_path('', 'actions/user.svg')); ?>" alt="" />
|
<img class="svg" src="<?php p(image_path('', 'actions/user.svg')); ?>" alt="" />
|
||||||
</p>
|
</p>
|
||||||
<p class="infield groupbottom">
|
<p class="infield groupbottom">
|
||||||
<input type="password" name="adminpass" data-typetoggle="#show" id="adminpass"
|
<input type="password" name="adminpass" data-typetoggle="#show" id="adminpass" placeholder=""
|
||||||
value="<?php p(OC_Helper::init_var('adminpass')); ?>" />
|
value="<?php p(OC_Helper::init_var('adminpass')); ?>" />
|
||||||
<label for="adminpass" class="infield"><?php p($l->t( 'Password' )); ?></label>
|
<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="" />
|
<img class="svg" id="adminpass-icon" src="<?php print_unescaped(image_path('', 'actions/password.svg')); ?>" alt="" />
|
||||||
|
@ -127,17 +127,17 @@
|
||||||
<div id="use_other_db">
|
<div id="use_other_db">
|
||||||
<p class="infield grouptop">
|
<p class="infield grouptop">
|
||||||
<label for="dbuser" class="infield"><?php p($l->t( 'Database user' )); ?></label>
|
<label for="dbuser" class="infield"><?php p($l->t( 'Database user' )); ?></label>
|
||||||
<input type="text" name="dbuser" id="dbuser"
|
<input type="text" name="dbuser" id="dbuser" placeholder=""
|
||||||
value="<?php p(OC_Helper::init_var('dbuser')); ?>" autocomplete="off" />
|
value="<?php p(OC_Helper::init_var('dbuser')); ?>" autocomplete="off" />
|
||||||
</p>
|
</p>
|
||||||
<p class="infield groupmiddle">
|
<p class="infield groupmiddle">
|
||||||
<label for="dbpass" class="infield"><?php p($l->t( 'Database password' )); ?></label>
|
<label for="dbpass" class="infield"><?php p($l->t( 'Database password' )); ?></label>
|
||||||
<input type="password" name="dbpass" id="dbpass"
|
<input type="password" name="dbpass" id="dbpass" placeholder=""
|
||||||
value="<?php p(OC_Helper::init_var('dbpass')); ?>" />
|
value="<?php p(OC_Helper::init_var('dbpass')); ?>" />
|
||||||
</p>
|
</p>
|
||||||
<p class="infield groupmiddle">
|
<p class="infield groupmiddle">
|
||||||
<label for="dbname" class="infield"><?php p($l->t( 'Database name' )); ?></label>
|
<label for="dbname" class="infield"><?php p($l->t( 'Database name' )); ?></label>
|
||||||
<input type="text" name="dbname" id="dbname"
|
<input type="text" name="dbname" id="dbname" placeholder=""
|
||||||
value="<?php p(OC_Helper::init_var('dbname')); ?>"
|
value="<?php p(OC_Helper::init_var('dbname')); ?>"
|
||||||
autocomplete="off" pattern="[0-9a-zA-Z$_-]+" />
|
autocomplete="off" pattern="[0-9a-zA-Z$_-]+" />
|
||||||
</p>
|
</p>
|
||||||
|
@ -147,14 +147,14 @@
|
||||||
<div id="use_oracle_db">
|
<div id="use_oracle_db">
|
||||||
<p class="infield groupmiddle">
|
<p class="infield groupmiddle">
|
||||||
<label for="dbtablespace" class="infield"><?php p($l->t( 'Database tablespace' )); ?></label>
|
<label for="dbtablespace" class="infield"><?php p($l->t( 'Database tablespace' )); ?></label>
|
||||||
<input type="text" name="dbtablespace" id="dbtablespace"
|
<input type="text" name="dbtablespace" id="dbtablespace" placeholder=""
|
||||||
value="<?php p(OC_Helper::init_var('dbtablespace')); ?>" autocomplete="off" />
|
value="<?php p(OC_Helper::init_var('dbtablespace')); ?>" autocomplete="off" />
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<p class="infield groupbottom">
|
<p class="infield groupbottom">
|
||||||
<label for="dbhost" class="infield" id="dbhostlabel"><?php p($l->t( 'Database host' )); ?></label>
|
<label for="dbhost" class="infield" id="dbhostlabel"><?php p($l->t( 'Database host' )); ?></label>
|
||||||
<input type="text" name="dbhost" id="dbhost"
|
<input type="text" name="dbhost" id="dbhost" placeholder=""
|
||||||
value="<?php p(OC_Helper::init_var('dbhost', 'localhost')); ?>" />
|
value="<?php p(OC_Helper::init_var('dbhost', 'localhost')); ?>" />
|
||||||
</p>
|
</p>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</ul>
|
</ul>
|
||||||
<p class="infield grouptop">
|
<p class="infield grouptop">
|
||||||
<input type="text" name="user" id="user"
|
<input type="text" name="user" id="user" placeholder=""
|
||||||
value="<?php p($_['username']); ?>"<?php p($_['user_autofocus'] ? ' autofocus' : ''); ?>
|
value="<?php p($_['username']); ?>"<?php p($_['user_autofocus'] ? ' autofocus' : ''); ?>
|
||||||
autocomplete="on" required/>
|
autocomplete="on" required/>
|
||||||
<label for="user" class="infield"><?php p($l->t('Username')); ?></label>
|
<label for="user" class="infield"><?php p($l->t('Username')); ?></label>
|
||||||
|
@ -30,7 +30,7 @@
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p class="infield groupbottom">
|
<p class="infield groupbottom">
|
||||||
<input type="password" name="password" id="password" value="" data-typetoggle="#show"
|
<input type="password" name="password" id="password" value="" data-typetoggle="#show" placeholder=""
|
||||||
required<?php p($_['user_autofocus'] ? '' : ' autofocus'); ?> />
|
required<?php p($_['user_autofocus'] ? '' : ' autofocus'); ?> />
|
||||||
<label for="password" class="infield"><?php p($l->t('Password')); ?></label>
|
<label for="password" class="infield"><?php p($l->t('Password')); ?></label>
|
||||||
<img class="svg" id="password-icon" src="<?php print_unescaped(image_path('', 'actions/password.svg')); ?>" alt=""/>
|
<img class="svg" id="password-icon" src="<?php print_unescaped(image_path('', 'actions/password.svg')); ?>" alt=""/>
|
||||||
|
|
Loading…
Reference in New Issue