register-pass.tpl 1.31 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)" class="form-control" >
4
	{if $prefs.user_register_prettytracker_hide_mandatory neq 'y'}&nbsp;<strong class='mandatory_star text-danger tips' title=":{tr}This field is mandatory{/tr}">*</strong>{/if}
5
{else}
6
	{if !isset($openid_associate) || $openid_associate neq 'y'}
luciash's avatar
luciash committed
7
		<div class="form-group">
8
			<label class="col-sm-4 control-label" for="pass1">{tr}New Password{/tr} {if $trackerEditFormId}<strong class='mandatory_star text-danger tips' title=":{tr}This field is mandatory{/tr}">*</strong>{/if}</label>
9
			<div class="col-sm-8">
10 11 12 13 14 15 16
				<input
					class="form-control"
					id='pass1'
					type="password"
					name="pass"
					value="{if !empty($smarty.post.pass)}{$smarty.post.pass}{/if}"
				>
17
				<div style="margin-left:5px;">
18
					<div id="mypassword_text">{icon name='ok' istyle='display:none'}{icon name='error' istyle='display:none' } <span id="mypassword_text_inner"></span></div>
19
					<div id="mypassword_bar" style="font-size: 5px; height: 2px; width: 0px;"></div>
changi67's avatar
changi67 committed
20
				</div>
21
				{if $prefs.feature_jquery_validation neq 'y'}
22 23 24
					<div style="margin-top:5px">
						{include file='password_help.tpl'}
					</div>
changi67's avatar
changi67 committed
25
				{/if}
luciash's avatar
luciash committed
26 27
			</div>
		</div>
28
	{/if}
29
{/if}