fix
This commit is contained in:
@@ -1,6 +1,40 @@
|
||||
<!-- Main content -->
|
||||
<?php include('common/userstrip.php'); ?>
|
||||
|
||||
<?php
|
||||
|
||||
$email_preff = array (
|
||||
["title" => "Successful Login",
|
||||
"desc" => "I am working on this value",
|
||||
"pref_id" => "pr1"],
|
||||
|
||||
["title" => "Too many login trials",
|
||||
"desc" => "I am working on this value",
|
||||
"pref_id" => "pr2"],
|
||||
|
||||
["title" => "New job sent to me",
|
||||
"desc" => "I am working on this value",
|
||||
"pref_id" => "pr3"],
|
||||
|
||||
["title" => "Relevant job posted to the market",
|
||||
"desc" => "I am working on this value",
|
||||
"pref_id" => "pr4"],
|
||||
|
||||
["title" => "Active job status changed ",
|
||||
"desc" => "I am working on this value",
|
||||
"pref_id" => "pr5"],
|
||||
|
||||
["title" => "Job deadline approaching",
|
||||
"desc" => "I am working on this value",
|
||||
"pref_id" => "pr6"],
|
||||
|
||||
["title" => "Payment/Transfer status changed ",
|
||||
"desc" => "I am working on this value",
|
||||
"pref_id" => "pr7"],
|
||||
|
||||
);
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -17,8 +51,18 @@
|
||||
<div id="kt_account_settings_email_preferences" class="collapse show">
|
||||
<!--begin::Form-->
|
||||
<form class="form">
|
||||
<?php
|
||||
foreach ($email_preff as $rw){
|
||||
?>
|
||||
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
<!--begin::Card body-->
|
||||
<div class="card-body border-top px-9 py-9">
|
||||
|
||||
|
||||
<!--begin::Option-->
|
||||
<label class="form-check form-check-custom form-check-solid align-items-start">
|
||||
<!--begin::Input-->
|
||||
@@ -32,6 +76,8 @@
|
||||
<!--end::Label-->
|
||||
</label>
|
||||
<!--end::Option-->
|
||||
|
||||
|
||||
<!--begin::Option-->
|
||||
<div class="separator separator-dashed my-6"></div>
|
||||
<!--end::Option-->
|
||||
@@ -274,7 +320,7 @@
|
||||
<!--begin::Content-->
|
||||
<div id="kt_account_settings_deactivate" class="collapse show">
|
||||
<!--begin::Form-->
|
||||
<form id="kt_account_deactivate_form" class="form">
|
||||
<form id="kt_account_deactivate_form" name="dact_individual" class="form">
|
||||
<!--begin::Card body-->
|
||||
<div class="card-body border-top p-9">
|
||||
<!--begin::Notice-->
|
||||
@@ -314,7 +360,7 @@
|
||||
<!--end::Card body-->
|
||||
<!--begin::Card footer-->
|
||||
<div class="card-footer d-flex justify-content-end py-6 px-9">
|
||||
<button id="kt_account_deactivate_account_submit" type="submit" class="btn btn-danger fw-bold">Deactivate Account</button>
|
||||
<button onclick="return deactivateMyAccount();" id="kt_account_deactivate_account_submit" type="submit" class="btn btn-danger fw-bold">Deactivate Account</button>
|
||||
</div>
|
||||
<!--end::Card footer-->
|
||||
</form>
|
||||
@@ -324,3 +370,21 @@
|
||||
</div>
|
||||
<!--end::Deactivate Account-->
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
|
||||
function deactivateMyAccount() {
|
||||
var deactivate = document.dact_individual.deactivate.value;
|
||||
|
||||
|
||||
if (deactivate == '') {
|
||||
alert('You must confirm my account deactivation');
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
// -->
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user