Updated and improved API respones.

This commit is contained in:
Alexander 2021-10-31 23:24:42 +02:00
commit 859e65647f
33 changed files with 254 additions and 18 deletions

View file

@ -195,6 +195,18 @@ if (!empty($_POST['ok_acc'])) {
}
}
// Render page
if (empty($_GET['domain'])) {
// Display body for mail domain
// render_page($user, $TAB, 'add_mail');
} else {
// Display body for mail account
$v_domain = $_GET['domain'];
// render_page($user, $TAB, 'add_mail_acc');
}
$result = array(
'error_msg' => $_SESSION['error_msg'],
'ok_msg' => $_SESSION['ok_msg']