fix
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user