CommunityID/modules/users/views/scripts/profilegeneral/changepassword.phtml

28 lines
1.2 KiB
PHTML
Raw Normal View History

2019-07-17 20:08:50 +00:00
<form name="changePasswordForm" class="formGrid" >
2019-07-17 20:16:19 +00:00
<?php echo $this->changePasswordForm->password1 ?>
<?php echo $this->changePasswordForm->password2 ?>
2019-07-17 20:08:50 +00:00
<div class="yui-gf">
<div class="yui-u first">&nbsp;</div>
<div class="yui-u">
2019-07-17 20:16:19 +00:00
<input type="button" id="save" value="<?php echo $this->translate('Save') ?>" onclick="COMMID.changePassword.save()" />
<input type="button" id="cancel" value="<?php echo $this->translate('Cancel') ?>" onclick="COMMID.changePassword.cancel()" />
2019-07-17 20:08:50 +00:00
<script type="text/javascript">
var oButton = new YAHOO.widget.Button(
"save",
{
type : "push",
2019-07-17 20:16:19 +00:00
onclick : {fn: function() {COMMID.changePassword.save(<?php echo $this->targetUser->id ?>)}}
2019-07-17 20:08:50 +00:00
}
);
var oButton = new YAHOO.widget.Button(
"cancel",
{
type : "push",
2019-07-17 20:16:19 +00:00
onclick : {fn: function() {COMMID.changePassword.cancel(<?php echo $this->targetUser->id ?>)}}
2019-07-17 20:08:50 +00:00
}
);
</script>
</div>
</div>
</form>