Commit a8a617ca authored by nkoth's avatar nkoth

[FIX] Automatically add mandatory start to login/email/pass fields when pretty...

[FIX] Automatically add mandatory start to login/email/pass fields when pretty tracker registration is used
parent 5acb4715
{if $prefs.user_register_prettytracker eq 'y' and $prefs.user_register_prettytracker_tpl}
<input type="text" id="email" name="email" />
<input type="text" id="email" name="email" />&nbsp;<strong class='mandatory_star'>*</strong>
{else}
{if $prefs.login_is_email ne 'y'}
<tr>
......
{if $prefs.user_register_prettytracker eq 'y' and $prefs.user_register_prettytracker_tpl}
<input type="text" name="name" id="name" />
<input type="text" name="name" id="name" />&nbsp;<strong class='mandatory_star'>*</strong>
{else}
<tr>
<td class="formcolor"><label for="name">{if $prefs.login_is_email eq 'y'}{tr}Email{/tr}{else}{tr}Username{/tr}{/if}:</label>{if $trackerEditFormId}&nbsp;<strong class='mandatory_star'>*</strong>&nbsp;{/if}</td>
......
{if $prefs.user_register_prettytracker eq 'y' and $prefs.user_register_prettytracker_tpl}
<input id='pass1' type="password" name="pass" onkeypress="regCapsLock(event)" />
<input id='pass1' type="password" name="pass" onkeypress="regCapsLock(event)" />&nbsp;<strong class='mandatory_star'>*</strong>
{else}
{if $openid_associate neq 'y'}
<tr>
......
{if $prefs.user_register_prettytracker eq 'y' and $prefs.user_register_prettytracker_tpl}
<input id='pass2' type="password" name="passAgain" onkeypress="regCapsLock(event)" />
<input id='pass2' type="password" name="passAgain" onkeypress="regCapsLock(event)" />&nbsp;<strong class='mandatory_star'>*</strong>
{else}
{if $openid_associate neq 'y'}
<tr>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment