This commit is contained in:
2022-04-03 16:36:08 -04:00
parent 9163c8ad84
commit 99d7b89ebd
4 changed files with 20 additions and 17 deletions
+12 -2
View File
@@ -61,12 +61,12 @@ $email_preff = array (
<!--begin::Option-->
<label class="form-check form-check-custom form-check-solid align-items-start">
<!--begin::Input-->
<input class="form-check-input me-3" type="checkbox" name="email-preferences[]" value="1" />
<input class="form-check-input me-3" type="checkbox" onclick="return accountSettings('<?=$rw['pref_id']?>');" name="account_settings_<?=$rw['pref_id']?>" value="1" />
<!--end::Input-->
<!--begin::Label-->
<span class="form-check-label d-flex flex-column align-items-start">
<span class="fw-bolder fs-5 mb-0"><?=$rw['title']?></span>
<span class="text-muted fs-6"><?=$rw['desc']?></span>
<span class="text-muted fs-6"><?=$rw['desc']?><div id="<?=$rw['pref_id']?>"></div></span>
</span>
<!--end::Label-->
</label>
@@ -156,6 +156,16 @@ $email_preff = array (
<script type="text/javascript">
<!--
function accountSettings(set_type){
// alert(set_type);
$.ajax({
url: "/member/accsettings?set_type="+set_type
}).done(function (data) {
$('#'+set_type).html(data);
});
return false;
}
function deactivateMyAccount() {
// var deactivate = document.dact_individual.deactivate.value;
var deactivate = document.getElementById("deactivate").checked;