Skip to content

Commit

Permalink
Add autocomplete
Browse files Browse the repository at this point in the history
  • Loading branch information
Rmh1978 committed Jul 4, 2022
1 parent ce6f517 commit a9777c0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions modules/site/mod_redshop_login/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
<span class="icon-user hasTooltip" title="<?php echo JText::_('MOD_REDSHOP_LOGIN_VALUE_USERNAME'); ?>"></span>
<label for="modlgn-username" class="element-invisible"><?php echo JText::_('MOD_REDSHOP_LOGIN_VALUE_USERNAME'); ?></label>
</span>
<input id="modlgn-username" type="text" name="username" class="input-small" tabindex="0" size="18" placeholder="<?php echo JText::_('MOD_REDSHOP_LOGIN_VALUE_USERNAME'); ?>" />
<input id="modlgn-username" type="text" name="username" class="input-small" tabindex="0" autocomplete="username" size="18" placeholder="<?php echo JText::_('MOD_REDSHOP_LOGIN_VALUE_USERNAME'); ?>" />
</div>
<?php else : ?>
<label for="modlgn-username"><?php echo JText::_('MOD_REDSHOP_LOGIN_VALUE_USERNAME'); ?></label>
<input id="modlgn-username" type="text" name="username" class="input-small" tabindex="0" size="18" placeholder="<?php echo JText::_('MOD_REDSHOP_LOGIN_VALUE_USERNAME'); ?>" />
<input id="modlgn-username" type="text" name="username" class="input-small" tabindex="0" autocomplete="username" size="18" placeholder="<?php echo JText::_('MOD_REDSHOP_LOGIN_VALUE_USERNAME'); ?>" />
<?php endif; ?>
</div>
</div>
Expand All @@ -48,11 +48,11 @@
<label for="modlgn-passwd" class="element-invisible"><?php echo JText::_('JGLOBAL_PASSWORD'); ?>
</label>
</span>
<input id="modlgn-passwd" type="password" name="password" class="input-small" tabindex="0" size="18" placeholder="<?php echo JText::_('JGLOBAL_PASSWORD'); ?>" />
<input id="modlgn-passwd" type="password" name="password" class="input-small" tabindex="0" autocomplete="current-password" size="18" placeholder="<?php echo JText::_('JGLOBAL_PASSWORD'); ?>" />
</div>
<?php else : ?>
<label for="modlgn-passwd"><?php echo JText::_('JGLOBAL_PASSWORD'); ?></label>
<input id="modlgn-passwd" type="password" name="password" class="input-small" tabindex="0" size="18" placeholder="<?php echo JText::_('JGLOBAL_PASSWORD'); ?>" />
<input id="modlgn-passwd" type="password" name="password" class="input-small" tabindex="0" autocomplete="current-password" size="18" placeholder="<?php echo JText::_('JGLOBAL_PASSWORD'); ?>" />
<?php endif; ?>
</div>
</div>
Expand Down

0 comments on commit a9777c0

Please sign in to comment.