CommunityID/modules/users/views/scripts/personalinfo/edit.phtml

31 lines
1.0 KiB
PHTML
Raw Normal View History

2019-07-17 20:16:19 +00:00
<form name="personalInfoForm" class="formGrid" >
<?php foreach ($this->fields as $field): ?>
<?php echo $field ?>
<?php endforeach ?><br />
<input type="button" id="save" value="<?php echo $this->translate('Save') ?>" onclick="COMMID.editPersonalInfo.save()" />
<input type="button" id="cancel" value="<?php echo $this->translate('Cancel') ?>" onclick="COMMID.editPersonalInfo.cancel()" />
<script type="text/javascript">
YAHOO.util.Event.onDOMReady(function () {
COMMID.loader.insert(
["connection"],
2019-07-17 20:08:50 +00:00
null
);
2019-07-17 20:16:19 +00:00
});
2019-07-17 20:08:50 +00:00
var oButton = new YAHOO.widget.Button(
"save",
{
type : "push",
2019-07-17 20:16:19 +00:00
onclick : {fn: COMMID.personalInfo.save}
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: COMMID.personalInfo.cancel}
2019-07-17 20:08:50 +00:00
}
);
</script>
</form>