=sprintf($lang['delete']['remove_domain_warning'], htmlspecialchars($_GET["domain"]));?>
=$lang['delete']['remove_domain_details'];?>
=sprintf($lang['delete']['remove_alias_warning'], htmlspecialchars($_GET["alias"]));?>
=$lang['delete']['remove_alias_details'];?>
=$lang['info']['no_action'];?>
prepare("SELECT `target_domain` FROM `alias_domain`
WHERE `alias_domain`= :alias_domain");
$stmt->execute(array(':alias_domain' => $alias_domain));
$DomainData = $stmt->fetch(PDO::FETCH_ASSOC);
}
catch(PDOException $e) {
$_SESSION['return'] = array(
'type' => 'danger',
'msg' => 'MySQL: '.$e
);
}
if (hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $DomainData['target_domain'])) {
?>
=sprintf($lang['delete']['remove_domainalias_warning'], htmlspecialchars($_GET["aliasdomain"]));?>
=$lang['info']['no_action'];?>
=sprintf($lang['delete']['remove_domainadmin_warning'], htmlspecialchars($_GET["domainadmin"]));?>
=sprintf($lang['delete']['remove_mailbox_warning'], htmlspecialchars($_GET["mailbox"]));?>
=$lang['delete']['remove_mailbox_details'];?>
=$lang['info']['no_action'];?>
=$lang['info']['no_action'];?>
prepare("SELECT `user2` FROM `imapsync`
WHERE `id` = :id AND user2 = :user2");
$stmt->execute(array(':id' => $_GET["syncjob"], ':user2' => $_SESSION['mailcow_cc_username']));
$num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
}
catch(PDOException $e) {
$_SESSION['return'] = array(
'type' => 'danger',
'msg' => 'MySQL: '.$e
);
}
if ($num_results != 0 && !empty($num_results)) {
?>
=sprintf($lang['delete']['remove_syncjob_warning'], htmlspecialchars($_SESSION['mailcow_cc_username']));?>
=$lang['delete']['remove_syncjob_details'];?>
=$lang['info']['no_action'];?>
=$lang['info']['no_action'];?>
=$lang['danger']['access_denied'];?>