<?php
/* Smarty version 4.3.2, created on 2024-05-24 17:33:16
  from '/var/www/html/public/legacy/modules/Users/Changenewpassword.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.3.2',
  'unifunc' => 'content_6650cf5c0b37d7_90446518',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '23e3139fe99cf4a4bfcc499a5d1108e8bea2faed' => 
    array (
      0 => '/var/www/html/public/legacy/modules/Users/Changenewpassword.tpl',
      1 => 1709743136,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_6650cf5c0b37d7_90446518 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/html/public/legacy/include/Smarty/plugins/function.sugar_getjspath.php','function'=>'smarty_function_sugar_getjspath',),));
?>

<?php echo '<script'; ?>
 type='text/javascript'>
<!--
var ERR_RULES_NOT_MET = '<?php echo $_smarty_tpl->tpl_vars['MOD']->value['ERR_RULES_NOT_MET'];?>
';
var ERR_ENTER_OLD_PASSWORD = '<?php echo $_smarty_tpl->tpl_vars['MOD']->value['ERR_ENTER_OLD_PASSWORD'];?>
';
var ERR_ENTER_NEW_PASSWORD = '<?php echo $_smarty_tpl->tpl_vars['MOD']->value['ERR_ENTER_NEW_PASSWORD'];?>
';
var ERR_ENTER_CONFIRMATION_PASSWORD = '<?php echo $_smarty_tpl->tpl_vars['MOD']->value['ERR_ENTER_CONFIRMATION_PASSWORD'];?>
';
var ERR_REENTER_PASSWORDS = '<?php echo $_smarty_tpl->tpl_vars['MOD']->value['ERR_REENTER_PASSWORDS'];?>
';
-->
<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 type='text/javascript' src='<?php echo smarty_function_sugar_getjspath(array('file'=>"modules/Users/PasswordRequirementBox.js"),$_smarty_tpl);?>
'><?php echo '</script'; ?>
>
<style type="text/css">
<!--
.body
{
    font-size: 12px;
}

.buttonLogin
{
    border: 1px solid #444444;
    font-size: 11px;
    color: #ffffff;
    background-color: #666666;
    font-weight: bold;
}

table.tabForm td
{
    border: none;
}

p
{
    MARGIN-TOP: 0px;
    MARGIN-BOTTOM: 10px;
}

form
{
    margin: 0px;
}

#recaptcha_image
{
    height: 47.5px !important;
    width: 250px !important;
}

#recaptcha_image img
{
    height: 47.5px;
    width: 250px;
}
-->
</style>


<form action="index.php" method="post" name="ChangePasswordForm" id="ChangePasswordForm" onsubmit="return document.getElementById('cant_login').value == ''">
<table cellpadding="0" align="center" width="100%" cellspacing="0" border="0">
<tr>
<td>
<table cellpadding="0"  cellspacing="0" border="0" align="center">
<tr>
<td style="padding-bottom: 10px;text-align:center;" >
<img src="<?php echo $_smarty_tpl->tpl_vars['sugar_md']->value;?>
" alt="SuiteCRM" /></td>
</tr>
<tr>
<td align="center">

		<table cellpadding="0" cellspacing="2" border="0" align="center" width="100%" class="edit view">
		<tr>
			<td colspan="2" width="100%" style="padding-bottom: 5px; font-size: 14px;text-align: center;"><?php echo $_smarty_tpl->tpl_vars['INSTRUCTION']->value;?>
</td>
		</tr>
		<tr>
			<td colspan="2" width="100%" style="padding-bottom: 5px; font-weight: normal; color: red;"><?php echo $_smarty_tpl->tpl_vars['ERRORS']->value;?>
</td>
		</tr>
			<input type="hidden" name="entryPoint" value="<?php echo $_smarty_tpl->tpl_vars['ENTRY_POINT']->value;?>
" />
			<input type='hidden' name='action' value="<?php echo $_smarty_tpl->tpl_vars['ACTION']->value;?>
" />
			<input type='hidden' name='module' value="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
" />
			<input type="hidden" name="guid" value="<?php echo $_smarty_tpl->tpl_vars['GUID']->value;?>
" />
			<input type="hidden" name="key" value="<?php echo $_smarty_tpl->tpl_vars['KEY']->value;?>
" />
			<input type="hidden" name="return_module" value="Home" />
			<input type="hidden" name="login" value="1" />
			<input type="hidden" name="is_admin" value="<?php echo $_smarty_tpl->tpl_vars['IS_ADMIN']->value;?>
" />
			<input type="hidden" name="cant_login" id="cant_login" value="" />
			<input type="hidden" name="old_password" id="old_password" value="" />
			<input type="hidden" name="password_change" id="password_change" value="true" />
			<input type="hidden" value="" name="username_password" id="username_password" />
			<input type="hidden" name="page" value="Change" />
			<input type="hidden" name="return_id" value="<?php echo $_smarty_tpl->tpl_vars['ID']->value;?>
" />
			<input type="hidden" name="return_action" value="<?php echo $_smarty_tpl->tpl_vars['return_action']->value;?>
" />
			<input type="hidden" name="record" value="<?php echo $_smarty_tpl->tpl_vars['ID']->value;?>
" />
			<input type="hidden" name="user_name" value="<?php echo $_smarty_tpl->tpl_vars['USER_NAME']->value;?>
" />
			<input type='hidden' name='saveConfig' value='0' />
		<?php if (!empty($_smarty_tpl->tpl_vars['EXPIRATION_TYPE']->value)) {?>
		<tr>
			<td colspan='2' style='text-align: center; padding-bottom: 0.5em;'>
				<span id='post_error' class="error"><?php echo $_smarty_tpl->tpl_vars['EXPIRATION_TYPE']->value;?>
&nbsp;</span>
			</td>
		</tr>
		<?php }?>

		<tr>
		<?php if ($_smarty_tpl->tpl_vars['OLD_PASSWORD_FIELD']->value == '' && $_smarty_tpl->tpl_vars['USERNAME_FIELD']->value == '') {?>
		<td  width="30%"></td><td></td>
		<?php }?>
			<?php echo $_smarty_tpl->tpl_vars['OLD_PASSWORD_FIELD']->value;?>

			<?php echo $_smarty_tpl->tpl_vars['USERNAME_FIELD']->value;?>

		</tr>
		<tr>
			<td scope="row"><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_NEW_PASSWORD'];?>
:</td>
			<td width="30%">
				<input type="password" size="26" tabindex="2" id="new_password" name="new_password" value="" onkeyup="password_confirmation();newrules('<?php echo $_smarty_tpl->tpl_vars['PWDSETTINGS']->value['minpwdlength'];?>
','<?php echo $_smarty_tpl->tpl_vars['PWDSETTINGS']->value['maxpwdlength'];?>
','<?php echo $_smarty_tpl->tpl_vars['REGEX']->value;?>
');" /></td>
		</tr>
		<tr>
			<td scope="row"><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_NEW_PASSWORD2'];?>
:</td>
			<td width="30%">
				<input type="password" size="26" tabindex="2" id="confirm_pwd" name="confirm_pwd" value="" onkeyup="password_confirmation();" /> <div id="comfirm_pwd_match" class="error" style="display: none;"><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_PASSWORD_MIS_MATCH'];?>
</div></td>
		</tr>
		<tr>
			<td><?php echo $_smarty_tpl->tpl_vars['CAPTCHA']->value;?>
</td>
		</tr>
		<tr>
			<td>&nbsp;</td>
			<td style="padding-top: 1em;" class='login-btn'>
				<?php echo $_smarty_tpl->tpl_vars['SUBMIT_BUTTON']->value;?>

			</td>
		</tr>
		</table>
	</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
<?php }
}
