register-pass.tpl 1.14 KB
Newer Older
luciash's avatar
luciash committed
1
{* $Id$ *}
2
{if $prefs.user_register_prettytracker eq 'y' and $prefs.user_register_prettytracker_tpl}
3
	<input id='pass1' type="password" name="pass" onkeypress="regCapsLock(event)">
4
	&nbsp;<strong class='mandatory_star'>*</strong>	
5
{else}
6
	{if $openid_associate neq 'y'}
luciash's avatar
luciash committed
7
		<div class="form-group">
8
			<label class="col-md-4 col-sm-3 control-label" for="pass1">{tr}Password:{/tr}</label>
luciash's avatar
luciash committed
9
			{if $trackerEditFormId}&nbsp;<strong class='mandatory_star'>*</strong>&nbsp;{/if}
10
			<div class="col-md-4 col-sm-6">
luciash's avatar
luciash committed
11
				<input class="form-control" id='pass1' type="password" name="pass" onkeypress="regCapsLock(event)" value="{if !empty($smarty.post.pass)}{$smarty.post.pass}{/if}"
12
						onkeyup="runPassword(this.value, 'mypassword');{if $prefs.feature_jquery_validation neq 'y' && !$userTrackerData}checkPasswordsMatch('#pass2', '#pass1', '#mypassword2_text');{/if}">
13
				<div style="margin-left:5px;">
changi67's avatar
changi67 committed
14 15 16
					<div id="mypassword_text"></div>
					<div id="mypassword_bar" style="font-size: 5px; height: 2px; width: 0px;"></div> 
				</div>
17
				{if $prefs.feature_jquery_validation neq 'y'}
18
					{include file='password_help.tpl'}
changi67's avatar
changi67 committed
19
				{/if}
luciash's avatar
luciash committed
20 21
			</div>
		</div>
22
	{/if}
23
{/if}