2019-07-17 20:31:04 +00:00
|
|
|
<form name="personalInfoForm" class="formGrid" method="post" action="<?= $this->base ?>/users/personalinfo/save/profile/<?= $this->profile->id ?>">
|
2019-07-17 20:16:19 +00:00
|
|
|
<?php foreach ($this->fields as $field): ?>
|
|
|
|
<?php echo $field ?>
|
|
|
|
<?php endforeach ?><br />
|
2019-07-17 20:31:04 +00:00
|
|
|
<input type="submit" id="save" value="<?php echo $this->translate('Save') ?>" />
|
2019-07-17 20:16:19 +00:00
|
|
|
<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",
|
|
|
|
{
|
2019-07-17 20:31:04 +00:00
|
|
|
type : "submit"
|
2019-07-17 20:08:50 +00:00
|
|
|
}
|
|
|
|
);
|
|
|
|
var oButton = new YAHOO.widget.Button(
|
|
|
|
"cancel",
|
|
|
|
{
|
|
|
|
type : "push",
|
2019-07-17 20:31:04 +00:00
|
|
|
onclick : {fn: function() {COMMID.personalInfo.cancel();}}
|
2019-07-17 20:08:50 +00:00
|
|
|
}
|
|
|
|
);
|
|
|
|
</script>
|
|
|
|
</form>
|