$wb['no_xmpp_server_error']='At least one XMPP Server must be selected.';
$wb['xmpp_servers_used']='The server you are trying to remove from this client is used as a XMPP Server. Be sure that this server is not used by this client before you remove it.';
$wb['limit_xmpp_domain_error_notint']='The XMPP domain limit must be a number.';
$wb['limit_xmpp_user_error_notint']='The XMPP user limit must be a number.';
$wb['limit_xmpp_domain_txt']='Max. number of XMPP domains';
$wb['limit_xmpp_user_txt']='Max. number of XMPP accounts';
$wb['no_xmpp_server_error']='At least one XMPP Server must be selected.';
$wb['xmpp_servers_used']='The server you are trying to remove from this client is used as a XMPP Server. Be sure that this server is not used by this client before you remove it.';
$wb['limit_xmpp_domain_error_notint']='The XMPP domain limit must be a number.';
$wb['limit_xmpp_user_error_notint']='The XMPP user limit must be a number.';
$wb['limit_xmpp_domain_txt']='Max. number of XMPP domains';
$wb['limit_xmpp_user_txt']='Max. number of XMPP accounts';
// Delete all forwardings where the source or destination belongs to this domain
$records = $app->db->queryAllRecords("SELECT forwarding_id as id FROM mail_forwarding WHERE source like '%@".$app->db->quote($domain)."' OR (destination like '%@".$app->db->quote($domain)."' AND type != 'forward')");
$soa=$app->db->queryOneRecord("SELECT id AS zone, sys_userid, sys_groupid, sys_perm_user, sys_perm_group, sys_perm_other, server_id, ttl, serial FROM dns_soa WHERE active = 'Y' AND origin = ?",$domain.'.');
$soa=$app->db->queryOneRecord("SELECT id AS zone, sys_userid, sys_groupid, sys_perm_user, sys_perm_group, sys_perm_other, server_id, ttl, serial FROM dns_soa WHERE active = 'Y' AND origin = ?",$this->dataRecord['domain'].'.');
...
...
@@ -395,17 +395,15 @@ class page_action extends tform_actions {
$soa=$app->db->queryOneRecord("SELECT id AS zone, sys_userid, sys_groupid, sys_perm_user, sys_perm_group, sys_perm_other FROM dns_soa WHERE active = 'Y' AND = ?",$this->dataRecord['domain'].'.');
$soa=$app->db->queryOneRecord("SELECT id AS zone, sys_userid, sys_groupid, sys_perm_user, sys_perm_group, sys_perm_other FROM dns_soa WHERE active = 'Y' AND = ?",$this->dataRecord['domain'].'.');