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

38 lines
1.8 KiB
PHTML
Raw Normal View History

2019-07-17 20:16:19 +00:00
<form id="confirmDeleteForm" method="post" action="<?php echo $this->base ?>/users/profilegeneral/delete">
2019-07-17 20:08:50 +00:00
<p>
2019-07-17 20:16:19 +00:00
<?php echo $this->translate('Why do you want to delete your Community-ID account?') ?><br />
<?php echo $this->translate('Please check all that apply:') ?>
2019-07-17 20:08:50 +00:00
</p>
<ul>
<li>
2019-07-17 20:16:19 +00:00
<input type="checkbox" name="reason_test" style="top:0" /><?php echo $this->translate('This was just a test account') ?>
2019-07-17 20:08:50 +00:00
</li>
<li>
2019-07-17 20:16:19 +00:00
<input type="checkbox" name="reason_foundbetter" style="top:0" /><?php echo $this->translate('I found a better service') ?>
2019-07-17 20:08:50 +00:00
</li>
<li>
2019-07-17 20:16:19 +00:00
<input type="checkbox" name="reason_lackedfeatures" style="top:0" /><?php echo $this->translate('Service lacked some key features I needed') ?>
2019-07-17 20:08:50 +00:00
</li>
<li>
2019-07-17 20:16:19 +00:00
<input type="checkbox" name="reason_none" style="top:0" /><?php echo $this->translate('No particular reason') ?>
2019-07-17 20:08:50 +00:00
</li>
</ul>
2019-07-17 20:16:19 +00:00
<label for="reason_comments"><?php echo $this->translate('Additional comments:') ?></label>
2019-07-17 20:08:50 +00:00
<textarea id="reason_comments" name="reason_comments"></textarea><br />
2019-07-17 20:16:19 +00:00
<input type="submit" id="delete" value="<?php echo $this->translate('Delete Account') ?>" />
<input type="button" id="cancel" value="<?php echo $this->translate('Cancel') ?>" onclick="location.href='<?= $this->base ?>/users/profile'" />
2019-07-17 20:08:50 +00:00
<script type="text/javascript">
var oButton = new YAHOO.widget.Button("delete");
var oButton = new YAHOO.widget.Button(
"cancel",
{
type : "push",
onclick : {fn: function() {
2019-07-17 20:16:19 +00:00
location.href='<?php echo $this->base ?>/users/profile'
2019-07-17 20:08:50 +00:00
}
}
}
);
</script>
</form>