Files
EasySoft-ZenTaoPMS/module/my/view/changepassword.html.php
T
2015-05-12 11:14:46 +08:00

57 lines
2.0 KiB
PHP
Executable File

<?php
/**
* The change password view of user module of ZenTaoPMS.
*
* @copyright Copyright 2009-2015 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
* @license ZPL (http://zpl.pub/page/zplv11.html)
* @author Congzhi Chen <congzhi@cnezsoft.com>
* @package user
* @version $Id: editprofile.html.php 2605 2012-02-21 07:22:58Z wwccss $
* @link http://www.zentao.net
*/
?>
<?php include '../../common/view/header.html.php';?>
<div class='container mw-500px'>
<div id='titlebar'>
<div class='heading'><i class='icon-key'></i> <?php echo $lang->my->changePassword;?></div>
</div>
<form class='form-condensed' method='post' target='hiddenwin'>
<table align='center' class='table table-form w-300px'>
<tr>
<th class='rowhead w-80px'><?php echo $lang->user->account;?></th>
<td><?php echo $user->account . html::hidden('account',$user->account);?></td>
</tr>
<tr>
<th><?php echo $lang->user->originalPwd;?></th>
<td><?php echo html::password('originalPwd', '', "class='form-control'");?></td>
</tr>
<tr>
<th><?php echo $lang->user->password;?></th>
<td>
<span class='input-group'>
<?php echo html::password('password1', '', "class='form-control' autocomplete='off' onkeyup='checkPwd(this.value)'");?>
<span class='input-group-addon' id='pwdLevel'></span>
</span>
</td>
</tr>
<tr>
<th><?php echo $lang->user->password2;?></th>
<td><?php echo html::password('password2', '', "class='form-control'");?></td>
</tr>
<tr>
<td></td>
<td><?php echo html::submitButton('', '', 'btn-primary') . html::backButton();?></td>
</tr>
</table>
</form>
</div>
<?php js::set('pwdLevelList', $lang->user->pwdLevelList)?>
<script>
function checkPwd(password)
{
$('#pwdLevel').html(pwdLevelList[pwdLevel(password)]);
}
</script>
<?php include '../../common/view/footer.html.php';?>