View Full Version : Password text instead of .......
Petrache Nicolae
January 3, 2014, 09:22 AM
786
how can we show word password instead of ........ in auto brand template? thanks
Steffen Buschkemper
January 3, 2014, 09:30 AM
Hi Petrache,
account_menu.tpl change follow code
from
<div>{$lang.password}</div>
<input type="password" name="password" maxlength="25" />
to
<input type="password" name="password" maxlength="25" placeholder="{$lang.password}" />
You can use also a custom language phrase for placeholder.
Not tested... ;)
Regards
Steffen
Petrache Nicolae
January 3, 2014, 09:46 AM
Hi Petrache,
account_menu.tpl change follow code
from
<div>{$lang.password}</div>
<input type="password" name="password" maxlength="25" />
to
<input type="password" name="password" maxlength="25" placeholder="{$lang.password}" />
You can use also a custom language phrase for placeholder.
Not tested... ;)
Regards
Steffen
not working becouse the original code is
<input {if $loginAttemptsLeft <= 0 && $config.security_login_attempt_user_module}disable d="disabled" class="disabled"{/if} type="password" name="password" maxlength="25" value="{if $lang.password}{$lang.password}{/if}" />
Steffen Buschkemper
January 3, 2014, 10:24 AM
Hmmm check follow
<input {if $loginAttemptsLeft <= 0 && $config.security_login_attempt_user_module}disable d="disabled" class="disabled"{/if} type="password" name="password" maxlength="25" value="" placeholder="{$lang.password}" />
Petrache Nicolae
January 3, 2014, 10:36 AM
works but not perfect. on page refresh, it shows the text instead of ... but, with different collor? olso, if i click on pass than on name and so one, the word pass dissapears and i see ... again. maybe a java somehow? like he have for grid/list view in wich you have to change the tpl file but olso the java file to have it working fine
Steffen Buschkemper
January 3, 2014, 10:39 AM
Right this is a javascript conflict.
But i have the general script and there templates.
I can not test it for auto template to solve this.
Powered by vBulletin® Version 4.1.9 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.