Commit a59731a3 authored by dcy's avatar dcy

Secondary DNS functionality for PowerDNS and Bind

parent 5619c7dd
......@@ -936,7 +936,20 @@ class installer_base {
public function configure_bind() {
global $conf;
//* Nothing to do
//* Check if the zonefile directory has a slash at the end
$content=$conf['bind']['bind_zonefiles_dir'];
if(substr($content,-1,1) != '/') {
$content .= '/';
}
//* Create the slave subdirectory
$content .= 'slave';
$content_mkdir = 'mkdir -p '.$content;
exec($content_mkdir);
//* Chown the slave subdirectory to $conf['bind']['bind_user']
exec('chown '.$conf['bind']['bind_user'].':'.$conf['bind']['bind_group'].' '.$content);
exec('chmod 770 '.$content);
}
......
......@@ -60,6 +60,21 @@ function prepareDBDump() {
copy('existing_db.sql',$backup_db_name);
exec("chmod 700 $backup_db_name");
exec("chown root:root $backup_db_name");
if ($conf['powerdns']['installed']) {
//** export the current PowerDNS database data
if( !empty($conf["mysql"]["admin_password"]) ) {
system("mysqldump -h '".$conf['mysql']['host']."' -u '".$conf['mysql']['admin_user']."' -p'".$conf['mysql']['admin_password']."' -c -t --add-drop-table --create-options --quick --result-file=existing_powerdns_db.sql ".$conf['powerdns']['database']);
} else {
system("mysqldump -h '".$conf['mysql']['host']."' -u '".$conf['mysql']['admin_user']."' -c -t --add-drop-table --create-options --quick --result-file=existing_powerdns_db.sql ".$conf['powerdns']['database']);
}
// create a backup copy of the PowerDNS database in the root folder
$backup_db_name = '/root/ispconfig_powerdns_db_backup_'.@date('Y-m-d_h-i').'.sql';
copy('existing_powerdns_db.sql',$backup_db_name);
exec("chmod 700 $backup_db_name");
exec("chown root:root $backup_db_name");
}
}
function updateDbAndIni() {
......@@ -134,6 +149,26 @@ function updateDbAndIni() {
} else {
system("mysql --default-character-set=".$conf['mysql']['charset']." --force -h '".$conf['mysql']['host']."' -u '".$conf['mysql']['admin_user']."' ".$conf['mysql']['database']." < existing_db.sql");
}
if ($conf['powerdns']['installed']) {
swriteln($inst->lng('Starting full PowerDNS database update.'));
//** Delete the old PowerDNS database
if( !$inst->db->query('DROP DATABASE IF EXISTS '.$conf['powerdns']['database']) ) {
$inst->error('Unable to drop MySQL database: '.$conf['powerdns']['database'].'.');
}
//** Create the mysql database
$inst->configure_powerdns();
//** load old data back into the PowerDNS database
if( !empty($conf["mysql"]["admin_password"]) ) {
system("mysql --default-character-set=".$conf['mysql']['charset']." --force -h '".$conf['mysql']['host']."' -u '".$conf['mysql']['admin_user']."' -p'".$conf['mysql']['admin_password']."' ".$conf['powerdns']['database']." < existing_powerdns_db.sql");
} else {
system("mysql --default-character-set=".$conf['mysql']['charset']." --force -h '".$conf['mysql']['host']."' -u '".$conf['mysql']['admin_user']."' ".$conf['powerdns']['database']." < existing_powerdns_db.sql");
}
}
}
......
......@@ -92,6 +92,7 @@ CREATE TABLE `client` (
`limit_webdav_user` int(11) NOT NULL default '0',
`default_dnsserver` int(11) unsigned NOT NULL default '1',
`limit_dns_zone` int(11) NOT NULL default '-1',
`limit_dns_slave_zone` int(11) NOT NULL default '-1',
`limit_dns_record` int(11) NOT NULL default '-1',
`default_dbserver` int(11) NOT NULL default '1',
`limit_database` int(11) NOT NULL default '-1',
......@@ -148,6 +149,7 @@ CREATE TABLE `client_template` (
`limit_shell_user` int(11) NOT NULL default '0',
`limit_webdav_user` int(11) NOT NULL default '0',
`limit_dns_zone` int(11) NOT NULL default '-1',
`limit_dns_slave_zone` int(11) NOT NULL default '-1',
`limit_dns_record` int(11) NOT NULL default '-1',
`limit_database` int(11) NOT NULL default '-1',
`limit_cron` int(11) NOT NULL default '0',
......@@ -162,7 +164,7 @@ CREATE TABLE `client_template` (
-- --------------------------------------------------------
--
-- Table structure for table `dns_rr`
-- Table structure for table `cron`
--
CREATE TABLE `cron` (
`id` int(11) unsigned NOT NULL auto_increment,
......@@ -246,6 +248,29 @@ CREATE TABLE `dns_soa` (
-- --------------------------------------------------------
--
-- Table structure for table `dns_slave`
--
CREATE TABLE `dns_slave` (
`id` int(10) unsigned NOT NULL auto_increment,
`sys_userid` int(11) unsigned NOT NULL,
`sys_groupid` int(11) unsigned NOT NULL,
`sys_perm_user` varchar(5) NOT NULL,
`sys_perm_group` varchar(5) NOT NULL,
`sys_perm_other` varchar(5) NOT NULL,
`server_id` int(11) NOT NULL default '1',
`origin` varchar(255) NOT NULL,
`ns` varchar(255) NOT NULL,
`active` enum('N','Y') NOT NULL,
`xfer` varchar(255) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `origin` (`origin`),
KEY `active` (`active`)
) ENGINE=MyISAM AUTO_INCREMENT=1;
-- --------------------------------------------------------
--
-- Table structure for table `dns_template`
--
......
......@@ -9,7 +9,7 @@ CREATE TABLE IF NOT EXISTS `domains` (
`ispconfig_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `name_index` (`name`)
) ENGINE=MyISAM;
) ENGINE=InnoDB;
CREATE TABLE IF NOT EXISTS `records` (
`id` int(11) NOT NULL auto_increment,
......@@ -25,10 +25,10 @@ CREATE TABLE IF NOT EXISTS `records` (
KEY `rec_name_index` (`name`),
KEY `nametype_index` (`name`,`type`),
KEY `domain_id` (`domain_id`)
) ENGINE=MyISAM;
) ENGINE=InnoDB;
CREATE TABLE IF NOT EXISTS `supermasters` (
`ip` varchar(25) NOT NULL,
`nameserver` varchar(255) NOT NULL,
`account` varchar(40) default NULL
) ENGINE=MyISAM;
\ No newline at end of file
) ENGINE=InnoDB;
......@@ -7,3 +7,8 @@ gmysql-host={mysql_server_host}
gmysql-user={mysql_server_ispconfig_user}
gmysql-password={mysql_server_ispconfig_password}
gmysql-dbname={powerdns_database}
slave=yes
master=yes
disable-axfr=no
......@@ -76,7 +76,7 @@ include_once("/usr/local/ispconfig/server/lib/config.inc.php");
$conf_old = $conf;
unset($conf);
if($dist['id'] == '') die('Linux Dustribution or Version not recognized.');
if($dist['id'] == '') die('Linux Distribution or Version not recognized.');
//** Include the distribution specific installer class library and configuration
if(is_file('dist/lib/'.$dist['baseid'].'.lib.php')) include_once('dist/lib/'.$dist['baseid'].'.lib.php');
......
......@@ -78,7 +78,7 @@ class page_action extends tform_actions {
$client_group = $app->db->queryOneRecord("SELECT groupid FROM sys_group WHERE client_id = $client_id");
// Get all records (sub-clients, mail, web, etc....) of this client.
$tables = 'client,dns_rr,dns_soa,ftp_user,mail_access,mail_content_filter,mail_domain,mail_forwarding,mail_get,mail_user,mail_user_filter,shell_user,spamfilter_users,support_message,web_database,web_domain,web_traffic';
$tables = 'client,dns_rr,dns_soa,dns_slave,ftp_user,mail_access,mail_content_filter,mail_domain,mail_forwarding,mail_get,mail_user,mail_user_filter,shell_user,spamfilter_users,support_message,web_database,web_domain,web_traffic';
$tables_array = explode(',',$tables);
$client_group_id = intval($client_group['groupid']);
$table_list = array();
......@@ -127,7 +127,7 @@ class page_action extends tform_actions {
$app->db->query("DELETE FROM sys_user WHERE client_id = $client_id");
// Delete all records (sub-clients, mail, web, etc....) of this client.
$tables = 'client,dns_rr,dns_soa,ftp_user,mail_access,mail_content_filter,mail_domain,mail_forwarding,mail_get,mail_user,mail_user_filter,shell_user,spamfilter_users,support_message,web_database,web_domain,web_traffic';
$tables = 'client,dns_rr,dns_soa,dns_slave,ftp_user,mail_access,mail_content_filter,mail_domain,mail_forwarding,mail_get,mail_user,mail_user_filter,shell_user,spamfilter_users,support_message,web_database,web_domain,web_traffic';
$tables_array = explode(',',$tables);
$client_group_id = intval($client_group['groupid']);
if($client_group_id > 1) {
......@@ -163,4 +163,4 @@ class page_action extends tform_actions {
$page = new page_action;
$page->onDelete()
?>
\ No newline at end of file
?>
......@@ -665,6 +665,20 @@ $form["tabs"]['limits'] = array (
'rows' => '',
'cols' => ''
),
'limit_dns_slave_zone' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'ISINT',
'errmsg'=> 'limit_dns_slave_zone_error_notint'),
),
'default' => '-1',
'value' => '',
'separator' => '',
'width' => '10',
'maxlength' => '10',
'rows' => '',
'cols' => ''
),
'limit_dns_record' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
......@@ -796,4 +810,4 @@ $form["tabs"]['ipaddress'] = array (
*/
?>
\ No newline at end of file
?>
......@@ -395,6 +395,20 @@ $form["tabs"]['limits'] = array (
'rows' => '',
'cols' => ''
),
'limit_dns_slave_zone' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'ISINT',
'errmsg'=> 'limit_dns_slave_zone_error_notint'),
),
'default' => '0',
'value' => '',
'separator' => '',
'width' => '10',
'maxlength' => '10',
'rows' => '',
'cols' => ''
),
'limit_dns_record' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
......
......@@ -624,6 +624,20 @@ $form["tabs"]['limits'] = array (
'rows' => '',
'cols' => ''
),
'limit_dns_slave_zone' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'ISINT',
'errmsg'=> 'limit_dns_slave_zone_error_notint'),
),
'default' => '-1',
'value' => '',
'separator' => '',
'width' => '10',
'maxlength' => '10',
'rows' => '',
'cols' => ''
),
'limit_dns_record' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
......@@ -758,4 +772,4 @@ $form["tabs"]['ipaddress'] = array (
*/
?>
\ No newline at end of file
?>
......@@ -54,6 +54,7 @@ $wb['limit_web_subdomain_txt'] = 'Max. number of web subdomains';
$wb['limit_ftp_user_txt'] = 'Max. number of FTP users';
$wb['default_dnsserver_txt'] = 'Default DNS Server';
$wb['limit_dns_zone_txt'] = 'Max. number of DNS zones';
$wb['limit_dns_slave_zone_txt'] = 'Max. number of secondary DNS zones';
$wb['limit_dns_record_txt'] = 'Max. number DNS records';
$wb['limit_shell_user_txt'] = 'Max. number of Shell users';
$wb['limit_client_txt'] = 'Max. number of Clients';
......@@ -77,7 +78,9 @@ $wb['limit_web_aliasdomain_error_notint'] = 'The website alias domain limit must
$wb['limit_web_subdomain_error_notint'] = 'The website subdomain limit must be a number.';
$wb['limit_ftp_user_error_notint'] = 'The ftp user limit must be a number.';
$wb['limit_shell_user_error_notint'] = 'The shell user limit must be a number.';
$wb['limit_dns_zone_error_notint'] = 'The dns record limit must be a number.';
$wb['limit_dns_zone_error_notint'] = 'The dns zone limit must be a number.';
$wb['limit_dns_slave_zone_error_notint'] = 'The dns slave zone limit must be a number.';
$wb['limit_dns_record_error_notint'] = 'The dns record limit must be a number.';
$wb['default_dbserver_txt'] = 'Default Database Server';
$wb['limit_database_error_notint'] = 'The database limit must be a number.';
$wb['limit_cron_error_notint'] = 'The cron limit must be a number.';
......
......@@ -25,6 +25,7 @@ $wb['limit_web_aliasdomain_txt'] = 'Max. number of web aliasdomains';
$wb['limit_web_subdomain_txt'] = 'Max. number of web subdomains';
$wb['limit_ftp_user_txt'] = 'Max. number of FTP users';
$wb['limit_dns_zone_txt'] = 'Max. number of DNS zones';
$wb['limit_dns_slave_zone_txt'] = 'Max. number of secondary DNS zones';
$wb['limit_dns_record_txt'] = 'Max. number DNS records';
$wb['limit_shell_user_txt'] = 'Max. number of Shell users';
$wb['limit_client_txt'] = 'Max. number of Clients';
......@@ -47,6 +48,8 @@ $wb['limit_web_subdomain_error_notint'] = 'The website subdomain limit must be a
$wb['limit_ftp_user_error_notint'] = 'The ftp user limit must be a number.';
$wb['limit_shell_user_error_notint'] = 'The shell user limit must be a number.';
$wb['limit_dns_zone_error_notint'] = 'The dns record limit must be a number.';
$wb['limit_dns_slave_zone_error_notint'] = 'The dns slave zone limit must be a number.';
$wb['limit_dns_record_error_notint'] = 'The dns record limit must be a number.';
$wb['limit_database_error_notint'] = 'The database limit must be a number.';
$wb['limit_cron_error_notint'] = 'The cron limit must be a number.';
$wb['limit_cron_error_frequency'] = 'The cron frequency limit must be a number.';
......
......@@ -53,6 +53,7 @@ $wb['limit_web_subdomain_txt'] = 'Max. number of web subdomains';
$wb['limit_ftp_user_txt'] = 'Max. number of FTP users';
$wb['default_dnsserver_txt'] = 'Default DNS Server';
$wb['limit_dns_zone_txt'] = 'Max. number of DNS zones';
$wb['limit_dns_slave_zone_txt'] = 'Max. number of secondary DNS zones';
$wb['limit_dns_record_txt'] = 'Max. number DNS records';
$wb['limit_shell_user_txt'] = 'Max. number of Shell users';
$wb['limit_client_txt'] = 'Max. number of Clients';
......@@ -76,6 +77,8 @@ $wb['limit_web_subdomain_error_notint'] = 'The website subdomain limit must be a
$wb['limit_ftp_user_error_notint'] = 'The ftp user limit must be a number.';
$wb['limit_shell_user_error_notint'] = 'The shell user limit must be a number.';
$wb['limit_dns_zone_error_notint'] = 'The dns record limit must be a number.';
$wb['limit_dns_slave_zone_error_notint'] = 'The dns slave zone limit must be a number.';
$wb['limit_dns_record_error_notint'] = 'The dns record limit must be a number.';
$wb['default_dbserver_txt'] = 'Default Database Server';
$wb['limit_database_error_notint'] = 'The database limit must be a number.';
$wb['limit_cron_error_notint'] = 'The cron limit must be a number.';
......
......@@ -52,6 +52,7 @@ $wb['limit_ftp_user_txt'] = 'Макс. брой FTP потребители';
$wb['default_dnsserver_txt'] = 'DNS сървър по подразбиране';
$wb['limit_dns_zone_txt'] = 'Макс. брой DNS зони';
$wb['limit_dns_record_txt'] = 'Макс. брой DNS записи';
$wb['limit_dns_slave_zone_txt'] = 'Max. number of secondary DNS zones';
$wb['limit_shell_user_txt'] = 'Макс. брой Shell потребители';
$wb['username_error_empty'] = 'Не е попълнено потребителско име.';
$wb['username_error_unique'] = 'Избраното потребителско име е вече заето.';
......@@ -73,6 +74,8 @@ $wb['limit_web_subdomain_error_notint'] = 'Макс. брой поддомейн
$wb['limit_ftp_user_error_notint'] = 'Макс. брой FTP потребители трябва да е число.';
$wb['limit_shell_user_error_notint'] = 'Макс. брой shell потребители трябва да е число.';
$wb['limit_dns_zone_error_notint'] = 'Макс. брой DNS записи трябва да е число.';
$wb['limit_dns_slave_zone_error_notint'] = 'The dns slave zone limit must be a number.';
$wb['limit_dns_record_error_notint'] = 'The dns record limit must be a number.';
$wb['default_dbserver_txt'] = 'DB сървър по подразбиране';
$wb['limit_database_error_notint'] = 'Макс. брой бази данни трябва да е число.';
$wb['username_error_regex'] = 'Потребителското име съдържа невалидни символи.';
......
......@@ -22,6 +22,7 @@ $wb['limit_web_aliasdomain_txt'] = 'Max. number of web aliasdomains';
$wb['limit_web_subdomain_txt'] = 'Max. number of web subdomains';
$wb['limit_ftp_user_txt'] = 'Max. number of FTP users';
$wb['limit_dns_zone_txt'] = 'Max. number of DNS zones';
$wb['limit_dns_slave_zone_txt'] = 'Max. number of secondary DNS zones';
$wb['limit_dns_record_txt'] = 'Max. number DNS records';
$wb['limit_shell_user_txt'] = 'Max. number of Shell users';
$wb['limit_maildomain_error_notint'] = 'The email domain limit must be a number.';
......@@ -42,6 +43,8 @@ $wb['limit_web_subdomain_error_notint'] = 'The website subdomain limit must be a
$wb['limit_ftp_user_error_notint'] = 'The ftp user limit must be a number.';
$wb['limit_shell_user_error_notint'] = 'The shell user limit must be a number.';
$wb['limit_dns_zone_error_notint'] = 'The dns record limit must be a number.';
$wb['limit_dns_slave_zone_error_notint'] = 'The dns slave zone limit must be a number.';
$wb['limit_dns_record_error_notint'] = 'The dns record limit must be a number.';
$wb['limit_database_error_notint'] = 'The database limit must be a number.';
$wb['error_template_name_empty'] = 'Please enter a Template name';
$wb['limit_cron_txt'] = 'Max. number of cron jobs';
......
......@@ -53,6 +53,7 @@ $wb['limit_web_subdomain_txt'] = 'Max. number of web subdomains';
$wb['limit_ftp_user_txt'] = 'Max. number of FTP users';
$wb['default_dnsserver_txt'] = 'Default DNS Server';
$wb['limit_dns_zone_txt'] = 'Max. number of DNS zones';
$wb['limit_dns_slave_zone_txt'] = 'Max. number of secondary DNS zones';
$wb['limit_dns_record_txt'] = 'Max. number DNS records';
$wb['limit_shell_user_txt'] = 'Max. number of Shell users';
$wb['limit_client_txt'] = 'Max. number of Clients';
......@@ -76,6 +77,8 @@ $wb['limit_web_subdomain_error_notint'] = 'The website subdomain limit must be a
$wb['limit_ftp_user_error_notint'] = 'The ftp user limit must be a number.';
$wb['limit_shell_user_error_notint'] = 'The shell user limit must be a number.';
$wb['limit_dns_zone_error_notint'] = 'The dns record limit must be a number.';
$wb['limit_dns_slave_zone_error_notint'] = 'The dns slave zone limit must be a number.';
$wb['limit_dns_record_error_notint'] = 'The dns record limit must be a number.';
$wb['default_dbserver_txt'] = 'Default Database Server';
$wb['limit_database_error_notint'] = 'The database limit must be a number.';
$wb['limit_cron_error_notint'] = 'The cron limit must be a number.';
......
......@@ -50,6 +50,7 @@ $wb['limit_web_subdomain_txt'] = 'Número máximo de sub-domínios';
$wb['limit_ftp_user_txt'] = 'Número máximo de usuários FTP';
$wb['default_dnsserver_txt'] = 'Servidor de Nomes Padrão';
$wb['limit_dns_zone_txt'] = 'Número máximo de zonas DNS';
$wb['limit_dns_slave_zone_txt'] = 'Max. number of secondary DNS zones';
$wb['limit_dns_record_txt'] = 'Número máximo de registros DNS';
$wb['limit_shell_user_txt'] = 'Número máximo de usuários de shell';
$wb['limit_client_txt'] = 'Número máximo de clientes';
......@@ -73,6 +74,8 @@ $wb['limit_web_subdomain_error_notint'] = 'O limite de sub-domínios de sites de
$wb['limit_ftp_user_error_notint'] = 'O limite de usuários de FTP deve ser um número.';
$wb['limit_shell_user_error_notint'] = 'O limite de usuários de Shell deve ser um número.';
$wb['limit_dns_zone_error_notint'] = 'O limite de registros de DNS deve ser um número';
$wb['limit_dns_slave_zone_error_notint'] = 'The dns slave zone limit must be a number.';
$wb['limit_dns_record_error_notint'] = 'The dns record limit must be a number.';
$wb['default_dbserver_txt'] = 'Servidor de Banco de Dados Padrão';
$wb['limit_database_error_notint'] = 'O limite de banco de dados deve ser um número';
$wb['username_error_regex'] = 'O nome de usuário contem caracteres inválidos.';
......
......@@ -21,6 +21,7 @@ $wb['limit_web_aliasdomain_txt'] = 'Número maximo de apelidos web';
$wb['limit_web_subdomain_txt'] = 'Número máximo de sub-domínios';
$wb['limit_ftp_user_txt'] = 'Número máximo de usuários de FTP';
$wb['limit_dns_zone_txt'] = 'Número máximo de zonas DNS';
$wb['limit_dns_slave_zone_txt'] = 'Max. number of secondary DNS zones';
$wb['limit_dns_record_txt'] = 'Número máximo de registros DNS';
$wb['limit_shell_user_txt'] = 'Número máximo de usuários de Shell';
$wb['limit_client_txt'] = 'Número máximo de clientes';
......@@ -42,6 +43,8 @@ $wb['limit_web_subdomain_error_notint'] = 'O limite de sub-domínios deve ser um
$wb['limit_ftp_user_error_notint'] = 'O limite de contas FTP deve ser um número';
$wb['limit_shell_user_error_notint'] = 'O limite de contas shell DNS deve ser um número';
$wb['limit_dns_zone_error_notint'] = 'O limite de zonas DNS deve ser um número';
$wb['limit_dns_slave_zone_error_notint'] = 'The dns slave zone limit must be a number.';
$wb['limit_dns_record_error_notint'] = 'The dns record limit must be a number.';
$wb['limit_database_error_notint'] = 'O limite dos bancos de dados deve ser um número';
$wb['error_template_name_empty'] = 'Por favor insira o nome do gabarito';
$wb['limit_cron_txt'] = 'Número máximo de tarefas no cron';
......
......@@ -53,6 +53,7 @@ $wb['limit_web_subdomain_txt'] = 'Número máximo de subdomínios';
$wb['limit_ftp_user_txt'] = 'Max. number of FTP users';
$wb['default_dnsserver_txt'] = 'Servidor DNS Padrão';
$wb['limit_dns_zone_txt'] = 'Máximo de zonas DNS';
$wb['limit_dns_slave_zone_txt'] = 'Max. number of secondary DNS zones';
$wb['limit_dns_record_txt'] = 'Máximo de registros DNS';
$wb['limit_shell_user_txt'] = 'Número máximo de usuários de shell';
$wb['limit_client_txt'] = 'Número máximo de clientes';
......@@ -76,6 +77,8 @@ $wb['limit_web_subdomain_error_notint'] = 'O limite de usuários de subdomínios
$wb['limit_ftp_user_error_notint'] = 'O limite de usuários de ftp deve ser um número.';
$wb['limit_shell_user_error_notint'] = 'O limite de usuários de shell deve ser um número.';
$wb['limit_dns_zone_error_notint'] = 'O limite de registros de dns deve ser um número.';
$wb['limit_dns_slave_zone_error_notint'] = 'The dns slave zone limit must be a number.';
$wb['limit_dns_record_error_notint'] = 'The dns record limit must be a number.';
$wb['default_dbserver_txt'] = 'Servidor de Banco de Dados Padrão';
$wb['limit_database_error_notint'] = 'O limite de banco de dados deve ser um número.';
$wb['limit_cron_error_notint'] = 'O limite do cron deve ser um número.';
......
......@@ -54,6 +54,7 @@ $wb["limit_web_subdomain_txt"] = 'Max. počet webových subdomén';
$wb["limit_ftp_user_txt"] = 'Max. počet FTP uživatelů';
$wb["default_dnsserver_txt"] = 'Výchozí DNS server';
$wb["limit_dns_zone_txt"] = 'Max. počet DNS zón';
$wb["limit_dns_slave_zone_txt"] = 'Max. number of secondary DNS zones';
$wb["limit_dns_record_txt"] = 'Max. počet DNS záznamů';
$wb["limit_shell_user_txt"] = 'Max. počet shell uživatelů';
$wb["limit_client_txt"] = 'Max. počet klientů';
......@@ -78,7 +79,8 @@ $wb["limit_web_subdomain_error_notint"] = 'Limit webových subdomén musí být
$wb["limit_ftp_user_error_notint"] = 'Limit FTP uživatelů musí být číslo.';
$wb["limit_shell_user_error_notint"] = 'Limit shell uživatelů musí být číslo.';
$wb["limit_dns_zone_error_notint"] = 'Limit DNS zón musí být číslo.';
$wb["limit_dns_zone_error_notint"] = 'Limit DNS záznamů musí být číslo.';
$wb['limit_dns_slave_zone_error_notint'] = 'The dns slave zone limit must be a number.';
$wb["limit_dns_record_error_notint"] = 'Limit DNS záznamů musí být číslo.';
$wb["limit_client_error_notint"] = 'Limit sub klientů musí být číslo.';
$wb["default_dbserver_txt"] = 'Výchozí databázový server';
$wb["limit_database_txt"] = 'Max. počet databází';
......
......@@ -26,6 +26,7 @@ $wb["limit_web_aliasdomain_txt"] = 'Max. počet webových alias domén';
$wb["limit_web_subdomain_txt"] = 'Max. počet webových subdomén';
$wb["limit_ftp_user_txt"] = 'Max. počet FTP uživatelů';
$wb["limit_dns_zone_txt"] = 'Max. počet DNS zón';
$wb["limit_dns_slave_zone_txt"] = 'Max. number of secondary DNS zones';
$wb["limit_dns_record_txt"] = 'Max. počet DNS záznamů';
$wb["limit_shell_user_txt"] = 'Max. počet shell uživatelů';
$wb["limit_client_txt"] = 'Max. počet klient';
......@@ -47,7 +48,8 @@ $wb["limit_web_aliasdomain_error_notint"] = 'Limit webových alias domén musí
$wb["limit_web_subdomain_error_notint"] = 'Limit webových subdomén musí být číslo.';
$wb["limit_ftp_user_error_notint"] = 'Limit shell uživatelů musí být číslo.';
$wb["limit_dns_zone_error_notint"] = 'Limit DNS zón musí být číslo.';
$wb["limit_dns_zone_error_notint"] = 'Limit DNS záznamů musí být číslo.';
$wb['limit_dns_slave_zone_error_notint'] = 'The dns slave zone limit must be a number.';
$wb["limit_dns_record_error_notint"] = 'Limit DNS záznamů musí být číslo.';
$wb["limit_database_txt"] = 'Max. počet databází';
$wb["limit_database_error_notint"] = 'Limit databází musí být číslo.';
$wb["limit_cron_error_notint"] = 'Limit cronu musí být číslo.';
......
......@@ -53,6 +53,7 @@ $wb["limit_web_subdomain_txt"] = 'Max. počet webových subdomén';
$wb["limit_ftp_user_txt"] = 'Max. počet FTP uživatelů';
$wb["default_dnsserver_txt"] = 'Výchozí DNS server';
$wb["limit_dns_zone_txt"] = 'Max. počet DNS zón';
$wb["limit_dns_slave_zone_txt"] = 'Max. number of secondary DNS zones';
$wb["limit_dns_record_txt"] = 'Max. počet DNS záznamů';
$wb["limit_shell_user_txt"] = 'Max. počet shell uživatelů';
$wb["limit_client_txt"] = 'Max. počet klient';
......@@ -76,7 +77,8 @@ $wb["limit_web_subdomain_error_notint"] = 'Limit webových subdomén musí být
$wb["limit_ftp_user_error_notint"] = 'Limit FTP uživatelů musí být číslo.';
$wb["limit_shell_user_error_notint"] = 'Limit shell uživatelů musí být číslo.';
$wb["limit_dns_zone_error_notint"] = 'Limit DNS zón musí být číslo.';
$wb["limit_dns_zone_error_notint"] = 'Limit DNS záznamů musí být číslo.';
$wb['limit_dns_slave_zone_error_notint'] = 'The dns slave zone limit must be a number.';
$wb["limit_dns_zone_record_notint"] = 'Limit DNS záznamů musí být číslo.';
$wb["limit_client_error_notint"] = 'Limit sub klientů musí být číslo.';
$wb["default_dbserver_txt"] = 'Výchozí databázový server';
$wb["limit_database_txt"] = 'Max. počet databází';
......
......@@ -53,6 +53,7 @@ $wb['limit_web_subdomain_txt'] = 'Max. Anzahl an Websubdomains';
$wb['limit_ftp_user_txt'] = 'Max. Anzahl an FTP Benutzer';
$wb['default_dnsserver_txt'] = 'Standard DNS Server';
$wb['limit_dns_zone_txt'] = 'Max. Anzahl an DNS Zonen';
$wb['limit_dns_slave_zone_txt'] = 'Max. number of secondary DNS zones';
$wb['limit_dns_record_txt'] = 'Max. Anzahl an DNS Einträge';
$wb['limit_shell_user_txt'] = 'Max. Anzahl an Shell Benutzer';
$wb['limit_webdav_user_txt'] = 'Max. Anzahl an Webdav Benutzer';
......@@ -77,6 +78,8 @@ $wb['limit_ftp_user_error_notint'] = 'Das FTP Benutzer Limit muss eine Nummer s
$wb['limit_shell_user_error_notint'] = 'Das Shell Benutzer Limit muss eine Nummer sein.';
$wb['limit_webdav_user_error_notint'] = 'Das Webdav Benutzer Limit muss eine Nummer sein.';
$wb['limit_dns_zone_error_notint'] = 'Das DNS Einträge Limit muss eine Nummer sein.';
$wb['limit_dns_slave_zone_error_notint'] = 'The dns slave zone limit must be a number.';
$wb['limit_dns_record_error_notint'] = 'The dns record limit must be a number.';
$wb['default_dbserver_txt'] = 'Standarddatenbankserver';
$wb['limit_database_error_notint'] = 'Das Datenbank Limit muss eine Nummer sein.';
$wb['limit_cron_error_notint'] = 'Das Cron Job Limit muss eine Nummer sein.';
......
......@@ -25,6 +25,7 @@ $wb['limit_web_aliasdomain_txt'] = 'Max. Anzahl an Web Aliasdomains';
$wb['limit_web_subdomain_txt'] = 'Max. Anzahl an Web Subdomains';
$wb['limit_ftp_user_txt'] = 'Max. Anzahl an FTP Benutzer';
$wb['limit_dns_zone_txt'] = 'Max. Anzahl an DNS Zonen';
$wb['limit_dns_slave_zone_txt'] = 'Max. number of secondary DNS zones';
$wb['limit_dns_record_txt'] = 'Max. Anzahl an DNS Einträgen';
$wb['limit_shell_user_txt'] = 'Max. Anzahl an Shell Benutzer';
$wb['limit_webdav_user_txt'] = 'Max. Anzahl an Webdav Benutzer';
......@@ -47,6 +48,8 @@ $wb['limit_ftp_user_error_notint'] = 'Das FTP Benutzer Limit muss eine Nummer s
$wb['limit_shell_user_error_notint'] = 'Das Shell Benutzer Limit muss eine Nummer sein.';
$wb['limit_webdav_user_error_notint'] = 'Das Webdav Benutzer Limit muss eine Nummer sein.';
$wb['limit_dns_zone_error_notint'] = 'Das DNS Einträge Limit muss eine Nummer sein.';
$wb['limit_dns_slave_zone_error_notint'] = 'The dns slave zone limit must be a number.';
$wb['limit_dns_record_error_notint'] = 'The dns record limit must be a number.';
$wb['limit_database_error_notint'] = 'Das Datenbanken Limit muss eine Nummer sein.';
$wb['limit_cron_error_notint'] = 'Das Cron Job Limit muss eine Nummer sein.';
$wb['limit_cron_error_frequency'] = 'Das Cron Job Intervall-Limit muss eine Nummer sein.';
......
......@@ -53,6 +53,7 @@ $wb['limit_web_subdomain_txt'] = 'Max. Anzahl an Websubdomains';
$wb['limit_ftp_user_txt'] = 'Max. Anzahl an FTP Benutzer';
$wb['default_dnsserver_txt'] = 'Standard DNS Server';
$wb['limit_dns_zone_txt'] = 'Max. Anzahl an DNS Zonen';
$wb['limit_dns_slave_zone_txt'] = 'Max. Anzahl an sekundären DNS Zonen';
$wb['limit_dns_record_txt'] = 'Max. Anzahl an DNS Einträge';
$wb['limit_shell_user_txt'] = 'Max. Anzahl an Shell Benutzer';
$wb['limit_client_txt'] = 'Max. Anzahl an Kunden';
......@@ -75,7 +76,9 @@ $wb['limit_web_aliasdomain_error_notint'] = 'Das Webseite Aliasdomain Limit muss
$wb['limit_web_subdomain_error_notint'] = 'Das Webseite Subdomain Limit muss eine Nummer sein.';
$wb['limit_ftp_user_error_notint'] = 'Das FTP Benutzer Limit muss eine Nummer sein.';
$wb['limit_shell_user_error_notint'] = 'Das Shell Benutzer Limit muss eine Nummer sein.';
$wb['limit_dns_zone_error_notint'] = 'Das DNS Einträge Limit muss eine Nummer sein.';
$wb['limit_dns_zone_error_notint'] = 'Das DNS Zonen Limit muss eine Nummer sein.';
$wb['limit_dns_slave_zone_error_notint'] = 'Das sekundär DNS Einträge Limit muss eine Nummer sein.';
$wb['limit_dns_record_error_notint'] = 'Das DNS Einträge Limit muss eine Nummer sein.';
$wb['default_dbserver_txt'] = 'Standarddatenbankserver';
$wb['limit_database_error_notint'] = 'Das Datenbank Limit muss eine Nummer sein.';
$wb['limit_cron_error_notint'] = 'Das Cron Job Limit muss eine Zahl sein.';
......@@ -91,4 +94,3 @@ $wb['limit_web_quota_txt'] = 'Web Quota';
$wb['limit_traffic_quota_txt'] = 'Traffic Quota';
$wb['limit_trafficquota_error_notint'] = 'Traffic Quota muss eine Zahl sein.';
?>
......@@ -54,6 +54,7 @@ $wb["limit_web_subdomain_txt"] = 'Max. number of web subdomains';