This commit is contained in:
Ibnu Maksum
2022-09-18 00:00:40 +07:00
parent 742e0df1f2
commit e6f8826490
25 changed files with 121 additions and 105 deletions

View File

@ -16,6 +16,7 @@ require_once 'system/autoload/PEAR2/Autoload.php';
switch ($action) {
case 'change-password':
run_hook('customer_view_change_password'); #HOOK
$ui->display('user-change-password.tpl');
break;
@ -138,6 +139,7 @@ switch ($action) {
$id = $_SESSION['uid'];
$d = ORM::for_table('tbl_customers')->find_one($id);
if($d){
run_hook('customer_view_edit_profile'); #HOOK
$ui->assign('d',$d);
$ui->display('user-profile.tpl');
}else{