pax_global_header 0000666 0000000 0000000 00000000064 13405765373 0014527 g ustar 00root root 0000000 0000000 52 comment=110adbda94563b1e8595c0e8abcd198212938c1d
ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/ 0000775 0000000 0000000 00000000000 13405765373 0024060 5 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/ 0000775 0000000 0000000 00000000000 13405765373 0026020 5 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/ 0000775 0000000 0000000 00000000000 13405765373 0026575 5 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/ 0000775 0000000 0000000 00000000000 13405765373 0027361 5 ustar 00root root 0000000 0000000 ajax_get_json.php 0000664 0000000 0000000 00000004633 13405765373 0032634 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns auth->check_module_permissions('dns');
$type = $_GET["type"];
$ca_id = $_GET['ca_id'];
if($type == 'get_ipv4'){
$result = array();
// ipv4
$result[] = $app->functions->suggest_ips('IPv4');
$json = $app->functions->json_encode($result);
}
if($type == 'get_ipv6'){
$result = array();
// ipv6
$result[] = $app->functions->suggest_ips('IPv6');
$json = $app->functions->json_encode($result);
}
if($type == 'ca_wildcard'){
$json = '{';
$json .= '"ca_wildcard":"';
$tmp = $app->db->queryOneRecord("SELECT ca_wildcard, ca_issue, ca_critical FROM dns_ssl_ca WHERE id = ?", $ca_id);
$json .= $tmp['ca_wildcard'].'"';
$json .= ',"ca_issue":"'.$tmp['ca_issue'].'"';
$json .= ',"ca_critical":"'.$tmp['ca_critical'].'"';
unset($tmp);
$json .= '}';
}
header('Content-type: application/json');
echo $json;
?>
dns_a_edit.php 0000664 0000000 0000000 00000005017 13405765373 0032107 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns db->queryOneRecord("SELECT count(id) as number FROM dns_rr WHERE (type = 'A' AND name = ? AND zone = ? and data = ? and id != ?) OR (type = 'CNAME' AND name = ? AND zone = ? and id != ?)", $this->dataRecord["name"], $this->dataRecord["zone"], $this->dataRecord["data"], $this->id, $this->dataRecord["name"], $this->dataRecord["zone"], $this->id);
if($tmp['number'] > 0) return true;
return false;
}
}
$page = new page_action;
$page->onLoad();
?>
dns_a_list.php 0000664 0000000 0000000 00000001067 13405765373 0032136 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns auth->check_module_permissions('dns');
$app->uses('listform_actions');
$app->listform_actions->SQLExtWhere = "dns_rr.type = 'A'";
$app->listform_actions->onLoad();
?>
dns_aaaa_edit.php 0000664 0000000 0000000 00000003773 13405765373 0032561 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns onLoad();
?>
dns_alias_edit.php 0000664 0000000 0000000 00000003774 13405765373 0032770 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns onLoad();
?>
dns_bulk_editor.php 0000664 0000000 0000000 00000024141 13405765373 0033164 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns auth->check_module_permissions('dns');
// Loading the template
$app->uses('tpl,tfrom_base,validate_dns,functions');
$app->tpl->newTemplate("form.tpl.htm");
include 'lib/lang/'.$_SESSION['s']['language'].'_dns_bulk_editor.lng';
$app->tpl->setVar($wb);
// Load clients (if admin):
if ($app->auth->is_admin()) {
$clients = $app->db->queryAllRecords("SELECT sys_group.groupid,CONCAT(IF(client.company_name != '', CONCAT(client.company_name, ' :: '), ''), IF(client.contact_firstname != '', CONCAT(client.contact_firstname, ' '), ''), client.contact_name, ' (', client.username, IF(client.customer_no != '', CONCAT(', ', client.customer_no), ''), ')') as name FROM sys_group, client WHERE sys_group.groupid != 1 AND sys_group.client_id = client.client_id ORDER BY client.company_name, client.contact_name");
$clients_select_options = '';
foreach($clients as $client) {
$selected = (intval($_POST["client_group_id"]) == $client['groupid'])?'SELECTED':'';
$clients_select_options .= "\r\n";
}
$app->tpl->setVar('clients_select_options', $clients_select_options);
}
// Load zones:
if ($app->auth->is_admin()) {
if (isset($_POST["client_group_id"])) {
$client_group_ids = intval($_POST["client_group_id"]);
}
} else {
$client_group_ids = $_SESSION['s']['user']['groups'];
}
if(isset($client_group_ids)) {
$sql = 'SELECT id, origin FROM dns_soa WHERE sys_groupid IN ('.$client_group_ids.') AND '.$app->tform_base->getAuthSQL('u');
$zones = $app->db->queryAllRecords($sql);
$zones_rows = array(); // All zones (for output)
foreach ($zones as $zone) {
$zones_rows[] = array(
'zone_id'=>$zone['id'],
'zone_name'=>$zone['origin'],
'zone_selected'=>isset($_POST['zone_'.$zone['id']]),
);
}
$app->tpl->setLoop('zones_rows', $zones_rows);
$app->tpl->setVar('zones_rows_count', count($zones_rows));
$update_zones = array(); // Currently selected zones in form (if any)
foreach ($zones as $zone) {
if (isset($_POST['zone_'.$zone['id']])) {
$update_zones[$zone['id']] = $zone['origin'];
}
}
} else {
$app->tpl->setVar('zones_rows_count', 0);
}
if (isset($_GET['submitted'])) {
validate_and_update($update_zones);
}
$app->tpl_defaults();
if (isset($result)) {
$app->tpl->setVar('result', $result);
$app->tpl->setInclude('content_tpl', 'templates/dns_bulk_editor_result.htm');
} else {
$app->tpl->setInclude('content_tpl', 'templates/dns_bulk_editor.htm');
}
$app->tpl->pparse();
function validate_and_update($update_zones) {
global $app, $wb, $client_group_ids, $result;
// Validate:
if ($client_group_ids == 0) {
$app->tpl->setVar('error', $wb['error_no_client_txt']);
return;
}
if (!isset($_POST['action'])) {
$app->tpl->setVar('error', $wb['error_no_action_txt']);
return;
}
switch ($_POST['action']) {
case 'a_records':
$app->tpl->setVar('action_a_records', true);
$app->tpl->setVar('a_records_search', htmlspecialchars($_POST['a_records_search']));
$app->tpl->setVar('a_records_replace', htmlspecialchars($_POST['a_records_replace']));
if (!validate_ips($_POST['a_records_search'], $_POST['a_records_replace'])) {
// Error message is set in validate_ips
return;
}
break;
case 'mx_records':
$app->tpl->setVar('action_mx_records', true);
$app->tpl->setVar('mx_records_search', htmlspecialchars($_POST['mx_records_search']));
$app->tpl->setVar('mx_records_replace', htmlspecialchars($_POST['mx_records_replace']));
if (!validate_zone($_POST['mx_records_search']) || !validate_zone($_POST['mx_records_replace'])) {
$app->tpl->setVar('error', $wb['error_invalid_dns_zone_txt']);
return;
}
break;
case 'ttl':
$app->tpl->setVar('action_ttl', true);
$app->tpl->setVar('ttl', htmlspecialchars($_POST['ttl']));
if (trim($_POST['ttl']) == '' || !is_numeric($_POST['ttl']) || intval($_POST['ttl']) < 60) {
$app->tpl->setVar('error', $wb['error_no_ttl_txt']);
return;
}
break;
}
if (!(isset($update_zones) && count($update_zones) > 0)) {
$app->tpl->setVar('error', $wb['error_no_zone_txt']);
return;
}
foreach ($update_zones as $id=>$origin) {
$sql = 'SELECT id FROM dns_soa WHERE id = ? AND '.$app->tform_base->getAuthSQL('u');
if (!is_array($app->db->queryOneRecord($sql, $id))) {
$app->tpl->setVar('error', $wb['error_invalid_zone_txt']);
return;
}
}
// Update:
switch ($_POST['action']) {
case 'a_records':
$result = '
'.$wb['a_records_txt'].'
';
foreach ($update_zones as $id=>$origin) {
$result .= "
".$wb['zone_txt']." $origin
";
$records = $app->db->queryAllRecords('SELECT id, type, name FROM dns_rr WHERE zone = ? AND data = ? AND type IN (\'A\', \'AAAA\') ORDER BY 2,3', $id, $_POST['a_records_search']);
if (count($records) == 0) {
// Zone has no records or no matching records
$result .= $wb['no_matches_txt'];
continue;
}
$result .= "
";
if (count($records) > 0) {
soa_increase_serial($id);
}
}
break;
case 'mx_records':
$result = '
'.$wb['mx_records_txt'].'
';
foreach ($update_zones as $id=>$origin) {
$result .= "
".$wb['zone_txt']." $origin
";
$search_zone = normalize_zone($_POST['mx_records_search']);
$replace_zone = normalize_zone($_POST['mx_records_replace']);
$records = $app->db->queryAllRecords('SELECT id, type, name FROM dns_rr WHERE zone = ? AND data = ? AND type = \'MX\' ORDER BY 2,3', $id, $search_zone);
if (count($records) == 0) {
// Zone has no records or no matching records
echo 'No matches';
$result .= $wb['no_matches_txt'];
continue;
}
$result .= "
";
$records = $app->db->queryAllRecords('SELECT id, type, name FROM dns_rr WHERE zone = ? AND type IN (\'A\', \'AAAA\', \'MX\') ORDER BY 2,3', $id);
if (count($records) == 0) {
// Zone has no records?
$result .= $wb['no_matches_txt'];
continue;
}
$result .= "
";
if (count($records) > 0) {
soa_increase_serial($id);
}
}
break;
}
}
function validate_ips($search, $replace) {
global $app, $wb;
if (trim($search) == '' || trim($replace) == '') {
$app->tpl->setVar('error', $wb['error_no_search_replace_txt']);
return false;
}
$search_ip_type = get_ip_type($search);
$replace_ip_type = get_ip_type($replace);
if ($search_ip_type == 'none' || $replace_ip_type == 'none') {
$app->tpl->setVar('error', $wb['error_invalid_ip_txt']);
return false;
}
if ($search_ip_type != $replace_ip_type) {
$app->tpl->setVar('error', $wb['error_ip_type_mismatch_txt']);
return false;
}
return true;
}
function get_ip_type($s) {
if (filter_var($s, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4) !== false) return 'IPv4';
if (filter_var($s, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6) !== false) return 'IPv6';
return 'none';
}
function validate_zone($zone) {
$s = normalize_zone($zone);
$result = preg_match('/^[a-z0-9\.\-\*]{1,255}$/', $s) === 1;
return $result;
}
function normalize_zone($zone) {
global $app;
$s = trim($zone);
$s = strtolower($s);
$s = $app->functions->idn_encode($s);
return $s;
}
function soa_increase_serial($id) {
global $app;
$soa = $app->db->queryOneRecord('SELECT serial FROM dns_soa WHERE id = ?', $id);
$serial = $app->validate_dns->increase_serial($soa['serial']);
$app->db->datalogUpdate('dns_soa', "serial=$serial", 'id', $id);
}
?>
dns_caa_edit.php 0000664 0000000 0000000 00000022216 13405765373 0032413 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns auth->check_module_permissions('dns');
// Loading classes
$app->uses('tpl,tform,tform_actions,validate_dns');
$app->load('tform_actions');
class page_action extends tform_actions {
function onShowNew() {
global $app;
// we will check only users, not admins
if($_SESSION['s']['user']['typ'] == 'user') {
// Get the limits of the client
$client_group_id = intval($_SESSION['s']['user']['default_group']);
$client = $app->db->queryOneRecord("SELECT limit_dns_record FROM sys_group, client WHERE sys_group.client_id = client.client_id and sys_group.groupid = ?", $client_group_id);
// Check if the user may add another record.
if($client['limit_dns_record'] >= 0) {
$tmp = $app->db->queryOneRecord("SELECT count(id) as number FROM dns_rr WHERE sys_groupid = ?", $client_group_id);
if($tmp['number'] >= $client['limit_dns_record']) {
$app->error($app->tform->wordbook['limit_dns_record_txt']);
}
}
}
parent::onShowNew();
}
function onShowEnd() {
global $app;
$zone = @(!isset($this->dataRecord['zone']))?$app->functions->intval($_GET['zone']):$this->dataRecord['zone'];
// get domain-name
$sql = "SELECT * FROM dns_soa WHERE id = ? AND " . $app->tform->getAuthSQL('r');
$soa = $app->db->queryOneRecord($sql, $zone);
$domain_name = rtrim($soa['origin'], '.');
$app->tpl->setVar('name', $domain_name);
if($this->id > 0) {
$temp = $this->dataRecord['name'];
$temp = str_replace($soa['origin'], '', $this->dataRecord['name']);
$temp = trim($temp,'.');
if(trim($temp != '')) $app->tpl->setVar('additional', $temp);
unset($temp);
}
//create ca-list
$rec = $app->db->QueryAllRecords("SELECT * FROM dns_ssl_ca WHERE active = 'Y' AND ca_issue != '' ORDER by ca_name ASC");
$ca_select = "";
if(count($rec) > 0) {
foreach($rec as $ca) {
if(strpos($this->dataRecord['data'], $ca['ca_issue']) !== FALSE) $selected = ' selected'; else $selected='';
$ca_select .= "\r\n";
}
}
$app->tpl->setVar('ca_list', $ca_select);
$app->tpl->setVar('type', 'CAA');
if($this->id > 0) {
if(stristr($this->dataRecord['data'], 'issuewild') !== FALSE) $app->tpl->setVar('allow_wildcard', 'CHECKED'); else $app->tpl->setVar('allow_wildcard', 'UNCHECKED');
if(strpos($this->dataRecord['data'], '128') === 0) $app->tpl->setVar('allow_critical', 'CHECKED'); else $app->tpl->setVar('allow_critical', 'UNCHECKED');
$app->tpl->setVar('edit_disabled', 1);
} else {
$app->tpl->setVar('ttl', $soa['ttl']);
}
parent::onShowEnd();
}
function onSubmit() {
global $app;
// Check the client limits, if user is not the admin
if($_SESSION['s']['user']['typ'] != 'admin') { // if user is not admin
// Get the limits of the client
$client_group_id = intval($_SESSION['s']['user']['default_group']);
$client = $app->db->queryOneRecord("SELECT limit_dns_record FROM sys_group, client WHERE sys_group.client_id = client.client_id and sys_group.groupid = ?", $client_group_id);
// Check if the user may add another record.
if($this->id == 0 && $client['limit_dns_record'] >= 0) {
$tmp = $app->db->queryOneRecord("SELECT count(id) as number FROM dns_rr WHERE sys_groupid = ?", $client_group_id);
if($tmp['number'] >= $client['limit_dns_record']) {
$app->error($app->tform->wordbook['limit_dns_record_txt']);
}
}
} // end if user is not admin
// Check CA
if($this->dataRecord['ca_issue'] == '') $this->error('ca_error_txt');
// Get the parent soa record of the domain
$soa = $app->db->queryOneRecord("SELECT * FROM dns_soa WHERE id = ? AND " . $app->tform->getAuthSQL('r'), $_POST['zone']);
$this->dataRecord['name'] = $soa['origin'];
// Check if Domain belongs to user
if($soa['id'] != $_POST['zone']) $this->error('no_zone_perm');
// Set the server ID of the rr record to the same server ID as the parent record.
$this->dataRecord['server_id'] = $soa['server_id'];
// Set issue
$critical = 0; //* To use critical > 0, uncommented "
" in the template
if(isset($this->dataRecord['allow_critical']) && $this->dataRecord['allow_critical'] == 'on' && isset($this->dataRecord['ca_critical']) && $this->dataRecord['ca_critical'] == 1) $critical = 128;
if(isset($this->dataRecord['allow_wildcard']) && $this->dataRecord['allow_wildcard'] == "on") {
$this->dataRecord['data'] = $critical.' issuewild "'.$this->dataRecord['ca_issue'];
} else {
$this->dataRecord['data'] = $critical.' issue "'.$this->dataRecord['ca_issue'];
}
unset($critical);
if(isset($this->dataRecord['options']) && $this->dataRecord['options'] != '') {
$options=explode(',', $this->dataRecord['options']);
foreach($options as $option) {
if(trim($option) != '') {
if(preg_match('/^(\w+|d\+)=(\w+|d\+)/', $option)) {
$this->dataRecord['data'] = $this->dataRecord['data'] . '; '.$option;
} else {
$this->error('ca_option_error');
}
}
}
}
$this->dataRecord['data'] = $this->dataRecord['data'].'"';
// Set name
if($this->dataRecord['additional'] != '') {
$temp = explode(',', $this->dataRecord['additional'])[0]; // if we have more hostnames the interface-plugin will be used
$temp = trim($temp,'.');
if(trim($temp != '')) $this->dataRecord['name'] = $temp.'.'.$this->dataRecord['name'];
unset($temp);
}
// Check for duplicate
$temp = $app->db->queryOneRecord("SELECT * FROM dns_rr WHERE type = 'CAA' AND name = ? AND data = ? AND active = ?", $this->dataRecord['name'], $this->dataRecord['data'], $POST['active']);
if(is_array($temp)) $this->error('caa_exists_error');
unset($temp);
// Update the serial number and timestamp of the RR record
$dns_rr = $app->db->queryOneRecord("SELECT serial FROM dns_rr WHERE id = ?", $this->id);
$this->dataRecord['serial'] = $app->validate_dns->increase_serial($dns_rr['serial']);
$this->dataRecord['stamp'] = date('Y-m-d H:i:s');
parent::onSubmit();
}
function onAfterInsert() {
global $app;
//* Set the sys_groupid of the rr record to be the same then the sys_groupid of the soa record
$soa = $app->db->queryOneRecord("SELECT sys_groupid,serial FROM dns_soa WHERE id = ? AND " . $app->tform->getAuthSQL('r'), $this->dataRecord['zone']);
$app->db->datalogUpdate('dns_rr', array('sys_groupid' => $soa['sys_groupid']), 'id', $this->id);
//* Update the serial number of the SOA record
$soa_id = $app->functions->intval($_POST["zone"]);
$serial = $app->validate_dns->increase_serial($soa['serial']);
$app->db->datalogUpdate('dns_soa', array('serial' => $serial), 'id', $soa_id);
}
function onAfterUpdate() {
global $app;
//* Update the serial number of the SOA record
$soa = $app->db->queryOneRecord("SELECT serial FROM dns_soa WHERE id = ? AND " . $app->tform->getAuthSQL('r'), $this->dataRecord['zone']);
$soa_id = $app->functions->intval($_POST['zone']);
$serial = $app->validate_dns->increase_serial($soa['serial']);
$app->db->datalogUpdate('dns_soa', array('serial' => $serial), 'id', $soa_id);
}
private function error($errmsg) {
global $app;
if (isset($app->tform->errorMessage)) $app->tform->errorMessage = ' ' . $app->tform->errorMessage;
$app->tform->errorMessage .= $app->tform->wordbook[$errmsg];
}
}
$page = new page_action;
$page->onLoad();
?>
dns_cname_edit.php 0000664 0000000 0000000 00000004754 13405765373 0032761 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns db->queryOneRecord("SELECT count(id) as number FROM dns_rr WHERE (type = 'A' AND name = ? AND zone = ? and id != ?) OR (type = 'CNAME' AND name = ? AND zone = ? and id != ?)", $this->dataRecord["name"], $this->dataRecord["zone"], $this->id, $this->dataRecord["name"], $this->dataRecord["zone"], $this->id);
if($tmp['number'] > 0) return true;
return false;
}
}
$page = new page_action;
$page->onLoad();
?>
dns_dkim_edit.php 0000664 0000000 0000000 00000017160 13405765373 0032615 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns auth->check_module_permissions('dns');
// Loading classes
$app->uses('tpl,tform,tform_actions,validate_dns');
$app->load('tform_actions');
class page_action extends tform_actions {
function onShowNew() {
global $app, $conf;
// we will check only users, not admins
if($_SESSION["s"]["user"]["typ"] == 'user') {
// Get the limits of the client
$client_group_id = $app->functions->intval($_SESSION["s"]["user"]["default_group"]);
$client = $app->db->queryOneRecord("SELECT limit_dns_record FROM sys_group, client WHERE sys_group.client_id = client.client_id and sys_group.groupid = ?", $client_group_id);
// Check if the user may add another record.
if($client["limit_dns_record"] >= 0) {
$tmp = $app->db->queryOneRecord("SELECT count(id) as number FROM dns_rr WHERE sys_groupid = ?", $client_group_id);
if($tmp["number"] >= $client["limit_dns_record"]) {
$app->error($app->tform->wordbook["limit_dns_record_txt"]);
}
}
}
parent::onShowNew();
$soa = $app->db->queryOneRecord("SELECT * FROM dns_soa WHERE id = ? AND " . $app->tform->getAuthSQL('r'), $_GET['zone']);
$sql=$app->db->queryOneRecord("SELECT domain, dkim_public, dkim_selector, dkim FROM mail_domain WHERE domain = ? AND " . $app->tform->getAuthSQL('r'), substr_replace($soa['origin'],'',-1));
if(isset($sql['domain']) && $sql['domain'] != '') {
if($sql['dkim'] == 'y') {
$public_key=str_replace(array('-----BEGIN PUBLIC KEY-----','-----END PUBLIC KEY-----',"\r","\n"),'',$sql['dkim_public']);
$app->tpl->setVar('public_key', $public_key, true);
$app->tpl->setVar('selector', $sql['dkim_selector'], true);
} else {
//TODO: show warning - use mail_domain for dkim and enabled dkim
}
$app->tpl->setVar('edit_disabled', 1);
} else {
$app->tpl->setVar('edit_disabled', 0);
}
$app->tpl->setVar('name', $soa['origin'], true);
}
function onSubmit() {
global $app, $conf;
// Get the parent soa record of the domain
$soa = $app->db->queryOneRecord("SELECT * FROM dns_soa WHERE id = ? AND " . $app->tform->getAuthSQL('r'), $_POST["zone"]);
// Check if Domain belongs to user
if($soa["id"] != $_POST["zone"]) $app->tform->errorMessage .= $app->tform->wordbook["no_zone_perm"];
// Check the client limits, if user is not the admin
if($_SESSION["s"]["user"]["typ"] != 'admin') { // if user is not admin
// Get the limits of the client
$client_group_id = $app->functions->intval($_SESSION["s"]["user"]["default_group"]);
$client = $app->db->queryOneRecord("SELECT limit_dns_record FROM sys_group, client WHERE sys_group.client_id = client.client_id and sys_group.groupid = ?", $client_group_id);
// Check if the user may add another record.
if($this->id == 0 && $client["limit_dns_record"] >= 0) {
$tmp = $app->db->queryOneRecord("SELECT count(id) as number FROM dns_rr WHERE sys_groupid = ?", $client_group_id);
if($tmp["number"] >= $client["limit_dns_record"]) {
$app->error($app->tform->wordbook["limit_dns_record_txt"]);
}
}
} // end if user is not admin
// Set the server ID of the rr record to the same server ID as the parent record.
$this->dataRecord["server_id"] = $soa["server_id"];
// add dkim-settings to the public-key in the txt-record
if (!empty($this->dataRecord['data'])) {
$this->dataRecord['data']='v=DKIM1; t=s; p='.$this->dataRecord['data'];
$this->dataRecord['name']=$this->dataRecord['selector'].'._domainkey.'.$this->dataRecord['name'];
// $this->dataRecord['ttl']=60;
}
// Update the serial number and timestamp of the RR record
$soa = $app->db->queryOneRecord("SELECT serial FROM dns_rr WHERE id = ?", $this->id);
$this->dataRecord["serial"] = $app->validate_dns->increase_serial($soa["serial"]);
$this->dataRecord["stamp"] = date('Y-m-d H:i:s');
// check for duplicate entry
$check=$app->db->queryOneRecord("SELECT * FROM dns_rr WHERE zone = ? AND type = ? AND data = ? AND name = ?", $this->dataRecord["zone"], $this->dataRecord["type"], $this->dataRecord["data"], $this->dataRecord['name']);
if ($check!='') $app->tform->errorMessage .= $app->tform->wordbook["record_exists_txt"];
if (empty($this->dataRecord['data'])) $app->tform->errorMessage /= $app->tform->wordbook["dkim_disabled_txt"];
// validate selector and public-key
if (empty($this->dataRecord['selector'])) $app->tform->errorMessage .= ' '.$app->tform->wordbook["dkim_selector_empty_txt"].' ';
$this->dataRecord['data']=str_replace(array('-----BEGIN PUBLIC KEY-----','-----END PUBLIC KEY-----',"\r","\n"),'',$this->dataRecord['data']); // if the users entered his own key
parent::onSubmit();
}
function onAfterInsert() {
global $app, $conf;
//* Set the sys_groupid of the rr record to be the same then the sys_groupid of the soa record
$soa = $app->db->queryOneRecord("SELECT sys_groupid,serial FROM dns_soa WHERE id = ? AND " . $app->tform->getAuthSQL('r'), $this->dataRecord["zone"]);
$app->db->datalogUpdate('dns_rr', array("sys_groupid" => $soa['sys_groupid']), 'id', $this->id);
//* Update the serial number of the SOA record
$soa_id = $app->functions->intval($_POST["zone"]);
$serial = $app->validate_dns->increase_serial($soa["serial"]);
$app->db->datalogUpdate('dns_soa', array("serial" => $serial), 'id', $soa_id);
}
function onAfterUpdate() {
global $app, $conf;
//* Update the serial number of the SOA record
$soa = $app->db->queryOneRecord("SELECT serial FROM dns_soa WHERE id = ? AND " . $app->tform->getAuthSQL('r'), $this->dataRecord["zone"]);
$soa_id = $app->functions->intval($_POST["zone"]);
$serial = $app->validate_dns->increase_serial($soa["serial"]);
$app->db->datalogUpdate('dns_soa', array("serial" => $serial), 'id', $soa_id);
}
}
$page = new page_action;
$page->onLoad();
?>
dns_dmarc_edit.php 0000664 0000000 0000000 00000036135 13405765373 0032762 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns auth->check_module_permissions('dns');
// Loading classes
$app->uses('tpl,tform,tform_actions,validate_dns');
$app->load('tform_actions');
class page_action extends tform_actions {
function onShowNew() {
global $app, $conf;
// we will check only users, not admins
if($_SESSION["s"]["user"]["typ"] == 'user') {
// Get the limits of the client
$client_group_id = intval($_SESSION["s"]["user"]["default_group"]);
$client = $app->db->queryOneRecord("SELECT limit_dns_record FROM sys_group, client WHERE sys_group.client_id = client.client_id and sys_group.groupid = ?", $client_group_id);
// Check if the user may add another mailbox.
if($client["limit_dns_record"] >= 0) {
$tmp = $app->db->queryOneRecord("SELECT count(id) as number FROM dns_rr WHERE sys_groupid = ?", $client_group_id);
if($tmp["number"] >= $client["limit_dns_record"]) {
$app->error($app->tform->wordbook["limit_dns_record_txt"]);
}
}
}
parent::onShowNew();
}
function onShowEnd() {
global $app, $conf;
$zone = $app->functions->intval($_GET['zone']);
// get domain-name
$sql = "SELECT * FROM dns_soa WHERE id = ? AND " . $app->tform->getAuthSQL('r');
$rec = $app->db->queryOneRecord($sql, $zone);
$domain_name = rtrim($rec['origin'], '.');
// set defaults
$dmarc_policy = 'none';
$dmarc_adkim = 'r';
$dmarc_aspf = 'r';
$dmarc_rf = 'afrf';
$dmarc_pct = 100;
$dmarc_ri = 86400;
$dmarc_sp = 'same';
//* check for an existing dmarc-record
$sql = "SELECT data, active FROM dns_rr WHERE data LIKE 'v=DMARC1%' AND zone = ? AND name = ? AND " . $app->tform->getAuthSQL('r');
$rec = $app->db->queryOneRecord($sql, $zone, '_dmarc.'.$domain_name.'.');
if ( isset($rec) && !empty($rec) ) {
$this->id = 1;
$old_data = strtolower($rec['data']);
$app->tpl->setVar("data", $old_data, true);
if ($rec['active'] == 'Y') $app->tpl->setVar("active", "CHECKED"); else $app->tpl->setVar("active", "UNCHECKED");
$dmarc_rua = '';
$dmarc_ruf = '';
$dmac_rf = '';
$dmac_rua = '';
$dmac_ruf = '';
// browse through data
$temp = explode('; ', $old_data);
foreach ($temp as $part) {
if (preg_match("/^p=/", $part)) $dmarc_policy = str_replace('p=', '', $part);
if (preg_match("/^rua=/", $part)) {
$dmarc_rua = str_replace(array('rua=','mailto:'), '', $part).' ';
$dmarc_rua = str_replace(',', ' ', $dmarc_rua);
}
if (preg_match("/^ruf=/", $part)) {
$dmarc_ruf = str_replace(array('ruf=','mailto:'), '', $part).' ';
$dmarc_ruf = str_replace(',', ' ', $dmarc_ruf);
}
if (preg_match("/^fo=/", $part)) $dmarc_fo = str_replace('fo=', '', $part);
if (preg_match("/^adkim=/", $part)) $dmarc_adkim = str_replace('adkim=', '', $part);
if (preg_match("/^aspf=/", $part)) $dmarc_aspf = str_replace('aspf=', '', $part);
if (preg_match("/^rf=/", $part)) $dmarc_rf = str_replace('rf=', '', $part);
if (preg_match("/^(afrf:iodef|iodef:afrf)$/s", $dmarc_rf)) $dmarc_rf = str_replace(':', ' ', $dmarc_rf);
if (preg_match("/^pct=/", $part)) $dmarc_pct = str_replace('pct=', '', $part);
if (preg_match("/^ri=/", $part)) $dmarc_ri = str_replace('ri=', '', $part);
}
}
//set html-values
$app->tpl->setVar('domain', $domain_name, true);
//create dmarc-policy-list
$dmarc_policy_value = array(
'none' => 'dmarc_policy_none_txt',
'quarantine' => 'dmarc_policy_quarantine_txt',
'reject' => 'dmarc_policy_reject_txt',
);
$dmarc_policy_list='';
foreach($dmarc_policy_value as $value => $txt) {
$selected = @($dmarc_policy == $value)?' selected':'';
$dmarc_policy_list .= "\r\n";
}
$app->tpl->setVar('dmarc_policy', $dmarc_policy_list);
if (!empty($dmarc_rua)) $app->tpl->setVar("dmarc_rua", $dmarc_rua, true);
if (!empty($dmarc_ruf)) $app->tpl->setVar("dmarc_ruf", $dmarc_ruf, true);
//set dmarc-fo-options
if (isset($dmarc_fo)) {
$temp = explode(':', $dmarc_fo);
foreach ($temp as $fo => $value) $app->tpl->setVar("dmarc_fo".$value, 'CHECKED');
} else
$app->tpl->setVar("dmarc_fo0", 'CHECKED');
unset($temp);
//create dmarc-adkim-list
$dmarc_adkim_value = array(
'r' => 'dmarc_adkim_r_txt',
's' => 'dmarc_adkim_s_txt',
);
$dmarc_adkim_list='';
foreach($dmarc_adkim_value as $value => $txt) {
$selected = @($dmarc_adkim == $value)?' selected':'';
$dmarc_adkim_list .= "\r\n";
}
$app->tpl->setVar('dmarc_adkim', $dmarc_adkim_list);
//create dmarc-aspf-list
$dmarc_aspf_value = array(
'r' => 'dmarc_aspf_r_txt',
's' => 'dmarc_aspf_s_txt',
);
$dmarc_aspf_list='';
foreach($dmarc_aspf_value as $value => $txt) {
$selected = @($dmarc_aspf == $value)?' selected':'';
$dmarc_aspf_list .= "\r\n";
}
$app->tpl->setVar('dmarc_aspf', $dmarc_aspf_list);
if ( strpos($dmarc_rf, 'afrf') !== false ) $app->tpl->setVar("dmarc_rf_afrf", 'CHECKED');
if ( strpos($dmarc_rf, 'iodef') !== false ) $app->tpl->setVar("dmarc_rf_iodef", 'CHECKED');
$app->tpl->setVar("dmarc_pct", $dmarc_pct, true);
$app->tpl->setVar("dmarc_ri", $dmarc_ri, true);
//create dmarc-sp-list
$dmarc_sp_value = array(
'same' => 'dmarc_sp_same_txt',
'none' => 'dmarc_sp_none_txt',
'quarantine' => 'dmarc_sp_quarantine_txt',
'reject' => 'dmarc_sp_reject_txt',
);
$dmarc_sp_list='';
foreach($dmarc_sp_value as $value => $txt) {
$selected = @($dmarc_sp == $value)?' selected':'';
$dmarc_sp_list .= "\r\n";
}
$app->tpl->setVar('dmarc_sp', $dmarc_sp_list);
parent::onShowEnd();
}
function onSubmit() {
global $app, $conf;
// Get the parent soa record of the domain
$soa = $app->db->queryOneRecord("SELECT * FROM dns_soa WHERE id = ? AND " . $app->tform->getAuthSQL('r'), $_POST['zone']);
// Check if Domain belongs to user
if($soa["id"] != $_POST["zone"]) $app->tform->errorMessage .= $app->tform->wordbook["no_zone_perm"];
// Check the client limits, if user is not the admin
if($_SESSION["s"]["user"]["typ"] != 'admin') { // if user is not admin
// Get the limits of the client
$client_group_id = intval($_SESSION["s"]["user"]["default_group"]);
$client = $app->db->queryOneRecord("SELECT limit_dns_record FROM sys_group, client WHERE sys_group.client_id = client.client_id and sys_group.groupid = ?", $client_group_id);
// Check if the user may add another mailbox.
if($this->id == 0 && $client["limit_dns_record"] >= 0) {
$tmp = $app->db->queryOneRecord("SELECT count(id) as number FROM dns_rr WHERE sys_groupid = ?", $client_group_id);
if($tmp["number"] >= $client["limit_dns_record"]) {
$app->error($app->tform->wordbook["limit_dns_record_txt"]);
}
}
} // end if user is not admin
$domain_name = rtrim($soa['origin'], '.');
// DMARC requieres at least one active dkim-record...
$sql = "SELECT * FROM dns_rr WHERE name LIKE ? AND type='TXT' AND data like 'v=DKIM1;%' AND active='Y'";
$temp = $app->db->queryAllRecords($sql, '%._domainkey.'.$domain_name.'.');
if (empty($temp)) {
if (isset($app->tform->errorMessage )) $app->tform->errorMessage = ' ' . $app->tform->errorMessage;
$app->tform->errorMessage .= $app->tform->wordbook['dmarc_no_dkim_txt'].$email;
}
// ... and an active spf-record (this breaks the current draft but DMARC is useless if you use DKIM or SPF
$sql = "SELECT * FROM dns_rr WHERE name LIKE ? AND type='TXT' AND (data LIKE 'v=spf1%' AND active = 'y')";
$temp = $app->db->queryAllRecords($sql, $domain_name.'.');
// abort if more than 1 active spf-records (backward-compatibility)
if (is_array($temp[1])) {
if (isset($app->tform->errorMessage )) $app->tform->errorMessage = ' ' . $app->tform->errorMessage;
$app->tform->errorMessage .= $app->tform->wordbook['dmarc_more_spf_txt'];
}
if (empty($temp)) {
if (isset($app->tform->errorMessage )) $app->tform->errorMessage = ' ' . $app->tform->errorMessage;
$app->tform->errorMessage .= $app->tform->wordbook['dmarc_no_spf_txt'];
}
unset($temp);
//validate dmarc_pct
$this->dataRecord['dmarc_pct'] = $app->functions->intval($this->dataRecord['dmarc_pct']);
if ($this->dataRecord['dmarc_pct'] < 0) $this->dataRecord['dmarc_pct'] = 0;
if ($this->dataRecord['dmarc_pct'] > 100) $this->dataRecord['dmarc_pct'] = 100;
//create dmarc-record
$dmarc_record[] = 'p='.$this->dataRecord['dmarc_policy'];
if (!empty($this->dataRecord['dmarc_rua'])) {
$dmarc_rua = explode(' ', $this->dataRecord['dmarc_rua']);
$dmarc_rua = array_filter($dmarc_rua);
foreach ($dmarc_rua as $rec) {
if (!filter_var($rec, FILTER_VALIDATE_EMAIL)) {
if (isset($app->tform->errorMessage )) $app->tform->errorMessage = ' ' . $app->tform->errorMessage;
$app->tform->errorMessage .= $app->tform->wordbook['dmarc_invalid_email_txt'].': '.$dmarc_rua;
} else {
$temp .= 'mailto:'.$rec.',';
}
}
$dmarc_record[] = 'rua='.rtrim($temp, ',');
unset ($dmarc_rua);
unset($temp);
}
if (!empty($this->dataRecord['dmarc_ruf'])) {
$dmarc_ruf = explode(' ', $this->dataRecord['dmarc_ruf']);
$dmarc_ruf = array_filter($dmarc_ruf);
foreach ($dmarc_ruf as $rec) {
if (!filter_var($rec, FILTER_VALIDATE_EMAIL)) {
if (isset($app->tform->errorMessage )) $app->tform->errorMessage = ' ' . $app->tform->errorMessage;
$app->tform->errorMessage .= $app->tform->wordbook['dmarc_invalid_email_txt'].': '.$dmarc_rua;
} else {
$temp .= 'mailto:'.$rec.',';
}
}
$dmarc_record[] = 'ruf='.rtrim($temp, ',');
unset ($dmarc_ruf);
unset($temp);
}
$fo_rec = array();
if (isset($this->dataRecord['dmarc_fo0'])) $fo_rec[] = '0';
if (isset($this->dataRecord['dmarc_fo1'])) $fo_rec[] = '1';
if (isset($this->dataRecord['dmarc_fod'])) $fo_rec[] = 'd';
if (isset($this->dataRecord['dmarc_fos'])) $fo_rec[] = 's';
if (is_array($fo_rec) && !empty($fo_rec)) {
$rec = 'fo='.implode(':', $fo_rec);
if ($rec != 'fo=0') $dmarc_record[] = 'fo='.implode(':', $fo_rec);
unset($rec);
}
if ($this->dataRecord['dmarc_adkim'] != 'r' )
$dmarc_record[] = 'adkim='.$this->dataRecord['dmarc_adkim'];
if ($this->dataRecord['dmarc_aspf'] != 'r' )
$dmarc_record[] = 'aspf='.$this->dataRecord['dmarc_aspf'];
if (isset($this->dataRecord['dmarc_rf_afrf']) && isset($this->dataRecord['dmarc_rf_iodef']))
$dmarc_record[] = 'rf=afrf:iodef';
else {
if (isset($this->dataRecord['dmarc_rf_iodef']))
$dmarc_record[] = 'rf=iodef';
}
unset($fo_rec);
if (!empty($this->dataRecord['dmarc_pct']) && $this->dataRecord['dmarc_pct'] != 100)
$dmarc_record[] = 'pct='.$this->dataRecord['dmarc_pct'];
if (!empty($this->dataRecord['dmarc_ri']) && $this->dataRecord['dmarc_ri'] != '86400')
$dmarc_record[] = 'ri='.$this->dataRecord['dmarc_ri'];
if (!empty($this->dataRecord['dmarc_sp']) && $this->dataRecord['dmarc_sp'] != 'same')
$dmarc_record[] = 'sp='.$this->dataRecord['dmarc_sp'];
$temp = implode('; ', $dmarc_record);
if (!empty($temp))
$this->dataRecord['data'] = 'v=DMARC1; ' . $temp;
else $app->tform->errorMessage .= $app->tform->wordbook["dmarc_empty_txt"];
$this->dataRecord['name'] = '_dmarc.' . $soa['origin'];
if (isset($this->dataRecord['active'])) $this->dataRecord['active'] = 'Y';
// Set the server ID of the rr record to the same server ID as the parent record.
$this->dataRecord["server_id"] = $soa["server_id"];
// Update the serial number and timestamp of the RR record
$soa = $app->db->queryOneRecord("SELECT serial FROM dns_rr WHERE id = ?", $this->id);
$this->dataRecord["serial"] = $app->validate_dns->increase_serial($soa["serial"]);
$this->dataRecord["stamp"] = date('Y-m-d H:i:s');
// always update an existing entry
$check=$app->db->queryOneRecord("SELECT * FROM dns_rr WHERE zone = ? AND type = ? AND data LIKE 'v=DMARC1%' AND name = ?", $this->dataRecord['zone'], $this->dataRecord['type'], $this->dataRecord['name']);
$this->id = $check['id'];
if (!isset($this->dataRecord['active'])) $this->dataRecord['active'] = 'N';
parent::onSubmit();
}
function onAfterInsert() {
global $app, $conf;
//* Set the sys_groupid of the rr record to be the same then the sys_groupid of the soa record
$soa = $app->db->queryOneRecord("SELECT sys_groupid,serial FROM dns_soa WHERE id = ? AND " . $app->tform->getAuthSQL('r'), $app->functions->intval($this->dataRecord["zone"]));
$app->db->datalogUpdate('dns_rr', array("sys_groupid" => $soa['sys_groupid']), 'id', $this->id);
//* Update the serial number of the SOA record
$soa_id = $app->functions->intval($_POST["zone"]);
$serial = $app->validate_dns->increase_serial($soa["serial"]);
$app->db->datalogUpdate('dns_soa', array("serial" => $serial), 'id', $soa_id);
}
function onAfterUpdate() {
global $app, $conf;
//* Update the serial number of the SOA record
$soa = $app->db->queryOneRecord("SELECT serial FROM dns_soa WHERE id = ? AND " . $app->tform->getAuthSQL('r'), $app->functions->intval($this->dataRecord["zone"]));
$soa_id = $app->functions->intval($_POST["zone"]);
$serial = $app->validate_dns->increase_serial($soa["serial"]);
$app->db->datalogUpdate('dns_soa', array("serial" => $serial), 'id', $soa_id);
}
}
$page = new page_action;
$page->onLoad();
?>
dns_ds_edit.php 0000664 0000000 0000000 00000003771 13405765373 0032302 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns onLoad();
?>
dns_edit_base.php 0000664 0000000 0000000 00000012606 13405765373 0032603 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns auth->check_module_permissions('dns');
// Loading classes
$app->uses('tpl,tform,tform_actions,validate_dns');
$app->load('tform_actions');
class dns_page_action extends tform_actions {
protected function checkDuplicate() {
return false;
}
function onShowNew() {
global $app, $conf;
// we will check only users, not admins
if($_SESSION["s"]["user"]["typ"] == 'user') {
// Get the limits of the client
$client_group_id = intval($_SESSION["s"]["user"]["default_group"]);
$client = $app->db->queryOneRecord("SELECT limit_dns_record FROM sys_group, client WHERE sys_group.client_id = client.client_id and sys_group.groupid = ?", $client_group_id);
// Check if the user may add another mailbox.
if($client["limit_dns_record"] >= 0) {
$tmp = $app->db->queryOneRecord("SELECT count(id) as number FROM dns_rr WHERE sys_groupid = ?", $client_group_id);
if($tmp["number"] >= $client["limit_dns_record"]) {
$app->error($app->tform->wordbook["limit_dns_record_txt"]);
}
}
}
parent::onShowNew();
}
function onSubmit() {
global $app, $conf;
// Get the parent soa record of the domain
$soa = $app->db->queryOneRecord("SELECT * FROM dns_soa WHERE id = ? AND " . $app->tform->getAuthSQL('r'), $_POST["zone"]);
// Check if Domain belongs to user
if($soa["id"] != $_POST["zone"]) $app->tform->errorMessage .= $app->tform->wordbook["no_zone_perm"];
// Check the client limits, if user is not the admin
if($_SESSION["s"]["user"]["typ"] != 'admin') { // if user is not admin
// Get the limits of the client
$client_group_id = intval($_SESSION["s"]["user"]["default_group"]);
$client = $app->db->queryOneRecord("SELECT limit_dns_record FROM sys_group, client WHERE sys_group.client_id = client.client_id and sys_group.groupid = ?", $client_group_id);
// Check if the user may add another mailbox.
if($this->id == 0 && $client["limit_dns_record"] >= 0) {
$tmp = $app->db->queryOneRecord("SELECT count(id) as number FROM dns_rr WHERE sys_groupid = ?", $client_group_id);
if($tmp["number"] >= $client["limit_dns_record"]) {
$app->error($app->tform->wordbook["limit_dns_record_txt"]);
}
}
} // end if user is not admin
if($this->checkDuplicate()) $app->tform->errorMessage .= $app->tform->lng("data_error_duplicate")." ";
// Set the server ID of the rr record to the same server ID as the parent record.
$this->dataRecord["server_id"] = $soa["server_id"];
// Update the serial number and timestamp of the RR record
$soa = $app->db->queryOneRecord("SELECT serial FROM dns_rr WHERE id = ?", $this->id);
$this->dataRecord["serial"] = $app->validate_dns->increase_serial($soa["serial"]);
$this->dataRecord["stamp"] = date('Y-m-d H:i:s');
parent::onSubmit();
}
function onAfterInsert() {
global $app, $conf;
//* Set the sys_groupid of the rr record to be the same then the sys_groupid of the soa record
$soa = $app->db->queryOneRecord("SELECT * FROM dns_soa WHERE id = ? AND " . $app->tform->getAuthSQL('r'), $this->dataRecord["zone"]);
$app->db->datalogUpdate('dns_rr', array("sys_groupid" => $soa['sys_groupid']), 'id', $this->id);
//* Update the serial number of the SOA record
$soa_id = $app->functions->intval($_POST["zone"]);
$serial = $app->validate_dns->increase_serial($soa["serial"]);
$app->db->datalogUpdate('dns_soa', array("serial" => $serial), 'id', $soa_id);
}
function onAfterUpdate() {
global $app, $conf;
//* Update the serial number of the SOA record
$soa = $app->db->queryOneRecord("SELECT * FROM dns_soa WHERE id = ? AND " . $app->tform->getAuthSQL('r'), $this->dataRecord["zone"]);
$soa_id = $app->functions->intval($_POST["zone"]);
$serial = $app->validate_dns->increase_serial($soa["serial"]);
$app->db->datalogUpdate('dns_soa', array("serial" => $serial), 'id', $soa_id);
}
}
?>
dns_hinfo_edit.php 0000664 0000000 0000000 00000003774 13405765373 0033002 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns onLoad();
?>
dns_import.php 0000664 0000000 0000000 00000060516 13405765373 0032201 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns auth->check_module_permissions('dns');
$msg = '';
$error = '';
// Loading the template
$app->uses('tform,tpl,validate_dns');
$app->tpl->newTemplate("form.tpl.htm");
$app->tpl->setInclude('content_tpl', 'templates/dns_import.htm');
$app->load_language_file('/web/dns/lib/lang/'.$_SESSION['s']['language'].'_dns_wizard.lng');
// Check if dns record limit has been reached. We will check only users, not admins
if($_SESSION["s"]["user"]["typ"] == 'user') {
$app->tform->formDef['db_table_idx'] = 'id';
$app->tform->formDef['db_table'] = 'dns_soa';
if(!$app->tform->checkClientLimit('limit_dns_zone')) {
$app->error($app->lng('limit_dns_zone_txt'));
}
if(!$app->tform->checkResellerLimit('limit_dns_zone')) {
$app->error('Reseller: '.$app->lng('limit_dns_zone_txt'));
}
}
// import variables
$template_id = (isset($_POST['template_id']))?$app->functions->intval($_POST['template_id']):0;
$sys_groupid = (isset($_POST['client_group_id']))?$app->functions->intval($_POST['client_group_id']):0;
$domain = (isset($_POST['domain'])&&!empty($_POST['domain']))?$_POST['domain']:NULL;
// get the correct server_id
if (isset($_POST['server_id'])) {
$server_id = $app->functions->intval($_POST['server_id']);
$post_server_id = true;
} elseif (isset($_POST['server_id_value'])) {
$server_id = $app->functions->intval($_POST['server_id_value']);
$post_server_id = true;
} else {
$settings = $app->getconf->get_global_config('dns');
$server_id = $app->functions->intval($settings['default_dnsserver']);
$post_server_id = false;
}
// Load the templates
$records = $app->db->queryAllRecords("SELECT * FROM dns_template WHERE visible = 'Y'");
$template_id_option = '';
$n = 0;
foreach($records as $rec){
$checked = ($rec['template_id'] == $template_id)?' SELECTED':'';
$template_id_option .= '';
if($n == 0 && $template_id == 0) $template_id = $rec['template_id'];
$n++;
}
unset($n);
$app->tpl->setVar("template_id_option", $template_id_option);
// If the user is administrator
if($_SESSION['s']['user']['typ'] == 'admin') {
// Load the list of servers
$records = $app->db->queryAllRecords("SELECT server_id, server_name FROM server WHERE mirror_server_id = 0 AND dns_server = 1 ORDER BY server_name");
$server_id_option = '';
foreach($records as $rec){
$checked = ($rec['server_id'] == $server_id)?' SELECTED':'';
$server_id_option .= '';
}
$app->tpl->setVar("server_id", $server_id_option);
// load the list of clients
$sql = "SELECT sys_group.groupid, sys_group.name, CONCAT(IF(client.company_name != '', CONCAT(client.company_name, ' :: '), ''), client.contact_name, ' (', client.username, IF(client.customer_no != '', CONCAT(', ', client.customer_no), ''), ')') as contactname FROM sys_group, client WHERE sys_group.client_id = client.client_id AND sys_group.client_id > 0 ORDER BY client.company_name, client.contact_name, sys_group.name";
$clients = $app->db->queryAllRecords($sql);
$clients = $app->functions->htmlentities($clients);
$client_select = '';
if($_SESSION["s"]["user"]["typ"] == 'admin') $client_select .= "";
if(is_array($clients)) {
foreach( $clients as $client) {
$selected = ($client["groupid"] == $sys_groupid)?'SELECTED':'';
$client_select .= "\r\n";
}
}
$app->tpl->setVar("client_group_id", $client_select);
}
if ($_SESSION["s"]["user"]["typ"] != 'admin' && $app->auth->has_clients($_SESSION['s']['user']['userid'])) {
// Get the limits of the client
$client_group_id = intval($_SESSION["s"]["user"]["default_group"]);
$client = $app->db->queryOneRecord("SELECT client.client_id, client.contact_name, CONCAT(IF(client.company_name != '', CONCAT(client.company_name, ' :: '), ''), client.contact_name, ' (', client.username, IF(client.customer_no != '', CONCAT(', ', client.customer_no), ''), ')') as contactname, sys_group.name FROM sys_group, client WHERE sys_group.client_id = client.client_id and sys_group.groupid = ?", $client_group_id);
$client = $app->functions->htmlentities($client);
// load the list of clients
$sql = "SELECT sys_group.groupid, sys_group.name, CONCAT(IF(client.company_name != '', CONCAT(client.company_name, ' :: '), ''), client.contact_name, ' (', client.username, IF(client.customer_no != '', CONCAT(', ', client.customer_no), ''), ')') as contactname FROM sys_group, client WHERE sys_group.client_id = client.client_id AND client.parent_client_id = ? ORDER BY client.company_name, client.contact_name, sys_group.name";
$clients = $app->db->queryAllRecords($sql, $client['client_id']);
$clients = $app->functions->htmlentities($clients);
$tmp = $app->db->queryOneRecord("SELECT groupid FROM sys_group WHERE client_id = ?", $client['client_id']);
$client_select = '';
if(is_array($clients)) {
foreach( $clients as $client) {
$selected = ($client["groupid"] == $sys_groupid)?'SELECTED':'';
$client_select .= "\r\n";
}
}
$app->tpl->setVar("client_group_id", $client_select);
}
if($_SESSION["s"]["user"]["typ"] != 'admin')
{
$client_group_id = $_SESSION["s"]["user"]["default_group"];
$client_dns = $app->db->queryOneRecord("SELECT dns_servers FROM sys_group, client WHERE sys_group.client_id = client.client_id and sys_group.groupid = ?", $client_group_id);
$client_dns['dns_servers_ids'] = explode(',', $client_dns['dns_servers']);
$only_one_server = count($client_dns['dns_servers_ids']) === 1;
$app->tpl->setVar('only_one_server', $only_one_server);
if ($only_one_server) {
$app->tpl->setVar('server_id_value', $client_dns['dns_servers_ids'][0]);
}
$sql = "SELECT server_id, server_name FROM server WHERE server_id IN ?";
$dns_servers = $app->db->queryAllRecords($sql, $client_dns['dns_servers_ids']);
$options_dns_servers = "";
foreach ($dns_servers as $dns_server) {
$options_dns_servers .= "";
}
$app->tpl->setVar("server_id", $options_dns_servers);
unset($options_dns_servers);
}
/*
* Now we have to check, if we should use the domain-module to select the domain
* or not
*/
$app->uses('ini_parser,getconf');
$settings = $app->getconf->get_global_config('domains');
if ($settings['use_domain_module'] == 'y') {
/*
* The domain-module is in use.
*/
$domains = $app->tools_sites->getDomainModuleDomains("dns_soa");
/*
* We can leave domain empty if domain is filename
*/
$domain_select = "\r\n";
if(is_array($domains) && sizeof($domains) > 0) {
/* We have domains in the list, so create the drop-down-list */
foreach( $domains as $domain) {
$domain_select .= "\r\n";
}
}
$app->tpl->setVar("domain_option", $domain_select);
/* check if the selected domain can be used! */
if ($domain) {
$domain_check = $app->tools_sites->checkDomainModuleDomain($domain);
if(!$domain_check) {
// invalid domain selected
$domain = NULL;
} else {
$domain = $domain_check;
}
}
}
$lng_file = 'lib/lang/'.$app->functions->check_language($_SESSION['s']['language']).'_dns_import.lng';
include $lng_file;
$app->tpl->setVar($wb);
// Import the zone-file
//if(1=="1")
if(isset($_FILES['file']['name']) && is_uploaded_file($_FILES['file']['tmp_name'])){
$valid_zone_file = FALSE;
$sql = "SELECT server_name FROM `server` WHERE server_id=? OR mirror_server_id=? ORDER BY server_name ASC";
$servers = $app->db->queryAllRecords($sql, $server_id, $server_id);
for ($i=0;$ifunctions->intval(substr($parts[1], 0, -1));
break;
case 'm':
$soa['ttl'] = $app->functions->intval(substr($parts[1], 0, -1)) * 60;
break;
case 'h':
$soa['ttl'] = $app->functions->intval(substr($parts[1], 0, -1)) * 3600;
break;
case 'd':
$soa['ttl'] = $app->functions->intval(substr($parts[1], 0, -1)) * 86400;
break;
case 'w':
$soa['ttl'] = $app->functions->intval(substr($parts[1], 0, -1)) * 604800;
break;
default:
$soa['ttl'] = $app->functions->intval($parts[1]);
}
unset($time_format);
}
// SOA
if(in_array("soa", $parts)){
$soa['mbox'] = array_pop($parts);
//$soa['ns'] = array_pop($parts);
$soa['ns'] = $servers[0]['server_name'];
// if domain is part of SOA, overwrite $soa['name']
if($parts[0] != '@' && $parts[0] != 'in' && $parts[0] != 'soa' && $origin_exists === FALSE){
$soa['name'] = $parts[0];
}
$soa_array_key = $i;
$valid_zone_file = TRUE;
}
// SERIAL
if($i == ($soa_array_key + 1)) $soa['serial'] = $app->functions->intval($parts[0]);
// REFRESH
if($i == ($soa_array_key + 2)){
$time_format = strtolower(substr($parts[0], -1));
switch ($time_format) {
case 's':
$soa['refresh'] = $app->functions->intval(substr($parts[0], 0, -1));
break;
case 'm':
$soa['refresh'] = $app->functions->intval(substr($parts[0], 0, -1)) * 60;
break;
case 'h':
$soa['refresh'] = $app->functions->intval(substr($parts[0], 0, -1)) * 3600;
break;
case 'd':
$soa['refresh'] = $app->functions->intval(substr($parts[0], 0, -1)) * 86400;
break;
case 'w':
$soa['refresh'] = $app->functions->intval(substr($parts[0], 0, -1)) * 604800;
break;
default:
$soa['refresh'] = $app->functions->intval($parts[0]);
}
unset($time_format);
}
// RETRY
if($i == ($soa_array_key + 3)){
$time_format = strtolower(substr($parts[0], -1));
switch ($time_format) {
case 's':
$soa['retry'] = $app->functions->intval(substr($parts[0], 0, -1));
break;
case 'm':
$soa['retry'] = $app->functions->intval(substr($parts[0], 0, -1)) * 60;
break;
case 'h':
$soa['retry'] = $app->functions->intval(substr($parts[0], 0, -1)) * 3600;
break;
case 'd':
$soa['retry'] = $app->functions->intval(substr($parts[0], 0, -1)) * 86400;
break;
case 'w':
$soa['retry'] = $app->functions->intval(substr($parts[0], 0, -1)) * 604800;
break;
default:
$soa['retry'] = $app->functions->intval($parts[0]);
}
unset($time_format);
}
// EXPIRE
if($i == ($soa_array_key + 4)){
$time_format = strtolower(substr($parts[0], -1));
switch ($time_format) {
case 's':
$soa['expire'] = $app->functions->intval(substr($parts[0], 0, -1));
break;
case 'm':
$soa['expire'] = $app->functions->intval(substr($parts[0], 0, -1)) * 60;
break;
case 'h':
$soa['expire'] = $app->functions->intval(substr($parts[0], 0, -1)) * 3600;
break;
case 'd':
$soa['expire'] = $app->functions->intval(substr($parts[0], 0, -1)) * 86400;
break;
case 'w':
$soa['expire'] = $app->functions->intval(substr($parts[0], 0, -1)) * 604800;
break;
default:
$soa['expire'] = $app->functions->intval($parts[0]);
}
unset($time_format);
}
// MINIMUM
if($i == ($soa_array_key + 5)){
$time_format = strtolower(substr($parts[0], -1));
switch ($time_format) {
case 's':
$soa['minimum'] = $app->functions->intval(substr($parts[0], 0, -1));
break;
case 'm':
$soa['minimum'] = $app->functions->intval(substr($parts[0], 0, -1)) * 60;
break;
case 'h':
$soa['minimum'] = $app->functions->intval(substr($parts[0], 0, -1)) * 3600;
break;
case 'd':
$soa['minimum'] = $app->functions->intval(substr($parts[0], 0, -1)) * 86400;
break;
case 'w':
$soa['minimum'] = $app->functions->intval(substr($parts[0], 0, -1)) * 604800;
break;
default:
$soa['minimum'] = $app->functions->intval($parts[0]);
}
unset($time_format);
}
// RESOURCE RECORDS
if($i > ($soa_array_key + 5)){
if(substr($parts[0], -1) == '.' || $parts[0] == '@' || ($parts[0] != 'a' && $parts[0] != 'aaaa' && $parts[0] != 'ns' && $parts[0] != 'cname' && $parts[0] != 'hinfo' && $parts[0] != 'mx' && $parts[0] != 'naptr' && $parts[0] != 'ptr' && $parts[0] != 'rp' && $parts[0] != 'srv' && $parts[0] != 'txt')){
if(is_numeric($parts[1])){
if($parts[2] == 'in'){
$resource_type = $parts[3];
$pkey = 3;
} else {
$resource_type = $parts[2];
$pkey = 2;
}
} else {
if($parts[1] == 'in'){
$resource_type = $parts[2];
$pkey = 2;
} else {
$resource_type = $parts[1];
$pkey = 1;
}
}
$dns_rr[$r]['type'] = $resource_type;
if($parts[0] == '@' || $parts[0] == '.'){
$dns_rr[$r]['name'] = $soa['name'];
} else {
$dns_rr[$r]['name'] = $parts[0];
}
if(is_numeric($parts[1])){
$dns_rr[$r]['ttl'] = $app->functions->intval($parts[1]);
} else {
$dns_rr[$r]['ttl'] = $soa['ttl'];
}
switch ($resource_type) {
case 'mx':
case 'srv':
$dns_rr[$r]['aux'] = $app->functions->intval($parts[$pkey+1]);
$dns_rr[$r]['data'] = implode(' ', array_slice($parts, $pkey+2));
break;
case 'txt':
$dns_rr[$r]['aux'] = 0;
$dns_rr[$r]['data'] = implode(' ', array_slice($parts, $pkey+1));
if(substr($dns_rr[$r]['data'], 0, 1) == '"') $dns_rr[$r]['data'] = substr($dns_rr[$r]['data'], 1);
if(substr($dns_rr[$r]['data'], -1) == '"') $dns_rr[$r]['data'] = substr($dns_rr[$r]['data'], 0, -1);
break;
default:
$dns_rr[$r]['aux'] = 0;
$dns_rr[$r]['data'] = implode(' ', array_slice($parts, $pkey+1));
}
} else {
// a 3600 IN A 1.2.3.4
if(is_numeric($parts[1]) && $parts[2] == 'in' && ($parts[3] == 'a' || $parts[3] == 'aaaa' || $parts[3] == 'ns'|| $parts[3] == 'cname' || $parts[3] == 'hinfo' || $parts[3] == 'mx' || $parts[3] == 'naptr' || $parts[3] == 'ptr' || $parts[3] == 'rp' || $parts[3] == 'srv' || $parts[3] == 'txt')){
$resource_type = $parts[3];
$pkey = 3;
$dns_rr[$r]['type'] = $resource_type;
$dns_rr[$r]['name'] = $parts[0];
$dns_rr[$r]['ttl'] = $app->functions->intval($parts[1]);
switch ($resource_type) {
case 'mx':
case 'srv':
$dns_rr[$r]['aux'] = $app->functions->intval($parts[$pkey+1]);
$dns_rr[$r]['data'] = implode(' ', array_slice($parts, $pkey+2));
break;
case 'txt':
$dns_rr[$r]['aux'] = 0;
$dns_rr[$r]['data'] = implode(' ', array_slice($parts, $pkey+1));
if(substr($dns_rr[$r]['data'], 0, 1) == '"') $dns_rr[$r]['data'] = substr($dns_rr[$r]['data'], 1);
if(substr($dns_rr[$r]['data'], -1) == '"') $dns_rr[$r]['data'] = substr($dns_rr[$r]['data'], 0, -1);
break;
default:
$dns_rr[$r]['aux'] = 0;
$dns_rr[$r]['data'] = implode(' ', array_slice($parts, $pkey+1));
}
}
// a IN A 1.2.3.4
elseif($parts[1] == 'in' && ($parts[2] == 'a' || $parts[2] == 'aaaa' || $parts[2] == 'ns'|| $parts[2] == 'cname' || $parts[2] == 'hinfo' || $parts[2] == 'mx' || $parts[2] == 'naptr' || $parts[2] == 'ptr' || $parts[2] == 'rp' || $parts[2] == 'srv' || $parts[2] == 'txt')){
$resource_type = $parts[2];
$pkey = 2;
$dns_rr[$r]['type'] = $resource_type;
$dns_rr[$r]['name'] = $parts[0];
$dns_rr[$r]['ttl'] = $soa['ttl'];
switch ($resource_type) {
case 'mx':
case 'srv':
$dns_rr[$r]['aux'] = $app->functions->intval($parts[$pkey+1]);
$dns_rr[$r]['data'] = implode(' ', array_slice($parts, $pkey+2));
break;
case 'txt':
$dns_rr[$r]['aux'] = 0;
$dns_rr[$r]['data'] = implode(' ', array_slice($parts, $pkey+1));
if(substr($dns_rr[$r]['data'], 0, 1) == '"') $dns_rr[$r]['data'] = substr($dns_rr[$r]['data'], 1);
if(substr($dns_rr[$r]['data'], -1) == '"') $dns_rr[$r]['data'] = substr($dns_rr[$r]['data'], 0, -1);
break;
default:
$dns_rr[$r]['aux'] = 0;
$dns_rr[$r]['data'] = implode(' ', array_slice($parts, $pkey+1));
}
}
// a 3600 A 1.2.3.4
elseif(is_numeric($parts[1]) && ($parts[2] == 'a' || $parts[2] == 'aaaa' || $parts[2] == 'ns'|| $parts[2] == 'cname' || $parts[2] == 'hinfo' || $parts[2] == 'mx' || $parts[2] == 'naptr' || $parts[2] == 'ptr' || $parts[2] == 'rp' || $parts[2] == 'srv' || $parts[2] == 'txt')){
$resource_type = $parts[2];
$pkey = 2;
$dns_rr[$r]['type'] = $resource_type;
$dns_rr[$r]['name'] = $parts[0];
$dns_rr[$r]['ttl'] = $app->functions->intval($parts[1]);
switch ($resource_type) {
case 'mx':
case 'srv':
$dns_rr[$r]['aux'] = $app->functions->intval($parts[$pkey+1]);
$dns_rr[$r]['data'] = implode(' ', array_slice($parts, $pkey+2));
break;
case 'txt':
$dns_rr[$r]['aux'] = 0;
$dns_rr[$r]['data'] = implode(' ', array_slice($parts, $pkey+1));
if(substr($dns_rr[$r]['data'], 0, 1) == '"') $dns_rr[$r]['data'] = substr($dns_rr[$r]['data'], 1);
if(substr($dns_rr[$r]['data'], -1) == '"') $dns_rr[$r]['data'] = substr($dns_rr[$r]['data'], 0, -1);
break;
default:
$dns_rr[$r]['aux'] = 0;
$dns_rr[$r]['data'] = implode(' ', array_slice($parts, $pkey+1));
}
}
// A 1.2.3.4
// MX 10 mail
// TXT "v=spf1 a mx ptr -all"
else {
$resource_type = $parts[0];
$pkey = 0;
$dns_rr[$r]['type'] = $resource_type;
$dns_rr[$r]['name'] = $soa['name'];
$dns_rr[$r]['ttl'] = $soa['ttl'];
switch ($resource_type) {
case 'mx':
case 'srv':
$dns_rr[$r]['aux'] = $app->functions->intval($parts[$pkey+1]);
$dns_rr[$r]['data'] = implode(' ', array_slice($parts, $pkey+2));
break;
case 'txt':
$dns_rr[$r]['aux'] = 0;
$dns_rr[$r]['data'] = implode(' ', array_slice($parts, $pkey+1));
if(substr($dns_rr[$r]['data'], 0, 1) == '"') $dns_rr[$r]['data'] = substr($dns_rr[$r]['data'], 1);
if(substr($dns_rr[$r]['data'], -1) == '"') $dns_rr[$r]['data'] = substr($dns_rr[$r]['data'], 0, -1);
break;
default:
$dns_rr[$r]['aux'] = 0;
$dns_rr[$r]['data'] = implode(' ', array_slice($parts, $pkey+1));
}
}
}
$dns_rr[$r]['type'] = strtoupper($dns_rr[$r]['type']);
if($dns_rr[$r]['type'] == 'NS' && $dns_rr[$r]['name'] == $soa['name']){
unset($dns_rr[$r]);
}
$valid = true;
$dns_rr[$r]['ttl'] = $app->functions->intval($dns_rr[$r]['ttl']);
$dns_rr[$r]['aux'] = $app->functions->intval($dns_rr[$r]['aux']);
$dns_rr[$r]['data'] = strip_tags($dns_rr[$r]['data']);
if(!preg_match('/^[a-zA-Z0-9\.\-\*]{0,64}$/',$dns_rr[$r]['name'])) $valid == false;
if(!in_array(strtoupper($dns_rr[$r]['type']),array('A','AAAA','ALIAS','CNAME','DS','HINFO','LOC','MX','NAPTR','NS','PTR','RP','SRV','TXT','TLSA','DNSKEY'))) $valid == false;
if($valid == false) unset($dns_rr[$r]);
$r++;
}
$i++;
}
foreach ($servers as $server){
$dns_rr[$r]['name'] = $soa['name'];
$dns_rr[$r]['type'] = 'NS';
$dns_rr[$r]['data'] = $server['server_name'];
$dns_rr[$r]['aux'] = 0;
$dns_rr[$r]['ttl'] = $soa['ttl'];
$r++;
}
//print('
');
//print_r($dns_rr);
//print('
');
// Insert the soa record
$sys_userid = $_SESSION['s']['user']['userid'];
$origin = $soa['name'];
$ns = $soa['ns'];
$mbox = $soa['mbox'];
$refresh = $soa['refresh'];
$retry = $soa['retry'];
$expire = $soa['expire'];
$minimum = $soa['minimum'];
$ttl = isset($soa['ttl']) ? $soa['ttl'] : '86400';
$xfer = '';
$serial = $app->functions->intval($soa['serial']+1);
//print_r($soa);
//die();
if($valid_zone_file){
$insert_data = array(
"sys_userid" => $sys_userid,
"sys_groupid" => $sys_groupid,
"sys_perm_user" => 'riud',
"sys_perm_group" => 'riud',
"sys_perm_other" => '',
"server_id" => $server_id,
"origin" => $origin,
"ns" => $ns,
"mbox" => $mbox,
"serial" => $serial,
"refresh" => $refresh,
"retry" => $retry,
"expire" => $expire,
"minimum" => $minimum,
"ttl" => $ttl,
"active" => 'Y',
"xfer" => $xfer
);
$dns_soa_id = $app->db->datalogInsert('dns_soa', $insert_data, 'id');
// Insert the dns_rr records
if(is_array($dns_rr) && $dns_soa_id > 0)
{
foreach($dns_rr as $rr)
{
$insert_data = array(
"sys_userid" => $sys_userid,
"sys_groupid" => $sys_groupid,
"sys_perm_user" => 'riud',
"sys_perm_group" => 'riud',
"sys_perm_other" => '',
"server_id" => $server_id,
"zone" => $dns_soa_id,
"name" => $rr['name'],
"type" => $rr['type'],
"data" => $rr['data'],
"aux" => $rr['aux'],
"ttl" => $rr['ttl'],
"active" => 'Y'
);
$dns_rr_id = $app->db->datalogInsert('dns_rr', $insert_data, 'id');
}
}
$msg .= $wb['zone_file_successfully_imported_txt'];
} else {
$error .= $wb['error_no_valid_zone_file_txt'];
}
//header('Location: /dns/dns_soa_edit.php?id='.$dns_soa_id);
} else {
if(isset($_FILES['file']['name'])) {
$error = $wb['no_file_uploaded_error'];
}
}
$app->tpl->setVar('msg', $msg);
$app->tpl->setVar('error', $error);
$app->tpl_defaults();
$app->tpl->pparse();
?>
dns_loc_edit.php 0000664 0000000 0000000 00000003772 13405765373 0032452 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns onLoad();
?>
dns_mx_edit.php 0000664 0000000 0000000 00000006003 13405765373 0032307 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns db->queryOneRecord("SELECT * FROM dns_rr WHERE zone = ? AND name = ? AND type = ? AND data = ? AND ".$app->tform->getAuthSQL('r'), $this->dataRecord["zone"], $this->dataRecord["name"], $this->dataRecord["type"], $this->dataRecord["data"]);
if(is_array($duplicate_mx) && !empty($duplicate_mx)) $app->error($app->tform->wordbook["duplicate_mx_record_txt"]);
parent::onInsert();
}
function onUpdate() {
global $app, $conf;
// Check if record is existing already
$duplicate_mx = $app->db->queryOneRecord("SELECT * FROM dns_rr WHERE zone = ? AND name = ? AND type = ? AND data = ? AND id != ? AND ".$app->tform->getAuthSQL('r'), $this->dataRecord["zone"], $this->dataRecord["name"], $this->dataRecord["type"], $this->dataRecord["data"], $this->dataRecord["id"]);
if(is_array($duplicate_mx) && !empty($duplicate_mx)) $app->error($app->tform->wordbook["duplicate_mx_record_txt"]);
parent::onUpdate();
}
}
$page = new page_action;
$page->onLoad();
?>
dns_ns_edit.php 0000664 0000000 0000000 00000003771 13405765373 0032314 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns onLoad();
?>
dns_ptr_edit.php 0000664 0000000 0000000 00000003772 13405765373 0032502 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns onLoad();
?>
dns_rp_edit.php 0000664 0000000 0000000 00000003771 13405765373 0032315 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns onLoad();
?>
dns_rr_del.php 0000664 0000000 0000000 00000005114 13405765373 0032127 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns auth->check_module_permissions('dns');
$app->uses('tpl,tform,tform_actions,validate_dns');
$app->load('tform_actions');
class page_action extends tform_actions {
function onAfterDelete() {
global $app; $conf;
//* Update the serial number of the SOA record
$soa = $app->db->queryOneRecord("SELECT * FROM dns_soa WHERE id = ? AND " . $app->tform->getAuthSQL('r'), $this->dataRecord["zone"]);
$soa_id = $app->functions->intval($this->dataRecord["zone"]);
$serial = $app->validate_dns->increase_serial($soa["serial"]);
$app->db->datalogUpdate('dns_soa', array("serial" => $serial), 'id', $soa_id);
}
}
$page = new page_action;
$page->onDelete();
?>
dns_slave_del.php 0000664 0000000 0000000 00000005026 13405765373 0032620 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns auth->check_module_permissions('dns');
$app->uses('tpl,tform,tform_actions');
$app->load('tform_actions');
class page_action extends tform_actions {
function onBeforeDelete() {
global $app; $conf;
if($app->tform->checkPerm($this->id, 'd') == false) $app->error($app->lng('error_no_delete_permission'));
// Delete all records that belog to this zone.
$records = $app->db->queryAllRecords("SELECT id FROM dns_slave WHERE zone = ?", $this->id);
foreach($records as $rec) {
$app->db->datalogDelete('dns_slave', 'id', $rec['id']);
}
}
}
$page = new page_action;
$page->onDelete();
?>
dns_slave_edit.php 0000664 0000000 0000000 00000024705 13405765373 0033006 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns auth->check_module_permissions('dns');
// Loading classes
$app->uses('tpl,tform,tform_actions,validate_dns');
$app->load('tform_actions');
class page_action extends tform_actions {
function onShowNew() {
global $app, $conf;
// we will check only users, not admins
if($_SESSION["s"]["user"]["typ"] == 'user') {
if(!$app->tform->checkClientLimit('limit_dns_slave_zone')) {
$app->error($app->tform->wordbook["limit_dns_slave_zone_txt"]);
}
if(!$app->tform->checkResellerLimit('limit_dns_slave_zone')) {
$app->error('Reseller: '.$app->tform->wordbook["limit_dns_slave_zone_txt"]);
}
} else {
$settings = $app->getconf->get_global_config('dns');
$app->tform->formDef['tabs']['dns_slave']['fields']['server_id']['default'] = intval($settings['default_slave_dnsserver']);
}
parent::onShowNew();
}
function onShowEnd() {
global $app, $conf;
$app->uses('ini_parser,getconf');
$settings = $app->getconf->get_global_config('domains');
/*
* Now we have to check, if we should use the domain-module to select the domain
* or not
*/
if ($settings['use_domain_module'] != 'y') {
// If user is admin, we will allow him to select to whom this record belongs
if($_SESSION["s"]["user"]["typ"] == 'admin') {
// Getting Domains of the user
$sql = "SELECT sys_group.groupid, sys_group.name, CONCAT(IF(client.company_name != '', CONCAT(client.company_name, ' :: '), ''), client.contact_name, ' (', client.username, IF(client.customer_no != '', CONCAT(', ', client.customer_no), ''), ')') as contactname FROM sys_group, client WHERE sys_group.client_id = client.client_id AND sys_group.client_id > 0 ORDER BY client.company_name, client.contact_name, sys_group.name";
$clients = $app->db->queryAllRecords($sql);
$clients = $app->functions->htmlentities($clients);
$client_select = '';
if($_SESSION["s"]["user"]["typ"] == 'admin') $client_select .= "";
//$tmp_data_record = $app->tform->getDataRecord($this->id);
if(is_array($clients)) {
foreach( $clients as $client) {
$selected = @(is_array($this->dataRecord) && ($client["groupid"] == $this->dataRecord['client_group_id'] || $client["groupid"] == $this->dataRecord['sys_groupid']))?'SELECTED':'';
$client_select .= "\r\n";
}
}
$app->tpl->setVar("client_group_id", $client_select);
} else if($app->auth->has_clients($_SESSION['s']['user']['userid'])) {
// Get the limits of the client
$client_group_id = intval($_SESSION["s"]["user"]["default_group"]);
$client = $app->db->queryOneRecord("SELECT client.client_id, sys_group.name, client.contact_name, CONCAT(IF(client.company_name != '', CONCAT(client.company_name, ' :: '), ''), client.contact_name, ' (', client.username, IF(client.customer_no != '', CONCAT(', ', client.customer_no), ''), ')') as contactname FROM sys_group, client WHERE sys_group.client_id = client.client_id and sys_group.groupid = ?", $client_group_id);
$client = $app->functions->htmlentities($client);
// Fill the client select field
$sql = "SELECT sys_group.groupid, sys_group.name, CONCAT(IF(client.company_name != '', CONCAT(client.company_name, ' :: '), ''), client.contact_name, ' (', client.username, IF(client.customer_no != '', CONCAT(', ', client.customer_no), ''), ')') as contactname FROM sys_group, client WHERE sys_group.client_id = client.client_id AND client.parent_client_id = ? ORDER BY client.company_name, client.contact_name, sys_group.name";
$clients = $app->db->queryAllRecords($sql, $client['client_id']);
$clients = $app->functions->htmlentities($clients);
$tmp = $app->db->queryOneRecord("SELECT groupid FROM sys_group WHERE client_id = ?", $client['client_id']);
$client_select = '';
//$tmp_data_record = $app->tform->getDataRecord($this->id);
if(is_array($clients)) {
foreach( $clients as $client) {
$selected = @(is_array($this->dataRecord) && ($client["groupid"] == $this->dataRecord['client_group_id'] || $client["groupid"] == $this->dataRecord['sys_groupid']))?'SELECTED':'';
$client_select .= "\r\n";
}
}
$app->tpl->setVar("client_group_id", $client_select);
}
} else {
/*
* The domain-module is in use.
*/
$domains = $app->tools_sites->getDomainModuleDomains("dns_slave", $this->dataRecord["origin"]);
$domain_select = '';
if(is_array($domains) && sizeof($domains) > 0) {
/* We have domains in the list, so create the drop-down-list */
foreach( $domains as $domain) {
$domain_select .= "\r\n";
}
}
else {
/*
* We have no domains in the domain-list. This means, we can not add ANY new domain.
* To avoid, that the variable "domain_option" is empty and so the user can
* free enter a domain, we have to create a empty option!
*/
$domain_select .= "\r\n";
}
$app->tpl->setVar("domain_option", $domain_select);
}
if($this->id > 0) {
//* we are editing a existing record
$app->tpl->setVar("edit_disabled", 1);
$app->tpl->setVar("server_id_value", $this->dataRecord["server_id"], true);
} else {
$app->tpl->setVar("edit_disabled", 0);
}
parent::onShowEnd();
}
function onSubmit() {
global $app, $conf;
/* check if the domain module is used - and check if the selected domain can be used! */
$app->uses('ini_parser,getconf');
$settings = $app->getconf->get_global_config('domains');
if ($settings['use_domain_module'] == 'y') {
if ($_SESSION["s"]["user"]["typ"] == 'admin' || $app->auth->has_clients($_SESSION['s']['user']['userid'])) {
$this->dataRecord['client_group_id'] = $app->tools_sites->getClientIdForDomain($this->dataRecord['origin']);
}
$domain_check = $app->tools_sites->checkDomainModuleDomain($this->dataRecord['origin']);
if(!$domain_check) {
// invalid domain selected
$app->tform->errorMessage .= $app->tform->lng("origin_error_empty")." ";
} else {
$this->dataRecord['origin'] = $domain_check.'.';
}
}
if($_SESSION["s"]["user"]["typ"] != 'admin') {
// Get the limits of the client
$client_group_id = intval($_SESSION["s"]["user"]["default_group"]);
$client = $app->db->queryOneRecord("SELECT limit_dns_slave_zone, default_slave_dnsserver FROM sys_group, client WHERE sys_group.client_id = client.client_id and sys_group.groupid = ?", $client_group_id);
// When the record is updated
if($this->id > 0) {
// restore the server ID if the user is not admin and record is edited
$tmp = $app->db->queryOneRecord("SELECT server_id FROM dns_slave WHERE id = ?", $this->id);
$this->dataRecord["server_id"] = $tmp["server_id"];
unset($tmp);
// When the record is inserted
} else {
// set the server ID to the default dnsserver of the client
$this->dataRecord["server_id"] = $client["default_slave_dnsserver"];
// Check if the user may add anoter secondary domain.
if(!$app->tform->checkClientLimit('limit_dns_slave_zone')) {
$app->error($app->tform->wordbook["limit_dns_slave_zone_txt"]);
}
if(!$app->tform->checkResellerLimit('limit_dns_slave_zone')) {
$app->error('Reseller: '.$app->tform->wordbook["limit_dns_slave_zone_txt"]);
}
}
}
//* Check if the zone name has a dot at the end
if(strlen($this->dataRecord["origin"]) > 0 && substr($this->dataRecord["origin"], -1, 1) != '.') $this->dataRecord["origin"] .= '.';
//* Check if a primary zone with the same name already exists
$tmp = $app->db->queryOneRecord("SELECT count(id) as number FROM dns_soa WHERE origin = ? AND server_id = ?", $this->dataRecord["origin"], $this->dataRecord["server_id"]);
if($tmp["number"] > 0) {
$app->error($app->tform->wordbook["origin_error_unique"]);
}
parent::onSubmit();
}
function onInsert() {
global $app, $conf;
// Check if record is existing already
$duplicate_slave = $app->db->queryOneRecord("SELECT * FROM dns_slave WHERE origin = ? AND server_id = ? AND ".$app->tform->getAuthSQL('r'), $this->dataRecord["origin"], $this->dataRecord["server_id"]);
if(is_array($duplicate_slave) && !empty($duplicate_slave)) $app->error($app->tform->wordbook["origin_error_unique"]);
parent::onInsert();
}
}
$page = new page_action;
$page->onLoad();
?>
dns_slave_list.php 0000664 0000000 0000000 00000001212 13405765373 0033020 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns auth->check_module_permissions('dns');
$app->uses('listform_actions');
// $app->listform_actions->SQLExtWhere = "dns_slave.access = 'REJECT'";
$app->listform_actions->SQLOrderBy = 'ORDER BY dns_slave.origin';
$app->listform_actions->onLoad();
?>
dns_soa_del.php 0000664 0000000 0000000 00000005014 13405765373 0032265 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns auth->check_module_permissions('dns');
$app->uses('tpl,tform,tform_actions');
$app->load('tform_actions');
class page_action extends tform_actions {
function onBeforeDelete() {
global $app; $conf;
if($app->tform->checkPerm($this->id, 'd') == false) $app->error($app->lng('error_no_delete_permission'));
// Delete all records that belog to this zone.
$records = $app->db->queryAllRecords("SELECT id FROM dns_rr WHERE zone = ?", $this->id);
foreach($records as $rec) {
$app->db->datalogDelete('dns_rr', 'id', $rec['id']);
}
}
}
$page = new page_action;
$page->onDelete();
?>
dns_soa_edit.php 0000664 0000000 0000000 00000035351 13405765373 0032455 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns auth->check_module_permissions('dns');
// Loading classes
$app->uses('tpl,tform,tform_actions,validate_dns');
$app->load('tform_actions');
class page_action extends tform_actions {
function onShow() {
global $app;
//* Reset the page number of the list form for the dns
//* records to 0 if we are on the first tab of the soa form.
if($app->tform->getNextTab() == 'dns_soa') {
$_SESSION['search']['dns_a']['page'] = 0;
}
parent::onShow();
}
function onShowNew() {
global $app, $conf;
// we will check only users, not admins
if($_SESSION["s"]["user"]["typ"] == 'user') {
if(!$app->tform->checkClientLimit('limit_dns_zone')) {
$app->error($app->tform->wordbook["limit_dns_zone_txt"]);
}
if(!$app->tform->checkResellerLimit('limit_dns_zone')) {
$app->error('Reseller: '.$app->tform->wordbook["limit_dns_zone_txt"]);
}
} else {
$settings = $app->getconf->get_global_config('dns');
$app->tform->formDef['tabs']['dns_soa']['fields']['server_id']['default'] = intval($settings['default_dnsserver']);
}
parent::onShowNew();
}
function onShowEnd() {
global $app, $conf;
$app->uses('ini_parser,getconf');
$settings = $app->getconf->get_global_config('domains');
//* TODO: store dnssec-keys in the database - see below for non-admin-users
//* hide dnssec if we found dns-mirror-servers
if($this->id > 0) {
$sql = "SELECT count(*) AS count FROM server WHERE mirror_server_id = ?";
$rec=$app->db->queryOneRecord($sql, $this->dataRecord['server_id']);
} else {
$sql = "SELECT count(*) AS count FROM server WHERE mirror_server_id > 0 and dns_server = 1";
$rec=$app->db->queryOneRecord($sql);
}
$show_dnssec=@($rec['count'] > 0)?0:1;
$app->tpl->setVar('show_dnssec', $show_dnssec);
/*
* Now we have to check, if we should use the domain-module to select the domain
* or not
*/
if ($settings['use_domain_module'] != 'y') {
// If user is admin, we will allow him to select to whom this record belongs
if($_SESSION["s"]["user"]["typ"] == 'admin') {
// Getting Domains of the user
$sql = "SELECT sys_group.groupid, sys_group.name, CONCAT(IF(client.company_name != '', CONCAT(client.company_name, ' :: '), ''), client.contact_name, ' (', client.username, IF(client.customer_no != '', CONCAT(', ', client.customer_no), ''), ')') as contactname FROM sys_group, client WHERE sys_group.client_id = client.client_id AND sys_group.client_id > 0 ORDER BY client.company_name, client.contact_name, sys_group.name";
$clients = $app->db->queryAllRecords($sql);
$clients = $app->functions->htmlentities($clients);
$client_select = '';
if($_SESSION["s"]["user"]["typ"] == 'admin') $client_select .= "";
//$tmp_data_record = $app->tform->getDataRecord($this->id);
if(is_array($clients)) {
foreach( $clients as $client) {
$selected = @(is_array($this->dataRecord) && ($client["groupid"] == $this->dataRecord['client_group_id'] || $client["groupid"] == $this->dataRecord['sys_groupid']))?'SELECTED':'';
$client_select .= "\r\n";
}
}
$app->tpl->setVar("client_group_id", $client_select);
} else if($app->auth->has_clients($_SESSION['s']['user']['userid'])) {
// Get the limits of the client
$client_group_id = intval($_SESSION["s"]["user"]["default_group"]);
$client = $app->db->queryOneRecord("SELECT client.client_id, client.contact_name, CONCAT(IF(client.company_name != '', CONCAT(client.company_name, ' :: '), ''), client.contact_name, ' (', client.username, IF(client.customer_no != '', CONCAT(', ', client.customer_no), ''), ')') as contactname, sys_group.name FROM sys_group, client WHERE sys_group.client_id = client.client_id and sys_group.groupid = ?", $client_group_id);
$client = $app->functions->htmlentities($client);
// Fill the client select field
$sql = "SELECT sys_group.groupid, sys_group.name, CONCAT(IF(client.company_name != '', CONCAT(client.company_name, ' :: '), ''), client.contact_name, ' (', client.username, IF(client.customer_no != '', CONCAT(', ', client.customer_no), ''), ')') as contactname FROM sys_group, client WHERE sys_group.client_id = client.client_id AND client.parent_client_id = ? ORDER BY client.company_name, client.contact_name, sys_group.name";
$clients = $app->db->queryAllRecords($sql, $client['client_id']);
$clients = $app->functions->htmlentities($clients);
$tmp = $app->db->queryOneRecord("SELECT groupid FROM sys_group WHERE client_id = ?", $client['client_id']);
$client_select = '';
//$tmp_data_record = $app->tform->getDataRecord($this->id);
if(is_array($clients)) {
foreach( $clients as $client) {
$selected = @(is_array($this->dataRecord) && ($client["groupid"] == $this->dataRecord['client_group_id'] || $client["groupid"] == $this->dataRecord['sys_groupid']))?'SELECTED':'';
$client_select .= "\r\n";
}
}
$app->tpl->setVar("client_group_id", $client_select);
}
}
// }
if($_SESSION["s"]["user"]["typ"] != 'admin')
{
$client_group_id = $_SESSION["s"]["user"]["default_group"];
$client_dns = $app->db->queryOneRecord("SELECT dns_servers FROM sys_group, client WHERE sys_group.client_id = client.client_id and sys_group.groupid = ?", $client_group_id);
//* TODO: store dnssec-keys in the database
//* hide dnssec if we found dns-mirror-servers
$temp_rec=explode(",", $client_dns['dns_servers']);
$sql = "SELECT count(*) AS count FROM server WHERE mirror_server_id = ?";
foreach($temp_rec as $temp) {
$rec=$app->db->queryOneRecord($sql, $temp);
if ($rec['count'] > 0) {
break;
}
}
$show_dnssec=@($rec['count'] > 0)?0:1;
$app->tpl->setVar('show_dnssec', $show_dnssec);
$client_dns['dns_servers_ids'] = explode(',', $client_dns['dns_servers']);
$only_one_server = count($client_dns['dns_servers_ids']) === 1;
$app->tpl->setVar('only_one_server', $only_one_server);
if ($only_one_server) {
$app->tpl->setVar('server_id_value', $client_dns['dns_servers_ids'][0]);
}
$sql = "SELECT server_id, server_name FROM server WHERE server_id IN ?";
$dns_servers = $app->db->queryAllRecords($sql, $client_dns['dns_servers_ids']);
$options_dns_servers = "";
foreach ($dns_servers as $dns_server) {
$options_dns_servers .= '';
}
$app->tpl->setVar("client_server_id", $options_dns_servers);
unset($options_dns_servers);
}
if ($settings['use_domain_module'] == 'y') {
/*
* The domain-module is in use.
*/
$domains = $app->tools_sites->getDomainModuleDomains("dns_soa", $this->dataRecord["origin"]);
$domain_select = '';
if(is_array($domains) && sizeof($domains) > 0) {
/* We have domains in the list, so create the drop-down-list */
foreach( $domains as $domain) {
$domain_select .= "\r\n";
}
}
else {
/*
* We have no domains in the domain-list. This means, we can not add ANY new domain.
* To avoid, that the variable "domain_option" is empty and so the user can
* free enter a domain, we have to create a empty option!
*/
$domain_select .= "\r\n";
}
$app->tpl->setVar("domain_option", $domain_select);
}
if($this->id > 0) {
//* we are editing a existing record
$app->tpl->setVar("edit_disabled", 1);
$app->tpl->setVar("server_id_value", $this->dataRecord["server_id"], true);
$datalog = $app->db->queryOneRecord("SELECT sys_datalog.error, sys_log.tstamp FROM sys_datalog, sys_log WHERE sys_datalog.dbtable = 'dns_soa' AND sys_datalog.dbidx = ? AND sys_datalog.datalog_id = sys_log.datalog_id AND sys_log.message = CONCAT('Processed datalog_id ',sys_log.datalog_id) ORDER BY sys_datalog.tstamp DESC", 'id:' . $this->id);
if(is_array($datalog) && !empty($datalog)){
if(trim($datalog['error']) != ''){
$app->tpl->setVar("config_error_msg", nl2br($app->functions->htmlentities($datalog['error'])));
$app->tpl->setVar("config_error_tstamp", date($app->lng('conf_format_datetime'), $datalog['tstamp']));
}
}
} else {
$app->tpl->setVar("edit_disabled", 0);
}
parent::onShowEnd();
}
function onSubmit() {
global $app, $conf;
if ($app->tform->getCurrentTab() == 'dns_soa') {
/* check if the domain module is used - and check if the selected domain can be used! */
$app->uses('ini_parser,getconf');
$settings = $app->getconf->get_global_config('domains');
if ($settings['use_domain_module'] == 'y') {
if ($_SESSION["s"]["user"]["typ"] == 'admin' || $app->auth->has_clients($_SESSION['s']['user']['userid'])) {
$this->dataRecord['client_group_id'] = $app->tools_sites->getClientIdForDomain($this->dataRecord['origin']);
}
$domain_check = $app->tools_sites->checkDomainModuleDomain($this->dataRecord['origin']);
if(!$domain_check) {
// invalid domain selected
$app->tform->errorMessage .= $app->tform->lng("origin_error_empty")." ";
} else {
$this->dataRecord['origin'] = $domain_check.'.';
}
}
if($_SESSION["s"]["user"]["typ"] != 'admin') {
// Get the limits of the client
$client_group_id = $_SESSION["s"]["user"]["default_group"];
$client = $app->db->queryOneRecord("SELECT limit_dns_zone, dns_servers FROM sys_group, client WHERE sys_group.client_id = client.client_id and sys_group.groupid = ?", $client_group_id);
$client['dns_servers_ids'] = explode(',', $client['dns_servers']);
// Check if chosen server is in authorized servers for this client
if (!(is_array($client['dns_servers_ids']) && in_array($this->dataRecord["server_id"], $client['dns_servers_ids'])) && $_SESSION["s"]["user"]["typ"] != 'admin') {
$app->error($app->tform->wordbook['error_not_allowed_server_id']);
}
// When the record is updated
if($this->id > 0) {
// restore the server ID if the user is not admin and record is edited
$tmp = $app->db->queryOneRecord("SELECT server_id FROM dns_soa WHERE id = ?", $this->id);
$this->dataRecord["server_id"] = $tmp["server_id"];
unset($tmp);
// When the record is inserted
} else {
// Check if the user may add another maildomain.
if($client["limit_dns_zone"] >= 0) {
$tmp = $app->db->queryOneRecord("SELECT count(id) as number FROM dns_soa WHERE sys_groupid = ?", $client_group_id);
if($tmp["number"] >= $client["limit_dns_zone"]) {
$app->error($app->tform->wordbook["limit_dns_zone_txt"]);
}
}
}
}
//* Check if soa, ns and mbox have a dot at the end
if(strlen($this->dataRecord["origin"]) > 0 && substr($this->dataRecord["origin"], -1, 1) != '.') $this->dataRecord["origin"] .= '.';
if(strlen($this->dataRecord["ns"]) > 0 && substr($this->dataRecord["ns"], -1, 1) != '.') $this->dataRecord["ns"] .= '.';
if(strlen($this->dataRecord["mbox"]) > 0 && substr($this->dataRecord["mbox"], -1, 1) != '.') $this->dataRecord["mbox"] .= '.';
//* Replace @ in mbox
if(stristr($this->dataRecord["mbox"], '@')) {
$this->dataRecord["mbox"] = str_replace('@', '.', $this->dataRecord["mbox"]);
}
$this->dataRecord["xfer"] = preg_replace('/\s+/', '', $this->dataRecord["xfer"]);
$this->dataRecord["also_notify"] = preg_replace('/\s+/', '', $this->dataRecord["also_notify"]);
//* Check if a secondary zone with the same name already exists
$tmp = $app->db->queryOneRecord("SELECT count(id) as number FROM dns_slave WHERE origin = ? AND server_id = ?", $this->dataRecord["origin"], $this->dataRecord["server_id"]);
if($tmp["number"] > 0) {
$app->error($app->tform->wordbook["origin_error_unique"]);
}
}
parent::onSubmit();
}
function onBeforeUpdate () {
global $app, $conf;
//* Check if the server has been changed
// We do this only for the admin or reseller users, as normal clients can not change the server ID anyway
if($_SESSION["s"]["user"]["typ"] != 'admin' && !$app->auth->has_clients($_SESSION['s']['user']['userid']) && isset($this->dataRecord['origin'])) {
//* We do not allow users to change a domain which has been created by the admin
$rec = $app->db->queryOneRecord("SELECT origin from dns_soa WHERE id = ?", $this->id);
$drOrigin = $app->functions->idn_encode($this->dataRecord['origin']);
if($rec['origin'] !== $drOrigin && $app->tform->checkPerm($this->id, 'u')) {
//* Add a error message and switch back to old server
$app->tform->errorMessage .= $app->tform->wordbook["soa_cannot_be_changed_txt"];
$this->dataRecord["origin"] = $rec['origin'];
}
unset($rec);
}
}
}
$page = new page_action;
$page->onLoad();
?>
dns_soa_list.php 0000664 0000000 0000000 00000001204 13405765373 0032471 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns auth->check_module_permissions('dns');
$app->uses('listform_actions');
// $app->listform_actions->SQLExtWhere = "dns_soa.access = 'REJECT'";
$app->listform_actions->SQLOrderBy = 'ORDER BY dns_soa.origin';
$app->listform_actions->onLoad();
?>
dns_spf_edit.php 0000664 0000000 0000000 00000025037 13405765373 0032463 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns auth->check_module_permissions('dns');
// Loading classes
$app->uses('tpl,tform,tform_actions,validate_dns');
$app->load('tform_actions');
class page_action extends tform_actions {
function onShowNew() {
global $app, $conf;
// we will check only users, not admins
if($_SESSION["s"]["user"]["typ"] == 'user') {
// Get the limits of the client
$client_group_id = intval($_SESSION["s"]["user"]["default_group"]);
$client = $app->db->queryOneRecord("SELECT limit_dns_record FROM sys_group, client WHERE sys_group.client_id = client.client_id and sys_group.groupid = ?", $client_group_id);
// Check if the user may add another mailbox.
if($client["limit_dns_record"] >= 0) {
$tmp = $app->db->queryOneRecord("SELECT count(id) as number FROM dns_rr WHERE sys_groupid = ?", $client_group_id);
if($tmp["number"] >= $client["limit_dns_record"]) {
$app->error($app->tform->wordbook["limit_dns_record_txt"]);
}
}
}
parent::onShowNew();
}
function onShowEnd() {
global $app, $conf;
$zone = $app->functions->intval($_GET['zone']);
//* check for an existing spf-record
$sql = "SELECT data, active FROM dns_rr WHERE data LIKE 'v=spf1%' AND zone = ? AND " . $app->tform->getAuthSQL('r');
$rec = $app->db->queryOneRecord($sql, $zone);
if ( isset($rec) && !empty($rec) ) {
$this->id = 1;
$old_data = strtolower($rec['data']);
$app->tpl->setVar("data", $old_data, true);
if ($rec['active'] == 'Y') $app->tpl->setVar("active", "CHECKED"); else $app->tpl->setVar("active", "UNCHECKED");
$spf_hostname = '';
$spf_ip = '';
$spf_domain = '';
$spf_mechanism = '';
// browse through data
$temp = explode(' ', $old_data);
foreach ($temp as $part) {
if ($part == 'a') $app->tpl->setVar("spf_a_active", "CHECKED");
if ($part == 'mx') $app->tpl->setVar("spf_mx_active", "CHECKED");
if (preg_match("/^ip(4|6):/", $part)) $spf_ip .= str_replace(array('ip4:','ip6:'), '', $part) . ' ';
if (preg_match("/^a:/", $part)) $spf_hostname .= str_replace('a:', '', $part) . ' ';
if (preg_match("/^\\??include/", $part)) $spf_domain .= str_replace(array('include:', '?'), '', $part) . ' ';
}
unset($temp);
$spf_ip = rtrim($spf_ip);
$spf_hostname = rtrim($spf_hostname);
$spf_domain = rtrim($spf_domain);
$spf_mechanism = substr($rec['data'], -4, 1);
}
//set html-values
$app->tpl->setVar("spf_ip", $spf_ip, true);
$app->tpl->setVar("spf_hostname", $spf_hostname, true);
$app->tpl->setVar("spf_domain", $spf_domain, true);
//create spf-mechanism-list
$spf_mechanism_value = array(
'+' => 'spf_mechanism_pass_txt',
'-' => 'spf_mechanism_fail_txt',
'~' => 'spf_mechanism_softfail_txt',
'?' => 'spf_mechanism_neutral_txt'
);
$spf_mechanism_list='';
foreach($spf_mechanism_value as $value => $txt) {
$selected = @($spf_mechanism == $value)?' selected':'';
$spf_mechanism_list .= "\r\n";
}
$app->tpl->setVar('spf_mechanism', $spf_mechanism_list);
parent::onShowEnd();
}
function onSubmit() {
global $app, $conf;
// Get the parent soa record of the domain
$soa = $app->db->queryOneRecord("SELECT * FROM dns_soa WHERE id = ? AND " . $app->tform->getAuthSQL('r'), $app->functions->intval($_POST["zone"]));
// Check if Domain belongs to user
if($soa["id"] != $_POST["zone"]) $app->tform->errorMessage .= $app->tform->wordbook["no_zone_perm"];
// Check the client limits, if user is not the admin
if($_SESSION["s"]["user"]["typ"] != 'admin') { // if user is not admin
// Get the limits of the client
$client_group_id = intval($_SESSION["s"]["user"]["default_group"]);
$client = $app->db->queryOneRecord("SELECT limit_dns_record FROM sys_group, client WHERE sys_group.client_id = client.client_id and sys_group.groupid = ?", $client_group_id);
// Check if the user may add another mailbox.
if($this->id == 0 && $client["limit_dns_record"] >= 0) {
$tmp = $app->db->queryOneRecord("SELECT count(id) as number FROM dns_rr WHERE sys_groupid = ?", $client_group_id);
if($tmp["number"] >= $client["limit_dns_record"]) {
$app->error($app->tform->wordbook["limit_dns_record_txt"]);
}
}
} // end if user is not admin
//create spf-record
if (!empty($this->dataRecord['spf_mx'])) {
$spf_record[] = 'mx';
}
if (!empty($this->dataRecord['spf_a'])) {
$spf_record[] = 'a';
}
$spf_ip = trim($this->dataRecord['spf_ip']);
if (!empty($spf_ip)) {
$rec = explode(' ', $spf_ip);
foreach ($rec as $ip) {
$temp_ip = explode('/', $ip);
if (filter_var($temp_ip[0], FILTER_VALIDATE_IP, FILTER_FLAG_IPV4)) {
$temp = 'ip4:' . $temp_ip[0];
if (isset($temp_ip[1])) $temp .= '/' . $temp_ip[1];
$spf_record[] = $temp;
unset($temp);
}
elseif (filter_var($temp_ip[0], FILTER_VALIDATE_IP, FILTER_FLAG_IPV6)) {
$temp = 'ip6:' . $temp_ip[0];
if (isset($temp_ip[1])) $temp .= '/' . $temp_ip[1];
$spf_record[] = $temp;
unset($temp);
}
else {
if (isset($app->tform->errorMessage )) $app->tform->errorMessage = ' ' . $app->tform->errorMessage;
$app->tform->errorMessage .= $app->tform->wordbook["spf_invalid_ip_txt"]. $temp_ip[0];
if (isset( $temp_ip[1])) $app->tform->errorMessage .= "/".$temp_ip[1];
}
}
}
$spf_hostname = trim($this->dataRecord['spf_hostname']);
if (!empty($spf_hostname)) {
$rec = explode(' ', $spf_hostname);
foreach ($rec as $hostname) {
if (preg_match('/^[a-zA-Z0-9\\.\\-\\*]{0,64}$/', $hostname))
$spf_record[] = 'a:' . $hostname;
else {
if (isset($app->tform->errorMessage )) $app->tform->errorMessage .= ' ' . $app->tform->wordbook["spf_invalid_hostname_txt"]. $hostname;
$app->tform->errorMessage .= $app->tform->wordbook["spf_invalid_hostname_txt"]. $hostname;
}
}
unset($rec);
}
$spf_domain = trim($this->dataRecord['spf_domain']);
if (!empty($spf_domain)) {
$rec = explode(' ', $spf_domain);
foreach ($rec as $domain) {
if (preg_match('/^[_a-zA-Z0-9\\.\\-\\*]{0,64}$/', $domain))
$spf_record[] = 'include:' . $domain;
else {
if (isset($app->tform->errorMessage )) $app->tform->errorMessage .= ' ' . $app->tform->wordbook["spf_invalid_domain_txt"]. $domain;
$app->tform->errorMessage .= $app->tform->wordbook["spf_invalid_domain_txt"]. $domain;
}
}
}
$temp = implode(' ', $spf_record);unset($spf_record);
if (!empty($temp))
$this->dataRecord['data'] = 'v=spf1 ' . $temp . ' ' . $this->dataRecord['spf_mechanism'] . 'all';
else $this->dataRecord['data'] = 'v=spf1 ' . $this->dataRecord['spf_mechanism'] . 'all';
unset($temp);
$this->dataRecord['name'] = $soa['origin'];
if (isset($this->dataRecord['active'])) $this->dataRecord['active'] = 'Y';
// Set the server ID of the rr record to the same server ID as the parent record.
$this->dataRecord["server_id"] = $soa["server_id"];
// Update the serial number and timestamp of the RR record
$soa = $app->db->queryOneRecord("SELECT serial FROM dns_rr WHERE id = ?", $this->id);
$this->dataRecord["serial"] = $app->validate_dns->increase_serial($soa["serial"]);
$this->dataRecord["stamp"] = date('Y-m-d H:i:s');
// always update an existing entry
$check=$app->db->queryOneRecord("SELECT * FROM dns_rr WHERE zone = ? AND type = ? AND data LIKE 'v=spf1%' AND name = ?", $this->dataRecord["zone"], $this->dataRecord["type"], $this->dataRecord['name']);
$this->id = $check['id'];
if (!isset($this->dataRecord['active'])) $this->dataRecord['active'] = 'N';
parent::onSubmit();
}
function onAfterInsert() {
global $app, $conf;
//* Set the sys_groupid of the rr record to be the same then the sys_groupid of the soa record
$soa = $app->db->queryOneRecord("SELECT sys_groupid,serial FROM dns_soa WHERE id = ? AND " . $app->tform->getAuthSQL('r'), $app->functions->intval($this->dataRecord["zone"]));
$app->db->datalogUpdate('dns_rr', array("sys_groupid" => $soa['sys_groupid']), 'id', $this->id);
//* Update the serial number of the SOA record
$soa_id = $app->functions->intval($_POST["zone"]);
$serial = $app->validate_dns->increase_serial($soa["serial"]);
$app->db->datalogUpdate('dns_soa', array("serial" => $serial), 'id', $soa_id);
}
function onAfterUpdate() {
global $app, $conf;
//* Update the serial number of the SOA record
$soa = $app->db->queryOneRecord("SELECT serial FROM dns_soa WHERE id = ? AND " . $app->tform->getAuthSQL('r'), $app->functions->intval($this->dataRecord["zone"]));
$soa_id = $app->functions->intval($_POST["zone"]);
$serial = $app->validate_dns->increase_serial($soa["serial"]);
$app->db->datalogUpdate('dns_soa', array("serial" => $serial), 'id', $soa_id);
}
}
$page = new page_action;
$page->onLoad();
?>
dns_srv_edit.php 0000664 0000000 0000000 00000005163 13405765373 0032503 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns dataRecord['data']);
$app->tpl->setVar('weight', $split[0], true);
$app->tpl->setVar('port', $split[1], true);
$app->tpl->setVar('target', $split[2], true);
parent::onShowEnd();
}
function onBeforeInsert() {
$this->dataRecord['data'] = $this->dataRecord['weight'] .' '. $this->dataRecord['port'] .' '. $this->dataRecord['target'];
}
function onBeforeUpdate() {
$this->dataRecord['data'] = $this->dataRecord['weight'] .' '. $this->dataRecord['port'] .' '. $this->dataRecord['target'];
}
}
$page = new page_action;
$page->onLoad();
?>
dns_template_del.php 0000664 0000000 0000000 00000004213 13405765373 0033316 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns auth->check_module_permissions('dns');
$app->uses('tpl,tform,tform_actions');
$app->load('tform_actions');
class page_action extends tform_actions {
}
$page = new page_action;
$page->onDelete();
?>
dns_template_edit.php 0000664 0000000 0000000 00000004306 13405765373 0033502 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns auth->check_module_permissions('dns');
// Loading classes
$app->uses('tpl,tform,tform_actions');
$app->load('tform_actions');
if($_SESSION["s"]["user"]["typ"] != 'admin') die('Access denied for non admin users.');
class page_action extends tform_actions {
}
$page = new page_action;
$page->onLoad();
?>
dns_template_list.php 0000664 0000000 0000000 00000001221 13405765373 0033521 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns auth->check_module_permissions('dns');
$app->uses('listform_actions');
// $app->listform_actions->SQLExtWhere = "dns_template.access = 'REJECT'";
$app->listform_actions->SQLOrderBy = 'ORDER BY dns_template.name';
$app->listform_actions->onLoad();
?>
dns_tlsa_edit.php 0000664 0000000 0000000 00000015464 13405765373 0032641 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns auth->check_module_permissions('dns');
// Loading classes
$app->uses('tpl,tform,tform_actions,validate_dns');
$app->load('tform_actions');
class page_action extends tform_actions {
function onShowNew() {
global $app, $conf;
// we will check only users, not admins
if($_SESSION["s"]["user"]["typ"] == 'user') {
// Get the limits of the client
$client_group_id = intval($_SESSION["s"]["user"]["default_group"]);
$client = $app->db->queryOneRecord("SELECT limit_dns_record FROM sys_group, client WHERE sys_group.client_id = client.client_id and sys_group.groupid = $client_group_id");
// Check if the user may add another mailbox.
if($client["limit_dns_record"] >= 0) {
$tmp = $app->db->queryOneRecord("SELECT count(id) as number FROM dns_rr WHERE sys_groupid = $client_group_id");
if($tmp["number"] >= $client["limit_dns_record"]) {
$app->error($app->tform->wordbook["limit_dns_record_txt"]);
}
}
}
parent::onShowNew();
}
function onSubmit() {
global $app, $conf;
// Get the parent soa record of the domain
$soa = $app->db->queryOneRecord("SELECT * FROM dns_soa WHERE id = '".$app->functions->intval($_POST["zone"])."' AND ".$app->tform->getAuthSQL('r'));
// Check if Domain belongs to user
if($soa["id"] != $_POST["zone"]) $app->tform->errorMessage .= $app->tform->wordbook["no_zone_perm"];
// Check the client limits, if user is not the admin
if($_SESSION["s"]["user"]["typ"] != 'admin') { // if user is not admin
// Get the limits of the client
$client_group_id = intval($_SESSION["s"]["user"]["default_group"]);
$client = $app->db->queryOneRecord("SELECT limit_dns_record FROM sys_group, client WHERE sys_group.client_id = client.client_id and sys_group.groupid = $client_group_id");
// Check if the user may add another mailbox.
if($this->id == 0 && $client["limit_dns_record"] >= 0) {
$tmp = $app->db->queryOneRecord("SELECT count(id) as number FROM dns_rr WHERE sys_groupid = $client_group_id");
if($tmp["number"] >= $client["limit_dns_record"]) {
$app->error($app->tform->wordbook["limit_dns_record_txt"]);
}
}
} // end if user is not admin
// Set the server ID of the rr record to the same server ID as the parent record.
$this->dataRecord["server_id"] = $soa["server_id"];
// Update the serial number and timestamp of the RR record
$soa = $app->db->queryOneRecord("SELECT serial FROM dns_rr WHERE id = ".$this->id);
$this->dataRecord["serial"] = $app->validate_dns->increase_serial($soa["serial"]);
$this->dataRecord["stamp"] = date('Y-m-d H:i:s');
parent::onSubmit();
}
function onInsert() {
global $app, $conf;
// Check if record is existing already
$duplicate_tlsa = $app->db->queryOneRecord("SELECT * FROM dns_rr WHERE zone = ".$app->functions->intval($this->dataRecord["zone"])." AND name = '".$app->db->quote($this->dataRecord["name"])."' AND type = '".$app->db->quote($this->dataRecord["type"])."' AND data = '".$app->db->quote($this->dataRecord["data"])."' AND ".$app->tform->getAuthSQL('r'));
if(is_array($duplicate_tlsa) && !empty($duplicate_tlsa)) $app->error($app->tform->wordbook["duplicate_tlsa_record_txt"]);
parent::onInsert();
}
function onUpdate() {
global $app, $conf;
// Check if record is existing already
$duplicate_tlsa = $app->db->queryOneRecord("SELECT * FROM dns_rr WHERE zone = ".$app->functions->intval($this->dataRecord["zone"])." AND name = '".$app->db->quote($this->dataRecord["name"])."' AND type = '".$app->db->quote($this->dataRecord["type"])."' AND data = '".$app->db->quote($this->dataRecord["data"])."' AND id != ".$app->functions->intval($this->dataRecord["id"])." AND ".$app->tform->getAuthSQL('r'));
if(is_array($duplicate_tlsa) && !empty($duplicate_tlsa)) $app->error($app->tform->wordbook["duplicate_tlsa_record_txt"]);
parent::onUpdate();
}
function onAfterInsert() {
global $app, $conf;
//* Set the sys_groupid of the rr record to be the same then the sys_groupid of the soa record
$soa = $app->db->queryOneRecord("SELECT sys_groupid,serial FROM dns_soa WHERE id = '".$app->functions->intval($this->dataRecord["zone"])."' AND ".$app->tform->getAuthSQL('r'));
$app->db->datalogUpdate('dns_rr', "sys_groupid = ".$soa['sys_groupid'], 'id', $this->id);
//* Update the serial number of the SOA record
$soa_id = $app->functions->intval($_POST["zone"]);
$serial = $app->validate_dns->increase_serial($soa["serial"]);
$app->db->datalogUpdate('dns_soa', "serial = $serial", 'id', $soa_id);
}
function onAfterUpdate() {
global $app, $conf;
//* Update the serial number of the SOA record
$soa = $app->db->queryOneRecord("SELECT serial FROM dns_soa WHERE id = '".$app->functions->intval($this->dataRecord["zone"])."' AND ".$app->tform->getAuthSQL('r'));
$soa_id = $app->functions->intval($_POST["zone"]);
$serial = $app->validate_dns->increase_serial($soa["serial"]);
$app->db->datalogUpdate('dns_soa', "serial = $serial", 'id', $soa_id);
}
}
$page = new page_action;
$page->onLoad();
?>
dns_txt_edit.php 0000664 0000000 0000000 00000003772 13405765373 0032514 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns onLoad();
?>
dns_wizard.php 0000664 0000000 0000000 00000045767 13405765373 0032202 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns auth->check_module_permissions('dns');
// Loading the template
$app->uses('tpl,validate_dns,tform');
$app->tpl->newTemplate("form.tpl.htm");
$app->tpl->setInclude('content_tpl', 'templates/dns_wizard.htm');
$app->load_language_file('/web/dns/lib/lang/'.$_SESSION['s']['language'].'_dns_wizard.lng');
// Check if dns record limit has been reached. We will check only users, not admins
if($_SESSION["s"]["user"]["typ"] == 'user') {
$app->tform->formDef['db_table_idx'] = 'id';
$app->tform->formDef['db_table'] = 'dns_soa';
if(!$app->tform->checkClientLimit('limit_dns_zone')) {
$app->error($app->lng('limit_dns_zone_txt'));
}
if(!$app->tform->checkResellerLimit('limit_dns_zone')) {
$app->error('Reseller: '.$app->lng('limit_dns_zone_txt'));
}
}
// import variables
$template_id = (isset($_POST['template_id']))?$app->functions->intval($_POST['template_id']):0;
$sys_groupid = (isset($_POST['client_group_id']))?$app->functions->intval($_POST['client_group_id']):0;
// get the correct server_id
if (isset($_POST['server_id'])) {
$server_id = $app->functions->intval($_POST['server_id']);
$post_server_id = true;
} elseif (isset($_POST['server_id_value'])) {
$server_id = $app->functions->intval($_POST['server_id_value']);
$post_server_id = true;
} else {
$settings = $app->getconf->get_global_config('dns');
$server_id = $app->functions->intval($settings['default_dnsserver']);
$post_server_id = false;
}
// Load the templates
$records = $app->db->queryAllRecords("SELECT * FROM dns_template WHERE visible = 'Y' ORDER BY name ASC");
$template_id_option = '';
$n = 0;
foreach($records as $rec){
$checked = ($rec['template_id'] == $template_id)?' SELECTED':'';
$template_id_option .= '';
if($n == 0 && $template_id == 0) $template_id = $rec['template_id'];
$n++;
}
unset($n);
$app->tpl->setVar("template_id_option", $template_id_option);
$app->uses('ini_parser,getconf');
$domains_settings = $app->getconf->get_global_config('domains');
// If the user is administrator
if($_SESSION['s']['user']['typ'] == 'admin') {
// Load the list of servers
$records = $app->db->queryAllRecords("SELECT server_id, server_name FROM server WHERE mirror_server_id = 0 AND dns_server = 1 ORDER BY server_name");
$server_id_option = '';
foreach($records as $rec){
$checked = ($rec['server_id'] == $server_id)?' SELECTED':'';
$server_id_option .= '';
}
$app->tpl->setVar("server_id", $server_id_option);
if ($domains_settings['use_domain_module'] != 'y') {
// load the list of clients
$sql = "SELECT sys_group.groupid, sys_group.name, CONCAT(IF(client.company_name != '', CONCAT(client.company_name, ' :: '), ''), client.contact_name, ' (', client.username, IF(client.customer_no != '', CONCAT(', ', client.customer_no), ''), ')') as contactname FROM sys_group, client WHERE sys_group.client_id = client.client_id AND sys_group.client_id > 0 ORDER BY client.company_name, client.contact_name, sys_group.name";
$clients = $app->db->queryAllRecords($sql);
$clients = $app->functions->htmlentities($clients);
$client_select = '';
if($_SESSION["s"]["user"]["typ"] == 'admin') $client_select .= "";
if(is_array($clients)) {
foreach( $clients as $client) {
$selected = ($client["groupid"] == $sys_groupid)?'SELECTED':'';
$client_select .= "\r\n";
}
}
$app->tpl->setVar("client_group_id", $client_select);
}
}
if ($_SESSION["s"]["user"]["typ"] != 'admin' && $app->auth->has_clients($_SESSION['s']['user']['userid'])) {
// Get the limits of the client
$client_group_id = $app->functions->intval($_SESSION["s"]["user"]["default_group"]);
$client = $app->db->queryOneRecord("SELECT client.client_id, client.contact_name, CONCAT(IF(client.company_name != '', CONCAT(client.company_name, ' :: '), ''), client.contact_name, ' (', client.username, IF(client.customer_no != '', CONCAT(', ', client.customer_no), ''), ')') as contactname, sys_group.name FROM sys_group, client WHERE sys_group.client_id = client.client_id and sys_group.groupid = ?", $client_group_id);
$client = $app->functions->htmlentities($client);
if ($domains_settings['use_domain_module'] != 'y') {
// load the list of clients
$sql = "SELECT sys_group.groupid, sys_group.name, CONCAT(IF(client.company_name != '', CONCAT(client.company_name, ' :: '), ''), client.contact_name, ' (', client.username, IF(client.customer_no != '', CONCAT(', ', client.customer_no), ''), ')') as contactname FROM sys_group, client WHERE sys_group.client_id = client.client_id AND client.parent_client_id = ? ORDER BY client.company_name, client.contact_name, sys_group.name";
$clients = $app->db->queryAllRecords($sql, $client['client_id']);
$clients = $app->functions->htmlentities($clients);
$tmp = $app->db->queryOneRecord("SELECT groupid FROM sys_group WHERE client_id = ?", $client['client_id']);
$client_select = '';
if(is_array($clients)) {
foreach( $clients as $client) {
$selected = ($client["groupid"] == $sys_groupid)?'SELECTED':'';
$client_select .= "\r\n";
}
}
$app->tpl->setVar("client_group_id", $client_select);
}
}
if($_SESSION["s"]["user"]["typ"] != 'admin')
{
$client_group_id = $app->functions->intval($_SESSION["s"]["user"]["default_group"]);
$client_dns = $app->db->queryOneRecord("SELECT dns_servers FROM sys_group, client WHERE sys_group.client_id = client.client_id and sys_group.groupid = ?", $client_group_id);
$client_dns['dns_servers_ids'] = explode(',', $client_dns['dns_servers']);
$only_one_server = count($client_dns['dns_servers_ids']) === 1;
$app->tpl->setVar('only_one_server', $only_one_server);
if ($only_one_server) {
$app->tpl->setVar('server_id_value', $client_dns['dns_servers_ids'][0]);
}
$sql = "SELECT server_id, server_name FROM server WHERE server_id IN ?";
$dns_servers = $app->db->queryAllRecords($sql, $client_dns['dns_servers_ids']);
$options_dns_servers = "";
foreach ($dns_servers as $dns_server) {
$options_dns_servers .= '';
}
$app->tpl->setVar("server_id", $options_dns_servers);
unset($options_dns_servers);
}
//* TODO: store dnssec-keys in the database - see below for non-admin-users
//* hide dnssec if we found dns-mirror-servers
$sql = "SELECT count(*) AS count FROM server WHERE mirror_server_id > 0 and dns_server = 1";
$rec=$app->db->queryOneRecord($sql);
$template_record = $app->db->queryOneRecord("SELECT * FROM dns_template WHERE template_id = ?", $template_id);
$fields = explode(',', $template_record['fields']);
if(is_array($fields)) {
foreach($fields as $field) {
if($field == 'DNSSEC' && $rec['count'] > 0) {
//hide dnssec
} else {
$app->tpl->setVar($field."_VISIBLE", 1);
$field = strtolower($field);
$app->tpl->setVar($field, $_POST[$field], true);
}
}
}
/*
* Now we have to check, if we should use the domain-module to select the domain
* or not
*/
if ($domains_settings['use_domain_module'] == 'y') {
/*
* The domain-module is in use.
*/
$domains = $app->tools_sites->getDomainModuleDomains("dns_soa", 'domain');
$domain_select = '';
if(is_array($domains) && sizeof($domains) > 0) {
/* We have domains in the list, so create the drop-down-list */
foreach( $domains as $domain) {
$domain_select .= "\r\n";
}
}
else {
/*
* We have no domains in the domain-list. This means, we can not add ANY new domain.
* To avoid, that the variable "domain_option" is empty and so the user can
* free enter a domain, we have to create a empty option!
*/
$domain_select .= "\r\n";
}
$app->tpl->setVar("domain_option", $domain_select);
}
if($_POST['create'] == 1) {
//* CSRF Check
$app->auth->csrf_token_check();
$error = '';
if ($post_server_id)
{
$client_group_id = $app->functions->intval($_SESSION["s"]["user"]["default_group"]);
$client = $app->db->queryOneRecord("SELECT dns_servers FROM sys_group, client WHERE sys_group.client_id = client.client_id and sys_group.groupid = ?", $client_group_id);
$client['dns_servers_ids'] = explode(',', $client['dns_servers']);
// Check if chosen server is in authorized servers for this client
if (!(is_array($client['dns_servers_ids']) && in_array($server_id, $client['dns_servers_ids'])) && $_SESSION["s"]["user"]["typ"] != 'admin') {
$error .= $app->lng('error_not_allowed_server_id').' ';
}
}
else
{
$error .= $app->lng('error_no_server_id').' ';
}
// apply filters
if(isset($_POST['domain']) && $_POST['domain'] != ''){
/* check if the domain module is used - and check if the selected domain can be used! */
if ($domains_settings['use_domain_module'] == 'y') {
if ($_SESSION["s"]["user"]["typ"] == 'admin' || $app->auth->has_clients($_SESSION['s']['user']['userid'])) {
$_POST['client_group_id'] = $app->tools_sites->getClientIdForDomain($_POST['domain']);
}
$domain_check = $app->tools_sites->checkDomainModuleDomain($_POST['domain']);
if(!$domain_check) {
// invalid domain selected
$_POST['domain'] = '';
} else {
$_POST['domain'] = $domain_check;
}
} else {
$_POST['domain'] = $app->functions->idn_encode($_POST['domain']);
$_POST['domain'] = strtolower($_POST['domain']);
}
}
if(isset($_POST['ns1']) && $_POST['ns1'] != ''){
$_POST['ns1'] = $app->functions->idn_encode($_POST['ns1']);
$_POST['ns1'] = strtolower($_POST['ns1']);
}
if(isset($_POST['ns2']) && $_POST['ns2'] != ''){
$_POST['ns2'] = $app->functions->idn_encode($_POST['ns2']);
$_POST['ns2'] = strtolower($_POST['ns2']);
}
if(isset($_POST['email']) && $_POST['email'] != ''){
$_POST['email'] = $app->functions->idn_encode($_POST['email']);
$_POST['email'] = strtolower($_POST['email']);
}
if(isset($_POST['domain']) && $_POST['domain'] == '') $error .= $app->lng('error_domain_empty').' ';
elseif(isset($_POST['domain']) && !preg_match('/^[\w\.\-]{2,64}\.[a-zA-Z0-9\-]{2,30}$/', $_POST['domain'])) $error .= $app->lng('error_domain_regex').' ';
if(isset($_POST['ip']) && $_POST['ip'] == '') $error .= $app->lng('error_ip_empty').' ';
if(isset($_POST['ipv6']) && $_POST['ipv6'] == '') $error .= $app->lng('error_ipv6_empty').' ';
if(isset($_POST['ns1']) && $_POST['ns1'] == '') $error .= $app->lng('error_ns1_empty').' ';
elseif(isset($_POST['ns1']) && !preg_match('/^[\w\.\-]{2,64}\.[a-zA-Z0-9]{2,30}$/', $_POST['ns1'])) $error .= $app->lng('error_ns1_regex').' ';
if(isset($_POST['ns2']) && $_POST['ns2'] == '') $error .= $app->lng('error_ns2_empty').' ';
elseif(isset($_POST['ns2']) && !preg_match('/^[\w\.\-]{2,64}\.[a-zA-Z0-9]{2,30}$/', $_POST['ns2'])) $error .= $app->lng('error_ns2_regex').' ';
if(isset($_POST['email']) && $_POST['email'] == '') $error .= $app->lng('error_email_empty').' ';
elseif(isset($_POST['email']) && filter_var($_POST['email'], FILTER_VALIDATE_EMAIL) === false) $error .= $app->lng('error_email_regex').' ';
// make sure that the record belongs to the client group and not the admin group when admin inserts it
if($_SESSION["s"]["user"]["typ"] == 'admin' && isset($_POST['client_group_id'])) {
$sys_groupid = $app->functions->intval($_POST['client_group_id']);
} elseif($app->auth->has_clients($_SESSION['s']['user']['userid']) && isset($_POST['client_group_id'])) {
$sys_groupid = $app->functions->intval($_POST['client_group_id']);
} else {
$sys_groupid = $_SESSION["s"]["user"]["default_group"];
}
$tform_def_file = "form/dns_soa.tform.php";
$app->uses('tform');
$app->tform->loadFormDef($tform_def_file);
if($_SESSION['s']['user']['typ'] != 'admin') {
if(!$app->tform->checkClientLimit('limit_dns_zone')) {
$error .= $app->tform->wordbook["limit_dns_zone_txt"];
}
if(!$app->tform->checkResellerLimit('limit_dns_zone')) {
$error .= $app->tform->wordbook["limit_dns_zone_txt"];
}
}
// replace template placeholders
$tpl_content = $template_record['template'];
if($_POST['domain'] != '') $tpl_content = str_replace('{DOMAIN}', $_POST['domain'], $tpl_content);
if($_POST['ip'] != '') $tpl_content = str_replace('{IP}', $_POST['ip'], $tpl_content);
if($_POST['ipv6'] != '') $tpl_content = str_replace('{IPV6}',$_POST['ipv6'],$tpl_content);
if($_POST['ns1'] != '') $tpl_content = str_replace('{NS1}', $_POST['ns1'], $tpl_content);
if($_POST['ns2'] != '') $tpl_content = str_replace('{NS2}', $_POST['ns2'], $tpl_content);
if($_POST['email'] != '') $tpl_content = str_replace('{EMAIL}', $_POST['email'], $tpl_content);
$enable_dnssec = (($_POST['dnssec'] == 'Y') ? 'Y' : 'N');
if(isset($_POST['dkim']) && preg_match('/^[\w\.\-\/]{2,255}\.[a-zA-Z0-9\-]{2,30}[\.]{0,1}$/', $_POST['domain'])) {
$sql = $app->db->queryOneRecord("SELECT dkim_public, dkim_selector FROM mail_domain WHERE domain = ? AND dkim = 'y' AND ".$app->tform->getAuthSQL('r'), $_POST['domain']);
$public_key = $sql['dkim_public'];
if ($public_key!='') {
if (empty($sql['dkim_selector'])) $sql['dkim_selector'] = 'default';
$dns_record=str_replace(array("\r\n", "\n", "\r", "-----BEGIN PUBLIC KEY-----", "-----END PUBLIC KEY-----"), '', $public_key);
$tpl_content .= "\n".'TXT|'.$sql['dkim_selector'].'._domainkey.'.$_POST['domain'].'.|v=DKIM1; t=s; p='.$dns_record;
}
}
// Parse the template
$tpl_rows = explode("\n", $tpl_content);
$section = '';
$vars = array();
$vars['xfer']='';
$dns_rr = array();
foreach($tpl_rows as $row) {
$row = trim($row);
if(substr($row, 0, 1) == '[') {
if($row == '[ZONE]') {
$section = 'zone';
} elseif($row == '[DNS_RECORDS]') {
$section = 'dns_records';
} else {
die('Unknown section type');
}
} else {
if($row != '') {
// Handle zone section
if($section == 'zone') {
$parts = explode('=', $row);
$key = trim($parts[0]);
$val = trim($parts[1]);
if($key != '') $vars[$key] = $val;
}
// Handle DNS Record rows
if($section == 'dns_records') {
$parts = explode('|', $row);
$dns_rr[] = array(
'name' => $parts[1],
'type' => $parts[0],
'data' => $parts[2],
'aux' => $parts[3],
'ttl' => $parts[4]
);
}
}
}
} // end foreach
if($vars['origin'] == '') $error .= $app->lng('error_origin_empty').' ';
if($vars['ns'] == '') $error .= $app->lng('error_ns_empty').' ';
if($vars['mbox'] == '') $error .= $app->lng('error_mbox_empty').' ';
if($vars['refresh'] == '') $error .= $app->lng('error_refresh_empty').' ';
if($vars['retry'] == '') $error .= $app->lng('error_retry_empty').' ';
if($vars['expire'] == '') $error .= $app->lng('error_expire_empty').' ';
if($vars['minimum'] == '') $error .= $app->lng('error_minimum_empty').' ';
if($vars['ttl'] == '') $error .= $app->lng('error_ttl_empty').' ';
if($error == '') {
// Insert the soa record
$sys_userid = $_SESSION['s']['user']['userid'];
$origin = $vars['origin'];
$ns = $vars['ns'];
$mbox = str_replace('@', '.', $vars['mbox']);
$refresh = $vars['refresh'];
$retry = $vars['retry'];
$expire = $vars['expire'];
$minimum = $vars['minimum'];
$ttl = $vars['ttl'];
$xfer = $vars['xfer'];
$also_notify = $vars['also_notify'];
$update_acl = $vars['update_acl'];
$serial = $app->validate_dns->increase_serial(0);
$insert_data = array(
"sys_userid" => $sys_userid,
"sys_groupid" => $sys_groupid,
"sys_perm_user" => 'riud',
"sys_perm_group" => 'riud',
"sys_perm_other" => '',
"server_id" => $server_id,
"origin" => $origin,
"ns" => $ns,
"mbox" => $mbox,
"serial" => $serial,
"refresh" => $refresh,
"retry" => $retry,
"expire" => $expire,
"minimum" => $minimum,
"ttl" => $ttl,
"active" => 'Y',
"xfer" => $xfer,
"also_notify" => $also_notify,
"update_acl" => $update_acl,
"dnssec_wanted" => $enable_dnssec
);
$dns_soa_id = $app->db->datalogInsert('dns_soa', $insert_data, 'id');
if($dns_soa_id > 0) $app->plugin->raiseEvent('dns:wizard:on_after_insert', $dns_soa_id);
// Insert the dns_rr records
if(is_array($dns_rr) && $dns_soa_id > 0) {
foreach($dns_rr as $rr) {
$insert_data = array(
"sys_userid" => $sys_userid,
"sys_groupid" => $sys_groupid,
"sys_perm_user" => 'riud',
"sys_perm_group" => 'riud',
"sys_perm_other" => '',
"server_id" => $server_id,
"zone" => $dns_soa_id,
"name" => $rr['name'],
"type" => $rr['type'],
"data" => $rr['data'],
"aux" => $rr['aux'],
"ttl" => $rr['ttl'],
"active" => 'Y'
);
$dns_rr_id = $app->db->datalogInsert('dns_rr', $insert_data, 'id');
}
}
header("Location: dns_soa_list.php");
exit;
} else {
$app->tpl->setVar("error", $error);
}
}
$app->tpl->setVar("title", 'DNS Wizard');
//* SET csrf token
$csrf_token = $app->auth->csrf_token_get('dns_wizard');
$app->tpl->setVar('_csrf_id',$csrf_token['csrf_id']);
$app->tpl->setVar('_csrf_key',$csrf_token['csrf_key']);
$lng_file = 'lib/lang/'.$app->functions->check_language($_SESSION['s']['language']).'_dns_wizard.lng';
include $lng_file;
$app->tpl->setVar($wb);
$app->tpl_defaults();
$app->tpl->pparse();
?>
ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/form/ 0000775 0000000 0000000 00000000000 13405765373 0030324 5 ustar 00root root 0000000 0000000 dns_a.tform.php 0000664 0000000 0000000 00000010140 13405765373 0033164 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/form 0 id must match with id of current user
$form["auth_preset"]["groupid"] = 0; // 0 = default groupid of the user, > 0 id must match with groupid of current user
$form["auth_preset"]["perm_user"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_group"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_other"] = ''; //r = read, i = insert, u = update, d = delete
$form["tabs"]['dns'] = array (
'title' => "DNS A",
'width' => 100,
'template' => "templates/dns_a_edit.htm",
'fields' => array (
//#################################
// Begin Datatable fields
//#################################
'server_id' => array (
'datatype' => 'INTEGER',
'formtype' => 'SELECT',
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'zone' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => @$app->functions->intval($_REQUEST["zone"]),
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'name' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'filters' => array( 0 => array( 'event' => 'SAVE',
'type' => 'IDNTOASCII'),
1 => array( 'event' => 'SHOW',
'type' => 'IDNTOUTF8'),
2 => array( 'event' => 'SAVE',
'type' => 'TOLOWER')
),
'validators' => array ( 0 => array ( 'type' => 'REGEX',
'regex' => '/^([a-zA-Z0-9\.\-\*]{0,64}|@)$/',
'errmsg'=> 'name_error_regex'),
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'type' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => 'A',
'value' => '',
'width' => '5',
'maxlength' => '5'
),
'data' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'validators' => array (
0 => array ( 'type' => 'NOTEMPTY', 'errmsg'=> 'data_error_empty'),
1 => array ( 'type' => 'ISIPV4', 'errmsg'=> 'ip_error_wrong'),
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
/*
'aux' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => '0',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
*/
'ttl' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'RANGE',
'range' => '60:',
'errmsg'=> 'ttl_range_error'),
),
'default' => '3600',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
'active' => array (
'datatype' => 'VARCHAR',
'formtype' => 'CHECKBOX',
'default' => 'Y',
'value' => array(0 => 'N', 1 => 'Y')
),
'stamp' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'serial' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
//#################################
// ENDE Datatable fields
//#################################
)
);
?>
dns_aaaa.tform.php 0000664 0000000 0000000 00000007616 13405765373 0033645 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/form 0 id must match with id of current user
$form["auth_preset"]["groupid"] = 0; // 0 = default groupid of the user, > 0 id must match with groupid of current user
$form["auth_preset"]["perm_user"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_group"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_other"] = ''; //r = read, i = insert, u = update, d = delete
$form["tabs"]['dns'] = array (
'title' => "DNS AAAA",
'width' => 100,
'template' => "templates/dns_aaaa_edit.htm",
'fields' => array (
//#################################
// Begin Datatable fields
//#################################
'server_id' => array (
'datatype' => 'INTEGER',
'formtype' => 'SELECT',
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'zone' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => @$app->functions->intval($_REQUEST["zone"]),
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'name' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'REGEX',
'regex' => '/^([a-zA-Z0-9\.\-\*]{0,64}|@)$/',
'errmsg'=> 'name_error_regex'),
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'type' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => 'AAAA',
'value' => '',
'width' => '5',
'maxlength' => '5'
),
'data' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'validators' => array (
0 => array ( 'type' => 'NOTEMPTY', 'errmsg'=> 'data_error_empty'),
1 => array ( 'type' => 'ISIPV6', 'errmsg'=> 'ip_error_wrong'),
),
'value' => '',
'width' => '30',
'maxlength' => '255',
'default' => ''
),
/*
'aux' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => '0',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
*/
'ttl' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'RANGE',
'range' => '60:',
'errmsg'=> 'ttl_range_error'),
),
'default' => '3600',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
'active' => array (
'datatype' => 'VARCHAR',
'formtype' => 'CHECKBOX',
'default' => 'Y',
'value' => array(0 => 'N', 1 => 'Y')
),
'stamp' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'serial' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
//#################################
// ENDE Datatable fields
//#################################
)
);
?>
dns_alias.tform.php 0000664 0000000 0000000 00000010705 13405765373 0034044 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/form 0 id must match with id of current user
$form["auth_preset"]["groupid"] = 0; // 0 = default groupid of the user, > 0 id must match with groupid of current user
$form["auth_preset"]["perm_user"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_group"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_other"] = ''; //r = read, i = insert, u = update, d = delete
$form["tabs"]['dns'] = array (
'title' => "DNS ALIAS",
'width' => 100,
'template' => "templates/dns_alias_edit.htm",
'fields' => array (
//#################################
// Begin Datatable fields
//#################################
'server_id' => array (
'datatype' => 'INTEGER',
'formtype' => 'SELECT',
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'zone' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => @$app->functions->intval($_REQUEST["zone"]),
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'name' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'filters' => array( 0 => array( 'event' => 'SAVE',
'type' => 'IDNTOASCII'),
1 => array( 'event' => 'SHOW',
'type' => 'IDNTOUTF8'),
2 => array( 'event' => 'SAVE',
'type' => 'TOLOWER')
),
'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
'errmsg'=> 'name_error_empty'),
1 => array ( 'type' => 'REGEX',
'regex' => '/^[a-zA-Z0-9\.\-\_]{1,255}$/',
'errmsg'=> 'name_error_regex'),
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'type' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => 'ALIAS',
'value' => '',
'width' => '5',
'maxlength' => '5'
),
'data' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'filters' => array( 0 => array( 'event' => 'SAVE',
'type' => 'IDNTOASCII'),
1 => array( 'event' => 'SHOW',
'type' => 'IDNTOUTF8'),
2 => array( 'event' => 'SAVE',
'type' => 'TOLOWER')
),
'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
'errmsg'=> 'data_error_empty'),
1 => array ( 'type' => 'REGEX',
'regex' => '/^[a-zA-Z0-9\.\-]{1,255}$/',
'errmsg'=> 'data_error_regex'),
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
/*
'aux' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => '0',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
*/
'ttl' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'RANGE',
'range' => '60:',
'errmsg'=> 'ttl_range_error'),
),
'default' => '3600',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
'active' => array (
'datatype' => 'VARCHAR',
'formtype' => 'CHECKBOX',
'default' => 'Y',
'value' => array(0 => 'N', 1 => 'Y')
),
'stamp' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'serial' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
//#################################
// ENDE Datatable fields
//#################################
)
);
?>
dns_caa.tform.php 0000664 0000000 0000000 00000005171 13405765373 0033500 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/form 'DNS CAA',
'width' => 100,
'template' => 'templates/dns_caa_edit.htm',
'fields' => array (
'server_id' => array (
'datatype' => 'INTEGER',
'formtype' => 'SELECT',
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'zone' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => @$app->functions->intval($_REQUEST['zone']),
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'name' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'filters' => array( 0 => array( 'event' => 'SAVE',
'type' => 'IDNTOASCII'),
1 => array( 'event' => 'SHOW',
'type' => 'IDNTOUTF8'),
2 => array( 'event' => 'SAVE',
'type' => 'TOLOWER')
),
'validators' => array ( 0 => array ( 'type' => 'REGEX',
'regex' => '/^[a-zA-Z0-9\.\-\_]{0,255}$/',
'errmsg'=> 'name_error_regex'),
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'type' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => 'CAA',
'value' => '',
'width' => '5',
'maxlength' => '5'
),
'data' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'ttl' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'RANGE',
'range' => '60:',
'errmsg'=> 'ttl_range_error'),
),
'default' => '3600',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
'active' => array (
'datatype' => 'VARCHAR',
'formtype' => 'CHECKBOX',
'default' => 'Y',
'value' => array(0 => 'N', 1 => 'Y')
),
'stamp' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'serial' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
)
);
?>
dns_cname.tform.php 0000664 0000000 0000000 00000010575 13405765373 0034043 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/form 0 id must match with id of current user
$form["auth_preset"]["groupid"] = 0; // 0 = default groupid of the user, > 0 id must match with groupid of current user
$form["auth_preset"]["perm_user"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_group"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_other"] = ''; //r = read, i = insert, u = update, d = delete
$form["tabs"]['dns'] = array (
'title' => "DNS CNAME",
'width' => 100,
'template' => "templates/dns_cname_edit.htm",
'fields' => array (
//#################################
// Begin Datatable fields
//#################################
'server_id' => array (
'datatype' => 'INTEGER',
'formtype' => 'SELECT',
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'zone' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => @$app->functions->intval($_REQUEST["zone"]),
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'name' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'filters' => array( 0 => array( 'event' => 'SAVE',
'type' => 'IDNTOASCII'),
1 => array( 'event' => 'SHOW',
'type' => 'IDNTOUTF8'),
2 => array( 'event' => 'SAVE',
'type' => 'TOLOWER')
),
'validators' => array ( 0 => array ( 'type' => 'REGEX',
'regex' => '/^[a-zA-Z0-9\.\-\*\_]{0,255}$/',
'errmsg'=> 'name_error_regex'),
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'type' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => 'CNAME',
'value' => '',
'width' => '5',
'maxlength' => '5'
),
'data' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'filters' => array( 0 => array( 'event' => 'SAVE',
'type' => 'IDNTOASCII'),
1 => array( 'event' => 'SHOW',
'type' => 'IDNTOUTF8'),
2 => array( 'event' => 'SAVE',
'type' => 'TOLOWER')
),
'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
'errmsg'=> 'data_error_empty'),
1 => array ( 'type' => 'REGEX',
'regex' => '/^[a-zA-Z0-9\.\-\_]{1,255}$/',
'errmsg'=> 'data_error_regex'),
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
/*
'aux' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => '0',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
*/
'ttl' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'RANGE',
'range' => '60:',
'errmsg'=> 'ttl_range_error'),
),
'default' => '3600',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
'active' => array (
'datatype' => 'VARCHAR',
'formtype' => 'CHECKBOX',
'default' => 'Y',
'value' => array(0 => 'N', 1 => 'Y')
),
'stamp' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'serial' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
//#################################
// ENDE Datatable fields
//#################################
)
);
?>
dns_dkim.tform.php 0000664 0000000 0000000 00000007601 13405765373 0033700 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/form 0 id must match with id of current user
$form["auth_preset"]["groupid"] = 0; // 0 = default groupid of the user, > 0 id must match with groupid of current user
$form["auth_preset"]["perm_user"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_group"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_other"] = ''; //r = read, i = insert, u = update, d = delete
$form["tabs"]['dns'] = array (
'title' => "DNS DKIM",
'width' => 100,
'template' => "templates/dns_dkim_edit.htm",
'fields' => array (
//#################################
// Begin Datatable fields
//#################################
'server_id' => array (
'datatype' => 'INTEGER',
'formtype' => 'SELECT',
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'zone' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => @$app->functions->intval($_REQUEST["zone"]),
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'name' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'filters' => array( 0 => array( 'event' => 'SAVE',
'type' => 'IDNTOASCII'),
1 => array( 'event' => 'SHOW',
'type' => 'IDNTOUTF8'),
2 => array( 'event' => 'SAVE',
'type' => 'TOLOWER')
),
'validators' => array ( 0 => array ( 'type' => 'REGEX',
'regex' => '/^[a-zA-Z0-9\.\-\_]{0,255}$/',
'errmsg'=> 'name_error_regex'),
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'type' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => 'TXT',
'value' => '',
'width' => '5',
'maxlength' => '5'
),
'data' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
'errmsg'=> 'data_error_empty'),
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'ttl' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'RANGE',
'range' => '60:',
'errmsg'=> 'ttl_range_error'),
),
'default' => '3600',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
'active' => array (
'datatype' => 'VARCHAR',
'formtype' => 'CHECKBOX',
'default' => 'Y',
'value' => array(0 => 'N', 1 => 'Y')
),
'stamp' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'serial' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
//#################################
// ENDE Datatable fields
//#################################
)
);
?>
dns_dmarc.tform.php 0000664 0000000 0000000 00000007632 13405765373 0034046 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/form 0 id must match with id of current user
$form["auth_preset"]["groupid"] = 0; // 0 = default groupid of the user, > 0 id must match with groupid of current user
$form["auth_preset"]["perm_user"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_group"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_other"] = ''; //r = read, i = insert, u = update, d = delete
$form["tabs"]['dns'] = array (
'title' => "DNS DMARC",
'width' => 100,
'template' => "templates/dns_dmarc_edit.htm",
'fields' => array (
//#################################
// Begin Datatable fields
//#################################
'server_id' => array (
'datatype' => 'INTEGER',
'formtype' => 'SELECT',
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'zone' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => @$app->functions->intval($_REQUEST["zone"]),
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'name' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'filters' => array( 0 => array( 'event' => 'SAVE',
'type' => 'IDNTOASCII'),
1 => array( 'event' => 'SHOW',
'type' => 'IDNTOUTF8'),
2 => array( 'event' => 'SAVE',
'type' => 'TOLOWER')
),
'validators' => array ( 0 => array ( 'type' => 'REGEX',
'regex' => '/^[a-zA-Z0-9\.\-\_]{0,255}$/',
'errmsg'=> 'name_error_regex'),
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'type' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => 'TXT',
'value' => '',
'width' => '5',
'maxlength' => '5'
),
'data' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
/*
'aux' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => '0',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
*/
'ttl' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'RANGE',
'range' => '60:',
'errmsg'=> 'ttl_range_error'),
),
'default' => '3600',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
'active' => array (
'datatype' => 'VARCHAR',
'formtype' => 'CHECKBOX',
'default' => 'Y',
),
'stamp' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'serial' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
//#################################
// End Datatable fields
//#################################
)
);
?>
dns_ds.tform.php 0000664 0000000 0000000 00000010512 13405765373 0033355 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/form 0 id must match with id of current user
$form["auth_preset"]["groupid"] = 0; // 0 = default groupid of the user, > 0 id must match with groupid of current user
$form["auth_preset"]["perm_user"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_group"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_other"] = ''; //r = read, i = insert, u = update, d = delete
$form["tabs"]['dns'] = array (
'title' => "DNS DS",
'width' => 100,
'template' => "templates/dns_ds_edit.htm",
'fields' => array (
//#################################
// Begin Datatable fields
//#################################
'server_id' => array (
'datatype' => 'INTEGER',
'formtype' => 'SELECT',
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'zone' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => @$app->functions->intval($_REQUEST["zone"]),
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'name' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'filters' => array( 0 => array( 'event' => 'SAVE',
'type' => 'IDNTOASCII'),
1 => array( 'event' => 'SHOW',
'type' => 'IDNTOUTF8'),
2 => array( 'event' => 'SAVE',
'type' => 'TOLOWER')
),
'validators' => array ( 0 => array ( 'type' => 'REGEX',
'regex' => '/^[a-zA-Z0-9\.\-\_]{0,255}$/',
'errmsg'=> 'name_error_regex'),
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'type' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => 'DS',
'value' => '',
'width' => '5',
'maxlength' => '5'
),
'data' => array ( //TODO Regex validation does not take place obviously - why ever...
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'validators' => array (
0 => array (
'type' => 'REGEX',
'regex' => "/^\d{1,5}\s\d{1,2}\s\d{1,2}\s.+$/",
'errmsg'=> 'invalid_type_ds'
)
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'ttl' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'RANGE',
'range' => '60:',
'errmsg'=> 'ttl_range_error'),
),
'default' => '3600',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
'active' => array (
'datatype' => 'VARCHAR',
'formtype' => 'CHECKBOX',
'default' => 'Y',
'value' => array(0 => 'N', 1 => 'Y')
),
'stamp' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'serial' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
//#################################
// ENDE Datatable fields
//#################################
)
);
if($_SESSION["s"]["user"]["typ"] == 'admin') {
unset($form["tabs"]['dns']['fields']['data']['validators']);
$form["tabs"]['dns']['fields']['data']['validators'][0]['type'] = 'NOTEMPTY';
$form["tabs"]['dns']['fields']['data']['validators'][0]['errmsg'] = 'data_error_empty';
$form["tabs"]['dns']['fields']['data']['maxlength'] = 512;
}
?>
dns_hinfo.tform.php 0000664 0000000 0000000 00000010162 13405765373 0034053 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/form 0 id must match with id of current user
$form["auth_preset"]["groupid"] = 0; // 0 = default groupid of the user, > 0 id must match with groupid of current user
$form["auth_preset"]["perm_user"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_group"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_other"] = ''; //r = read, i = insert, u = update, d = delete
$form["tabs"]['dns'] = array (
'title' => "DNS HINFO",
'width' => 100,
'template' => "templates/dns_hinfo_edit.htm",
'fields' => array (
//#################################
// Begin Datatable fields
//#################################
'server_id' => array (
'datatype' => 'INTEGER',
'formtype' => 'SELECT',
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'zone' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => @$app->functions->intval($_REQUEST["zone"]),
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'name' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'filters' => array( 0 => array( 'event' => 'SAVE',
'type' => 'IDNTOASCII'),
1 => array( 'event' => 'SHOW',
'type' => 'IDNTOUTF8'),
2 => array( 'event' => 'SAVE',
'type' => 'TOLOWER')
),
'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
'errmsg'=> 'name_error_empty'),
1 => array ( 'type' => 'REGEX',
'regex' => '/^[a-zA-Z0-9\.\-]{1,64}$/',
'errmsg'=> 'name_error_regex'),
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'type' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => 'HINFO',
'value' => '',
'width' => '5',
'maxlength' => '5'
),
'data' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
'errmsg'=> 'data_error_empty'),
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
/*
'aux' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => '0',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
*/
'ttl' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'RANGE',
'range' => '60:',
'errmsg'=> 'ttl_range_error'),
),
'default' => '3600',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
'active' => array (
'datatype' => 'VARCHAR',
'formtype' => 'CHECKBOX',
'default' => 'Y',
'value' => array(0 => 'N', 1 => 'Y')
),
'stamp' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'serial' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
//#################################
// ENDE Datatable fields
//#################################
)
);
?>
dns_loc.tform.php 0000664 0000000 0000000 00000011104 13405765373 0033522 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/form 0 id must match with id of current user
$form["auth_preset"]["groupid"] = 0; // 0 = default groupid of the user, > 0 id must match with groupid of current user
$form["auth_preset"]["perm_user"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_group"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_other"] = ''; //r = read, i = insert, u = update, d = delete
$form["tabs"]['dns'] = array (
'title' => "DNS LOC",
'width' => 100,
'template' => "templates/dns_loc_edit.htm",
'fields' => array (
//#################################
// Begin Datatable fields
//#################################
'server_id' => array (
'datatype' => 'INTEGER',
'formtype' => 'SELECT',
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'zone' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => @$app->functions->intval($_REQUEST["zone"]),
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'name' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'filters' => array( 0 => array( 'event' => 'SAVE',
'type' => 'IDNTOASCII'),
1 => array( 'event' => 'SHOW',
'type' => 'IDNTOUTF8'),
2 => array( 'event' => 'SAVE',
'type' => 'TOLOWER')
),
'validators' => array ( 0 => array ( 'type' => 'REGEX',
'regex' => '/^[a-zA-Z0-9\.\-\_]{0,255}$/',
'errmsg'=> 'name_error_regex'),
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'type' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => 'LOC',
'value' => '',
'width' => '5',
'maxlength' => '5'
),
'data' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'validators' => array (
0 => array (
'type' => 'NOTEMPTY',
'errmsg'=> 'data_error_empty'
),
//TODO Regex check... I guess I had an error in this regex as I'm not used to RegEx. Further the check did never actually take place...
// 1 => array (
// 'type' => 'REGEX',
// 'regex' => "/^(\d+\s)(\d+\s)?(\d+\s)?[NS]{1}\s(\d\s)(\d+\s)?(\d+\s)?[EW]{1}(\s\d+m?)(\s\d+m?)?(\s\d+m?)?(\s\d+m?)?$/s",
// 'errmsg'=> 'invalid_type_dkim'
// ),
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'ttl' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'RANGE',
'range' => '60:',
'errmsg'=> 'ttl_range_error'),
),
'default' => '3600',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
'active' => array (
'datatype' => 'VARCHAR',
'formtype' => 'CHECKBOX',
'default' => 'Y',
'value' => array(0 => 'N', 1 => 'Y')
),
'stamp' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'serial' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
//#################################
// ENDE Datatable fields
//#################################
)
);
if($_SESSION["s"]["user"]["typ"] == 'admin') {
unset($form["tabs"]['dns']['fields']['data']['validators']);
$form["tabs"]['dns']['fields']['data']['validators'][0]['type'] = 'NOTEMPTY';
$form["tabs"]['dns']['fields']['data']['validators'][0]['errmsg'] = 'data_error_empty';
$form["tabs"]['dns']['fields']['data']['maxlength'] = 512;
}
?>
dns_mx.tform.php 0000664 0000000 0000000 00000010545 13405765373 0033401 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/form 0 id must match with id of current user
$form["auth_preset"]["groupid"] = 0; // 0 = default groupid of the user, > 0 id must match with groupid of current user
$form["auth_preset"]["perm_user"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_group"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_other"] = ''; //r = read, i = insert, u = update, d = delete
$form["tabs"]['dns'] = array (
'title' => "DNS mx",
'width' => 100,
'template' => "templates/dns_mx_edit.htm",
'fields' => array (
//#################################
// Begin Datatable fields
//#################################
'server_id' => array (
'datatype' => 'INTEGER',
'formtype' => 'SELECT',
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'zone' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => @$app->functions->intval($_REQUEST["zone"]),
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'name' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'filters' => array( 0 => array( 'event' => 'SAVE',
'type' => 'IDNTOASCII'),
1 => array( 'event' => 'SHOW',
'type' => 'IDNTOUTF8'),
2 => array( 'event' => 'SAVE',
'type' => 'TOLOWER')
),
'validators' => array ( 0 => array ( 'type' => 'REGEX',
'regex' => '/^([a-zA-Z0-9\.\-\*]{0,255}|@)$/',
'errmsg'=> 'name_error_regex'),
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'type' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => 'MX',
'value' => '',
'width' => '5',
'maxlength' => '5'
),
'data' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'filters' => array( 0 => array( 'event' => 'SAVE',
'type' => 'IDNTOASCII'),
1 => array( 'event' => 'SHOW',
'type' => 'IDNTOUTF8'),
2 => array( 'event' => 'SAVE',
'type' => 'TOLOWER')
),
'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
'errmsg'=> 'data_error_empty'),
1 => array ( 'type' => 'REGEX',
'regex' => '/^[a-zA-Z0-9\.\-]{1,255}$/',
'errmsg'=> 'data_error_regex'),
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'aux' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => '10',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
'ttl' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'RANGE',
'range' => '60:',
'errmsg'=> 'ttl_range_error'),
),
'default' => '3600',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
'active' => array (
'datatype' => 'VARCHAR',
'formtype' => 'CHECKBOX',
'default' => 'Y',
'value' => array(0 => 'N', 1 => 'Y')
),
'stamp' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'serial' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
//#################################
// ENDE Datatable fields
//#################################
)
);
?>
dns_ns.tform.php 0000664 0000000 0000000 00000010546 13405765373 0033376 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/form 0 id must match with id of current user
$form["auth_preset"]["groupid"] = 0; // 0 = default groupid of the user, > 0 id must match with groupid of current user
$form["auth_preset"]["perm_user"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_group"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_other"] = ''; //r = read, i = insert, u = update, d = delete
$form["tabs"]['dns'] = array (
'title' => "DNS ns",
'width' => 100,
'template' => "templates/dns_ns_edit.htm",
'fields' => array (
//#################################
// Begin Datatable fields
//#################################
'server_id' => array (
'datatype' => 'INTEGER',
'formtype' => 'SELECT',
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'zone' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => @$app->functions->intval($_REQUEST["zone"]),
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'name' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'filters' => array( 0 => array( 'event' => 'SAVE',
'type' => 'IDNTOASCII'),
1 => array( 'event' => 'SHOW',
'type' => 'IDNTOUTF8'),
2 => array( 'event' => 'SAVE',
'type' => 'TOLOWER')
),
'validators' => array ( 0 => array ( 'type' => 'REGEX',
'regex' => '/^[_a-zA-Z0-9\.\-]{0,255}$/',
'errmsg'=> 'name_error_regex'),
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'type' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => 'NS',
'value' => '',
'width' => '5',
'maxlength' => '5'
),
'data' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'filters' => array( 0 => array( 'event' => 'SAVE',
'type' => 'IDNTOASCII'),
1 => array( 'event' => 'SHOW',
'type' => 'IDNTOUTF8'),
2 => array( 'event' => 'SAVE',
'type' => 'TOLOWER')
),
'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
'errmsg'=> 'data_error_empty'),
1 => array ( 'type' => 'REGEX',
'regex' => '/^[a-zA-Z0-9\.\-]{1,255}$/',
'errmsg'=> 'data_error_regex'),
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
/*
'aux' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => '0',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
*/
'ttl' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'RANGE',
'range' => '60:',
'errmsg'=> 'ttl_range_error'),
),
'default' => '3600',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
'active' => array (
'datatype' => 'VARCHAR',
'formtype' => 'CHECKBOX',
'default' => 'Y',
'value' => array(0 => 'N', 1 => 'Y')
),
'stamp' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'serial' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
//#################################
// ENDE Datatable fields
//#################################
)
);
?>
dns_ptr.tform.php 0000664 0000000 0000000 00000010553 13405765373 0033561 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/form 0 id must match with id of current user
$form["auth_preset"]["groupid"] = 0; // 0 = default groupid of the user, > 0 id must match with groupid of current user
$form["auth_preset"]["perm_user"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_group"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_other"] = ''; //r = read, i = insert, u = update, d = delete
$form["tabs"]['dns'] = array (
'title' => "DNS ptr",
'width' => 100,
'template' => "templates/dns_ptr_edit.htm",
'fields' => array (
//#################################
// Begin Datatable fields
//#################################
'server_id' => array (
'datatype' => 'INTEGER',
'formtype' => 'SELECT',
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'zone' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => @$app->functions->intval($_REQUEST["zone"]),
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'name' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'filters' => array( 0 => array( 'event' => 'SAVE',
'type' => 'IDNTOASCII'),
1 => array( 'event' => 'SHOW',
'type' => 'IDNTOUTF8'),
2 => array( 'event' => 'SAVE',
'type' => 'TOLOWER')
),
'validators' => array ( 0 => array ( 'type' => 'REGEX',
'regex' => '/^[a-zA-Z0-9\.\-]{1,256}$/',
'errmsg'=> 'name_error_regex'),
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'type' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => 'PTR',
'value' => '',
'width' => '5',
'maxlength' => '5'
),
'data' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'filters' => array( 0 => array( 'event' => 'SAVE',
'type' => 'IDNTOASCII'),
1 => array( 'event' => 'SHOW',
'type' => 'IDNTOUTF8'),
2 => array( 'event' => 'SAVE',
'type' => 'TOLOWER')
),
'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
'errmsg'=> 'data_error_empty'),
1 => array ( 'type' => 'REGEX',
'regex' => '/^[a-zA-Z0-9\.\-]{1,256}$/',
'errmsg'=> 'data_error_regex'),
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
/*
'aux' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => '0',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
*/
'ttl' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'RANGE',
'range' => '60:',
'errmsg'=> 'ttl_range_error'),
),
'default' => '3600',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
'active' => array (
'datatype' => 'VARCHAR',
'formtype' => 'CHECKBOX',
'default' => 'Y',
'value' => array(0 => 'N', 1 => 'Y')
),
'stamp' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'serial' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
//#################################
// ENDE Datatable fields
//#################################
)
);
?>
dns_rp.tform.php 0000664 0000000 0000000 00000010207 13405765373 0033371 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/form 0 id must match with id of current user
$form["auth_preset"]["groupid"] = 0; // 0 = default groupid of the user, > 0 id must match with groupid of current user
$form["auth_preset"]["perm_user"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_group"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_other"] = ''; //r = read, i = insert, u = update, d = delete
$form["tabs"]['dns'] = array (
'title' => "DNS RP",
'width' => 100,
'template' => "templates/dns_rp_edit.htm",
'fields' => array (
//#################################
// Begin Datatable fields
//#################################
'server_id' => array (
'datatype' => 'INTEGER',
'formtype' => 'SELECT',
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'zone' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => @$app->functions->intval($_REQUEST["zone"]),
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'name' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'filters' => array( 0 => array( 'event' => 'SAVE',
'type' => 'IDNTOASCII'),
1 => array( 'event' => 'SHOW',
'type' => 'IDNTOUTF8'),
2 => array( 'event' => 'SAVE',
'type' => 'TOLOWER')
),
'validators' => array ( 0 => array ( 'type' => 'REGEX',
'regex' => '/^[a-zA-Z0-9\.\-]{0,255}$/',
'errmsg'=> 'name_error_regex'),
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'type' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => 'RP',
'value' => '',
'width' => '5',
'maxlength' => '5'
),
'data' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
'errmsg'=> 'data_error_empty'),
1 => array ( 'type' => 'REGEX',
'regex' => '/^[\w\.\-\s]{1,128}$/',
'errmsg'=> 'data_error_regex'),
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
/*
'aux' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => '0',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
*/
'ttl' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'RANGE',
'range' => '60:',
'errmsg'=> 'ttl_range_error'),
),
'default' => '3600',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
'active' => array (
'datatype' => 'VARCHAR',
'formtype' => 'CHECKBOX',
'default' => 'Y',
'value' => array(0 => 'N', 1 => 'Y')
),
'stamp' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'serial' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
//#################################
// ENDE Datatable fields
//#################################
)
);
?>
dns_slave.tform.php 0000664 0000000 0000000 00000010447 13405765373 0034070 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/form 0 id must match with id of current user
$form["auth_preset"]["groupid"] = 0; // 0 = default groupid of the user, > 0 id must match with groupid of current user
$form["auth_preset"]["perm_user"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_group"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_other"] = ''; //r = read, i = insert, u = update, d = delete
$form["tabs"]['dns_slave'] = array (
'title' => "Secondary DNS Zone",
'width' => 100,
'template' => "templates/dns_slave_edit.htm",
'fields' => array (
//#################################
// Begin Datatable fields
//#################################
'server_id' => array (
'datatype' => 'INTEGER',
'formtype' => 'SELECT',
'datasource' => array ( 'type' => 'SQL',
'querystring' => 'SELECT server_id,server_name FROM server WHERE mirror_server_id = 0 AND dns_server = 1 AND {AUTHSQL} ORDER BY server_name',
'keyfield'=> 'server_id',
'valuefield'=> 'server_name'
),
'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
'errmsg'=> 'server_id_error_empty'),
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'origin' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'filters' => array( 0 => array( 'event' => 'SAVE',
'type' => 'IDNTOASCII'),
1 => array( 'event' => 'SHOW',
'type' => 'IDNTOUTF8'),
2 => array( 'event' => 'SAVE',
'type' => 'TOLOWER')
),
'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
'errmsg'=> 'origin_error_empty'),
/*
1 => array ( 'type' => 'UNIQUE',
'errmsg'=> 'origin_error_unique'),
*/
1 => array ( 'type' => 'REGEX',
'regex' => '/^[a-zA-Z0-9\.\-\/]{2,255}\.[a-zA-Z0-9\-]{2,30}[\.]{0,1}$/',
'errmsg'=> 'origin_error_regex'),
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255',
'searchable' => 1
),
'ns' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
/*
'validators' => array ( 0 => array ( 'type' => 'REGEX',
'regex' => '/^[0-9\.]{1,255}$/',
'errmsg'=> 'ns_error_regex'),
),
*/
'validators' => array ( 0 => array ( 'type' => 'ISIP',
'separator' => ',',
'errmsg'=> 'ns_error_regex'),
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255',
'searchable' => 2
),
'xfer' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'ISIP',
'allowempty' => 'y',
'separator' => ',',
'errmsg'=> 'xfer_error_regex'),
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'active' => array (
'datatype' => 'VARCHAR',
'formtype' => 'CHECKBOX',
'default' => 'Y',
'value' => array(0 => 'N', 1 => 'Y')
),
//#################################
// ENDE Datatable fields
//#################################
)
);
?>
dns_soa.tform.php 0000664 0000000 0000000 00000021063 13405765373 0033534 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/form 0 id must match with id of current user
$form["auth_preset"]["groupid"] = 0; // 0 = default groupid of the user, > 0 id must match with groupid of current user
$form["auth_preset"]["perm_user"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_group"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_other"] = ''; //r = read, i = insert, u = update, d = delete
$form["tabs"]['dns_soa'] = array (
'title' => "DNS Zone",
'width' => 100,
'template' => "templates/dns_soa_edit.htm",
'fields' => array (
//#################################
// Begin Datatable fields
//#################################
'server_id' => array (
'datatype' => 'INTEGER',
'formtype' => 'SELECT',
'datasource' => array ( 'type' => 'SQL',
'querystring' => 'SELECT server_id,server_name FROM server WHERE mirror_server_id = 0 AND dns_server = 1 AND {AUTHSQL} ORDER BY server_name',
'keyfield'=> 'server_id',
'valuefield'=> 'server_name'
),
'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
'errmsg'=> 'server_id_error_empty'),
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'origin' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'filters' => array( 0 => array( 'event' => 'SAVE',
'type' => 'IDNTOASCII'),
1 => array( 'event' => 'SHOW',
'type' => 'IDNTOUTF8'),
2 => array( 'event' => 'SAVE',
'type' => 'TOLOWER')
),
'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
'errmsg'=> 'origin_error_empty'),
1 => array ( 'type' => 'UNIQUE',
'errmsg'=> 'origin_error_unique'),
2 => array ( 'type' => 'REGEX',
'regex' => '/^[a-zA-Z0-9\.\-\/]{2,255}\.[a-zA-Z0-9\-]{2,30}[\.]{0,1}$/',
'errmsg'=> 'origin_error_regex'),
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255',
'searchable' => 1
),
'ns' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'filters' => array( 0 => array( 'event' => 'SAVE',
'type' => 'IDNTOASCII'),
1 => array( 'event' => 'SHOW',
'type' => 'IDNTOUTF8'),
2 => array( 'event' => 'SAVE',
'type' => 'TOLOWER')
),
'validators' => array ( 0 => array ( 'type' => 'REGEX',
'regex' => '/^[a-zA-Z0-9\.\-]{1,255}$/',
'errmsg'=> 'ns_error_regex'),
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255',
'searchable' => 2
),
'mbox' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'filters' => array( 0 => array( 'event' => 'SAVE',
'type' => 'IDNTOASCII'),
1 => array( 'event' => 'SHOW',
'type' => 'IDNTOUTF8'),
2 => array( 'event' => 'SAVE',
'type' => 'TOLOWER')
),
'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
'errmsg'=> 'mbox_error_empty'),
1 => array ( 'type' => 'REGEX',
'regex' => '/^[a-zA-Z0-9\.\-\_\+]{0,255}\.$/',
'errmsg'=> 'mbox_error_regex'),
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255',
'searchable' => 2
),
'serial' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
'refresh' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'RANGE',
'range' => '60:',
'errmsg'=> 'refresh_range_error'),
),
'default' => '7200',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
'retry' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'RANGE',
'range' => '60:',
'errmsg'=> 'retry_range_error'),
),
'default' => '540',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
'expire' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'RANGE',
'range' => '60:',
'errmsg'=> 'expire_range_error'),
),
'default' => '604800',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
'minimum' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'RANGE',
'range' => '60:',
'errmsg'=> 'minimum_range_error'),
),
'default' => '3600',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
'ttl' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'RANGE',
'range' => '60:',
'errmsg'=> 'ttl_range_error'),
),
'default' => '3600',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
'xfer' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'CUSTOM',
'class' => 'validate_dns',
'function' => 'validate_xfer',
'allowempty' => 'y',
'separator' => ',',
'errmsg'=> 'xfer_error_regex'),
),
/*
'validators' => array ( 0 => array ( 'type' => 'ISIP',
'allowempty' => 'y',
'separator' => ',',
'errmsg'=> 'xfer_error_regex'),
),
*/
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'also_notify' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'ISIP',
'allowempty' => 'y',
'separator' => ',',
'errmsg'=> 'also_notify_error_regex'
),
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'update_acl' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'filters' => array(
0 => array( 'event' => 'SAVE',
'type' => 'STRIPTAGS'),
1 => array( 'event' => 'SAVE',
'type' => 'STRIPNL')
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'active' => array (
'datatype' => 'VARCHAR',
'formtype' => 'CHECKBOX',
'default' => 'Y',
'value' => array(0 => 'N', 1 => 'Y')
),
'dnssec_wanted' => array (
'datatype' => 'VARCHAR',
'formtype' => 'CHECKBOX',
'default' => 'Y',
'value' => array(0 => 'N', 1 => 'Y')
),
'dnssec_info' => array (
'datatype' => 'TEXT',
'formtype' => 'TEXTAREA',
'filters' => array(
0 => array( 'event' => 'SAVE',
'type' => 'STRIPTAGS')
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '10000'
),
//#################################
// ENDE Datatable fields
//#################################
)
);
$form["tabs"]['dns_records'] = array (
'title' => "Records",
'width' => 100,
'template' => "templates/dns_records_edit.htm",
'fields' => array (
//#################################
// Begin Datatable fields
//#################################
//#################################
// ENDE Datatable fields
//#################################
),
'plugins' => array (
'dns_records' => array (
'class' => 'plugin_listview',
'options' => array(
'listdef' => 'list/dns_a.list.php',
'sqlextwhere' => "zone = ".@$app->functions->intval(@$_REQUEST['id']),
'sql_order_by' => "ORDER BY type, name"
)
)
)
);
// show update acl to admins only.
if(!$app->auth->is_admin()) unset($form["tabs"]['dns_soa']['fields']['update_acl']);
?>
dns_spf.tform.php 0000664 0000000 0000000 00000007620 13405765373 0033545 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/form 0 id must match with id of current user
$form["auth_preset"]["groupid"] = 0; // 0 = default groupid of the user, > 0 id must match with groupid of current user
$form["auth_preset"]["perm_user"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_group"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_other"] = ''; //r = read, i = insert, u = update, d = delete
$form["tabs"]['dns'] = array (
'title' => "DNS SPF",
'width' => 100,
'template' => "templates/dns_spf_edit.htm",
'fields' => array (
//#################################
// Begin Datatable fields
//#################################
'server_id' => array (
'datatype' => 'INTEGER',
'formtype' => 'SELECT',
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'zone' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => @$app->functions->intval($_REQUEST["zone"]),
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'name' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'filters' => array( 0 => array( 'event' => 'SAVE',
'type' => 'IDNTOASCII'),
1 => array( 'event' => 'SHOW',
'type' => 'IDNTOUTF8'),
2 => array( 'event' => 'SAVE',
'type' => 'TOLOWER')
),
'validators' => array ( 0 => array ( 'type' => 'REGEX',
'regex' => '/^[a-zA-Z0-9\.\-\_]{0,255}$/',
'errmsg'=> 'name_error_regex'),
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'type' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => 'TXT',
'value' => '',
'width' => '5',
'maxlength' => '5'
),
'data' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
/*
'aux' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => '0',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
*/
'ttl' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'RANGE',
'range' => '60:',
'errmsg'=> 'ttl_range_error'),
),
'default' => '3600',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
'active' => array (
'datatype' => 'VARCHAR',
'formtype' => 'CHECKBOX',
'default' => 'Y',
),
'stamp' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'serial' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
//#################################
// End Datatable fields
//#################################
)
);
?>
dns_srv.tform.php 0000664 0000000 0000000 00000010240 13405765373 0033557 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/form 0 id must match with id of current user
$form["auth_preset"]["groupid"] = 0; // 0 = default groupid of the user, > 0 id must match with groupid of current user
$form["auth_preset"]["perm_user"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_group"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_other"] = ''; //r = read, i = insert, u = update, d = delete
$form["tabs"]['dns'] = array (
'title' => "DNS SRV",
'width' => 100,
'template' => "templates/dns_srv_edit.htm",
'fields' => array (
//#################################
// Begin Datatable fields
//#################################
'server_id' => array (
'datatype' => 'INTEGER',
'formtype' => 'SELECT',
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'zone' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => @$app->functions->intval($_REQUEST["zone"]),
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'name' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'filters' => array( 0 => array( 'event' => 'SAVE',
'type' => 'IDNTOASCII'),
1 => array( 'event' => 'SHOW',
'type' => 'IDNTOUTF8'),
2 => array( 'event' => 'SAVE',
'type' => 'TOLOWER')
),
'validators' => array ( 0 => array ( 'type' => 'REGEX',
'regex' => '/^[a-zA-Z0-9\.\-_]{0,255}$/',
'errmsg'=> 'name_error_regex'),
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'type' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => 'SRV',
'value' => '',
'width' => '5',
'maxlength' => '5'
),
'data' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
'errmsg'=> 'data_error_empty'),
1 => array ( 'type' => 'REGEX',
'regex' => '/^[\w\.\-]{0,64}\s[\w\.\-]{0,64}\s[\w\.\-]{0,64}$/',
'errmsg'=> 'srv_error_regex'),
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'aux' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => '0',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
'ttl' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'RANGE',
'range' => '60:',
'errmsg'=> 'ttl_range_error'),
),
'default' => '3600',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
'active' => array (
'datatype' => 'VARCHAR',
'formtype' => 'CHECKBOX',
'default' => 'Y',
'value' => array(0 => 'N', 1 => 'Y')
),
'stamp' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'serial' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
//#################################
// ENDE Datatable fields
//#################################
)
);
?>
dns_template.tform.php 0000664 0000000 0000000 00000006617 13405765373 0034575 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/form 0 id must match with id of current user
$form["auth_preset"]["groupid"] = 0; // 0 = default groupid of the user, > 0 id must match with groupid of current user
$form["auth_preset"]["perm_user"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_group"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_other"] = ''; //r = read, i = insert, u = update, d = delete
//* TODO: store dnssec-keys in the database - see below for non-admin-users
//* hide dnssec if we found dns-mirror-servers
$sql = "SELECT count(*) AS count FROM server WHERE mirror_server_id > 0 and dns_server = 1";
$rec=$app->db->queryOneRecord($sql);
if($rec['count'] > 0) {
$field_values = array('DOMAIN' => 'Domain', 'IP' => 'IP Address', 'IPV6' => 'IPv6 Address', 'NS1' => 'NS 1', 'NS2' => 'NS 2', 'EMAIL' => 'Email', 'DKIM' => 'DKIM');
} else {
$field_values = array('DOMAIN' => 'Domain', 'IP' => 'IP Address', 'IPV6' => 'IPv6 Address', 'NS1' => 'NS 1', 'NS2' => 'NS 2', 'EMAIL' => 'Email', 'DKIM' => 'DKIM', 'DNSSEC' => 'DNSSEC');
}
$form["tabs"]['template'] = array (
'title' => "DNS Template",
'width' => 100,
'template' => "templates/dns_template_edit.htm",
'fields' => array (
//#################################
// Begin Datatable fields
//#################################
'name' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
'errmsg'=> 'name_error_empty'),
),
'default' => '',
'value' => '',
'width' => '40',
'maxlength' => '255'
),
'fields' => array (
'datatype' => 'VARCHAR',
'formtype' => 'CHECKBOXARRAY',
'default' => '',
'separator' => ',',
'value' => $field_values,
'validators' => array ( 0 => array ('type' => 'CUSTOM',
'class' => 'validate_dkim',
'function' => 'check_template',
'errmsg'=> 'dkim_domain_error'),
),
),
'template' => array (
'datatype' => 'TEXT',
'formtype' => 'TEXTAREA',
'default' => '',
'value' => '',
'cols' => '40',
'rows' => '15'
),
'visible' => array (
'datatype' => 'VARCHAR',
'formtype' => 'CHECKBOX',
'default' => 'Y',
'value' => array(0 => 'N', 1 => 'Y')
),
//#################################
// ENDE Datatable fields
//#################################
)
);
?>
dns_tlsa.tform.php 0000664 0000000 0000000 00000007577 13405765373 0033733 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/form 0 id must match with id of current user
$form["auth_preset"]["groupid"] = 0; // 0 = default groupid of the user, > 0 id must match with groupid of current user
$form["auth_preset"]["perm_user"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_group"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_other"] = ''; //r = read, i = insert, u = update, d = delete
$form["tabs"]['dns'] = array (
'title' => "DNS tlsa",
'width' => 100,
'template' => "templates/dns_tlsa_edit.htm",
'fields' => array (
//#################################
// Begin Datatable fields
//#################################
'server_id' => array (
'datatype' => 'INTEGER',
'formtype' => 'SELECT',
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'zone' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => @$app->functions->intval($_REQUEST["zone"]),
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'name' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'filters' => array( 0 => array( 'event' => 'SAVE',
'type' => 'TOLOWER')
),
'validators' => array ( 0 => array ( 'type' => 'REGEX',
'regex' => '/^\_\d{1,5}\.\_(tcp|udp)\.[a-zA-Z0-9\.\-]{1,255}$/',
'errmsg'=> 'name_error_regex')
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'type' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => 'TLSA',
'value' => '',
'width' => '5',
'maxlength' => '5'
),
'data' => array (
'datatype' => 'TEXT',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
'errmsg'=> 'data_error_empty'),
1 => array ( 'type' => 'REGEX',
'regex' => '/^\d \d \d [a-zA-Z0-9]*$/',
'errmsg'=> 'data_error_regex')
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'ttl' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'RANGE',
'range' => '60:',
'errmsg'=> 'ttl_range_error'),
),
'default' => '7200',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
'active' => array (
'datatype' => 'VARCHAR',
'formtype' => 'CHECKBOX',
'default' => 'Y',
'value' => array(0 => 'N', 1 => 'Y')
),
'stamp' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'serial' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
//#################################
// ENDE Datatable fields
//#################################
)
);
?>
dns_txt.tform.php 0000664 0000000 0000000 00000011132 13405765373 0033565 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/form 0 id must match with id of current user
$form["auth_preset"]["groupid"] = 0; // 0 = default groupid of the user, > 0 id must match with groupid of current user
$form["auth_preset"]["perm_user"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_group"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_other"] = ''; //r = read, i = insert, u = update, d = delete
$form["tabs"]['dns'] = array (
'title' => "DNS TXT",
'width' => 100,
'template' => "templates/dns_txt_edit.htm",
'fields' => array (
//#################################
// Begin Datatable fields
//#################################
'server_id' => array (
'datatype' => 'INTEGER',
'formtype' => 'SELECT',
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'zone' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => @$app->functions->intval($_REQUEST["zone"]),
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'name' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'filters' => array( 0 => array( 'event' => 'SAVE',
'type' => 'IDNTOASCII'),
1 => array( 'event' => 'SHOW',
'type' => 'IDNTOUTF8'),
2 => array( 'event' => 'SAVE',
'type' => 'TOLOWER')
),
'validators' => array ( 0 => array ( 'type' => 'REGEX',
'regex' => '/^(\*\.|[a-zA-Z0-9\.\-\_]){0,255}$/',
'errmsg'=> 'name_error_regex'),
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'type' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => 'TXT',
'value' => '',
'width' => '5',
'maxlength' => '5'
),
'data' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'validators' => array (
0 => array (
'type' => 'NOTEMPTY',
'errmsg'=> 'data_error_empty'
),
1 => array (
'type' => 'REGEX',
'regex' => "/^((?!v=DKIM).)*$/s",
'errmsg'=> 'invalid_type_dkim'
),
2 => array (
'type' => 'REGEX',
'regex' => "/^((?!v=DMARC1; ).)*$/s",
'errmsg'=> 'invalid_type_dmarc'),
3 => array (
'type' => 'REGEX',
'regex' => "/^((?!v=spf).)*$/s",
'errmsg'=> 'invalid_type_spf'
),
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'ttl' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'RANGE',
'range' => '60:',
'errmsg'=> 'ttl_range_error'),
),
'default' => '3600',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
'active' => array (
'datatype' => 'VARCHAR',
'formtype' => 'CHECKBOX',
'default' => 'Y',
'value' => array(0 => 'N', 1 => 'Y')
),
'stamp' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
'serial' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '10',
'maxlength' => '10'
),
//#################################
// ENDE Datatable fields
//#################################
)
);
if($_SESSION["s"]["user"]["typ"] == 'admin') {
unset($form["tabs"]['dns']['fields']['data']['validators']);
$form["tabs"]['dns']['fields']['data']['validators'][0]['type'] = 'NOTEMPTY';
$form["tabs"]['dns']['fields']['data']['validators'][0]['errmsg'] = 'data_error_empty';
$form["tabs"]['dns']['fields']['data']['maxlength'] = 512;
}
?>
ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/ 0000775 0000000 0000000 00000000000 13405765373 0030127 5 ustar 00root root 0000000 0000000 admin.conf.php 0000664 0000000 0000000 00000000011 13405765373 0032565 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib
ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang/ 0000775 0000000 0000000 00000000000 13405765373 0031050 5 ustar 00root root 0000000 0000000 ar.lng 0000664 0000000 0000000 00000001165 13405765373 0032100 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ar_dns_a.lng 0000664 0000000 0000000 00000001315 13405765373 0033241 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ar_dns_a_list.lng 0000664 0000000 0000000 00000000673 13405765373 0034302 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ar_dns_aaaa.lng 0000664 0000000 0000000 00000001233 13405765373 0033703 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ar_dns_alias.lng 0000664 0000000 0000000 00000001252 13405765373 0034112 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ar_dns_caa.lng 0000664 0000000 0000000 00000002075 13405765373 0033551 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ar_dns_cname.lng 0000664 0000000 0000000 00000001356 13405765373 0034111 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ar_dns_dkim.lng 0000664 0000000 0000000 00000001140 13405765373 0033741 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ar_dns_dmarc.lng 0000664 0000000 0000000 00000006060 13405765373 0034111 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ar_dns_ds.lng 0000664 0000000 0000000 00000001303 13405765373 0033424 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ar_dns_hinfo.lng 0000664 0000000 0000000 00000001255 13405765373 0034127 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ar_dns_import.lng 0000664 0000000 0000000 00000001432 13405765373 0034333 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ar_dns_loc.lng 0000664 0000000 0000000 00000001211 13405765373 0033571 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ar_dns_mx.lng 0000664 0000000 0000000 00000001414 13405765373 0033445 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ar_dns_ns.lng 0000664 0000000 0000000 00000001230 13405765373 0033435 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ar_dns_ptr.lng 0000664 0000000 0000000 00000001247 13405765373 0033632 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ar_dns_rp.lng 0000664 0000000 0000000 00000001277 13405765373 0033451 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ar_dns_slave.lng 0000664 0000000 0000000 00000001411 13405765373 0034130 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang these IPs (comma separated list)';
$wb['server_id_error_empty'] = 'No server selected';
$wb['origin_error_empty'] = 'Zone empty.';
$wb['origin_error_unique'] = 'There is already a record for this zone.';
$wb['origin_error_regex'] = 'Zone has a invalid format.';
$wb['ns_error_regex'] = 'NS has a invalid format.';
$wb['eg_domain_tld'] = 'e.g. domain.tld.';
$wb['ipv4_form_txt'] = 'Separate multiple IPs with commas';
$wb['secondary_zone_txt'] = 'Secondary DNS Zone';
?>
ar_dns_slave_admin_list.lng 0000664 0000000 0000000 00000000460 13405765373 0036336 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ar_dns_slave_list.lng 0000664 0000000 0000000 00000000415 13405765373 0035166 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ar_dns_soa.lng 0000664 0000000 0000000 00000005115 13405765373 0033605 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang these IPs (comma separated list)';
$wb['active_txt'] = 'Active';
$wb['limit_dns_zone_txt'] = 'The max. number of DNS zones for your account is reached.';
$wb['client_txt'] = 'Client';
$wb['no_zone_perm'] = 'You do not have the permission to add a record to this DNS zone.';
$wb['server_id_error_empty'] = 'No server selected';
$wb['origin_error_empty'] = 'Zone empty.';
$wb['origin_error_unique'] = 'There is already a record for this zone.';
$wb['origin_error_regex'] = 'Zone has a invalid format.';
$wb['ns_error_regex'] = 'NS has a invalid format.';
$wb['mbox_error_empty'] = 'Email is empty.';
$wb['mbox_error_regex'] = 'Email format invalid.';
$wb['also_notify_txt'] = 'Also Notify';
$wb['also_notify_error_regex'] = 'Please use an IP address.';
$wb['update_acl_txt'] = 'Update ACL';
$wb['seconds_txt'] = 'Seconds';
$wb['eg_domain_tld'] = 'e.g. domain.tld';
$wb['eg_ns1_domain_tld'] = 'e.g. ns1.domain.tld';
$wb['eg_webmaster_domain_tld'] = 'e.g. webmaster@domain.tld (saved in zone file format, webmaster.domain.tld.)';
$wb['The Domain can not be changed. Please ask your Administrator if you want to change the domain name.'] = 'The Domain can not be changed. Please ask your Administrator if you want to change the domain name.';
$wb['refresh_range_error'] = 'Min. Refresh time is 60 seconds.';
$wb['retry_range_error'] = 'Min. Retry time is 60 seconds.';
$wb['expire_range_error'] = 'Min. Expire time is 60 seconds.';
$wb['minimum_range_error'] = 'Min. Minimum time is 60 seconds.';
$wb['ttl_range_error'] = 'Min. TTL time is 60 seconds.';
$wb['xfer_error_regex'] = 'Also notify: Please use an IP address.';
$wb['dnssec_info_txt'] = 'DNSSEC DS-Data for registry';
$wb['dnssec_wanted_txt'] = 'Sign zone (DNSSEC)';
$wb['dnssec_wanted_info'] = 'When disabling DNSSEC keys are not going to be deleted if DNSSEC was enabled before and keys already have been generated but the zone will no longer be delivered in signed format afterwards. If you use PowerDNS, keys WILL be deleted!';
$wb['error_not_allowed_server_id'] = 'The selected server is not allowed for this account.';
$wb['soa_cannot_be_changed_txt'] = 'Die Zone (SOA) kann nicht verändert werden. Bitte kontaktieren Sie ihren Administrator, um die Zone zu ändern.';
$wb['configuration_error_txt'] = 'CONFIGURATION ERROR';
?>
ar_dns_soa_admin_list.lng 0000664 0000000 0000000 00000000530 13405765373 0036004 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ar_dns_soa_list.lng 0000664 0000000 0000000 00000000544 13405765373 0034641 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ar_dns_spf.lng 0000664 0000000 0000000 00000003033 13405765373 0033610 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ar_dns_srv.lng 0000664 0000000 0000000 00000001561 13405765373 0033636 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ar_dns_template.lng 0000664 0000000 0000000 00000000203 13405765373 0034627 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ar_dns_template_list.lng 0000664 0000000 0000000 00000000237 13405765373 0035671 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ar_dns_tlsa.lng 0000664 0000000 0000000 00000001352 13405765373 0033765 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ar_dns_txt.lng 0000664 0000000 0000000 00000001537 13405765373 0033646 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ar_dns_wizard.lng 0000664 0000000 0000000 00000003701 13405765373 0034322 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
bg.lng 0000664 0000000 0000000 00000001305 13405765373 0032062 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
bg_dns_a.lng 0000664 0000000 0000000 00000001722 13405765373 0033231 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
bg_dns_a_list.lng 0000664 0000000 0000000 00000001045 13405765373 0034262 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
bg_dns_aaaa.lng 0000664 0000000 0000000 00000001425 13405765373 0033674 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
bg_dns_alias.lng 0000664 0000000 0000000 00000001441 13405765373 0034100 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
bg_dns_caa.lng 0000664 0000000 0000000 00000003215 13405765373 0033534 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
bg_dns_cname.lng 0000664 0000000 0000000 00000001515 13405765373 0034074 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
bg_dns_dkim.lng 0000664 0000000 0000000 00000001140 13405765373 0033727 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
bg_dns_dmarc.lng 0000664 0000000 0000000 00000006060 13405765373 0034077 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
bg_dns_ds.lng 0000664 0000000 0000000 00000001303 13405765373 0033412 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
bg_dns_hinfo.lng 0000664 0000000 0000000 00000001363 13405765373 0034115 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
bg_dns_import.lng 0000664 0000000 0000000 00000002032 13405765373 0034316 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
bg_dns_loc.lng 0000664 0000000 0000000 00000001211 13405765373 0033557 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
bg_dns_mx.lng 0000664 0000000 0000000 00000001553 13405765373 0033437 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
bg_dns_ns.lng 0000664 0000000 0000000 00000001564 13405765373 0033435 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
bg_dns_ptr.lng 0000664 0000000 0000000 00000001522 13405765373 0033614 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
bg_dns_rp.lng 0000664 0000000 0000000 00000001635 13405765373 0033435 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
bg_dns_slave.lng 0000664 0000000 0000000 00000002007 13405765373 0034120 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang тези IP-та (разделен с запетая лист)';
$wb['server_id_error_empty'] = 'Няма избран сървър';
$wb['origin_error_empty'] = 'Полето с зоната е празно.';
$wb['origin_error_unique'] = 'Вече има запис за тази зона.';
$wb['origin_error_regex'] = 'Името на зоната е в грешен формат.';
$wb['ns_error_regex'] = 'NS е в грешен формат.';
$wb['eg_domain_tld'] = 'примерно domain.tld.';
$wb['ipv4_form_txt'] = 'Separate multiple IPs with commas';
$wb['secondary_zone_txt'] = 'Secondary DNS Zone';
?>
bg_dns_slave_admin_list.lng 0000664 0000000 0000000 00000000460 13405765373 0036324 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
bg_dns_slave_list.lng 0000664 0000000 0000000 00000000502 13405765373 0035151 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
bg_dns_soa.lng 0000664 0000000 0000000 00000005714 13405765373 0033600 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang тези IPта (изброените IPта трябва да са разделени с запетайка)';
$wb['active_txt'] = 'Активен';
$wb['limit_dns_zone_txt'] = 'The max. number of DNS zones for your account is reached.';
$wb['client_txt'] = 'Клиент';
$wb['no_zone_perm'] = 'Вие намате права да добавяте запис в тази DNS зона.';
$wb['server_id_error_empty'] = 'Няма избран сървър';
$wb['origin_error_empty'] = 'Зоната е празна.';
$wb['origin_error_unique'] = 'Вече има такъв запис в тази зона.';
$wb['origin_error_regex'] = 'Zone has a invalid format.';
$wb['ns_error_regex'] = 'NS запис ае в грешен формат.';
$wb['mbox_error_empty'] = 'Полето с емайл е празно.';
$wb['mbox_error_regex'] = 'Полето е емайл е в грешен формат.';
$wb['also_notify_txt'] = 'Also Notify';
$wb['update_acl_txt'] = 'Обнови ACL';
$wb['also_notify_error_regex'] = 'Please use an IP address.';
$wb['seconds_txt'] = 'Seconds';
$wb['eg_domain_tld'] = 'e.g. domain.tld';
$wb['eg_ns1_domain_tld'] = 'e.g. ns1.domain.tld';
$wb['eg_webmaster_domain_tld'] = 'e.g. webmaster@domain.tld';
$wb['The Domain can not be changed. Please ask your Administrator if you want to change the domain name.'] = 'Този домейн неможе да бъде променен. Попитайте Администратора ако искате да правите промени по домейна.';
$wb['refresh_range_error'] = 'Min. Refresh time is 60 seconds.';
$wb['retry_range_error'] = 'Min. Retry time is 60 seconds.';
$wb['expire_range_error'] = 'Min. Expire time is 60 seconds.';
$wb['minimum_range_error'] = 'Min. Minimum time is 60 seconds.';
$wb['ttl_range_error'] = 'Min. TTL time is 60 seconds.';
$wb['xfer_error_regex'] = 'Also notify: Please use an IP address.';
$wb['dnssec_info_txt'] = 'DNSSEC DS-Data for registry';
$wb['dnssec_wanted_txt'] = 'Sign zone (DNSSEC)';
$wb['dnssec_wanted_info'] = 'When disabling DNSSEC keys are not going to be deleted if DNSSEC was enabled before and keys already have been generated but the zone will no longer be delivered in signed format afterwards. If you use PowerDNS, keys WILL be deleted!';
$wb['error_not_allowed_server_id'] = 'The selected server is not allowed for this account.';
$wb['soa_cannot_be_changed_txt'] = 'Die Zone (SOA) kann nicht verändert werden. Bitte kontaktieren Sie ihren Administrator, um die Zone zu ändern.';
$wb['configuration_error_txt'] = 'CONFIGURATION ERROR';
bg_dns_soa_admin_list.lng 0000664 0000000 0000000 00000000530 13405765373 0035772 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
bg_dns_soa_list.lng 0000664 0000000 0000000 00000000635 13405765373 0034630 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
bg_dns_spf.lng 0000664 0000000 0000000 00000003033 13405765373 0033576 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
bg_dns_srv.lng 0000664 0000000 0000000 00000001727 13405765373 0033630 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
bg_dns_template.lng 0000664 0000000 0000000 00000000222 13405765373 0034616 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
bg_dns_template_list.lng 0000664 0000000 0000000 00000000307 13405765373 0035655 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
bg_dns_tlsa.lng 0000664 0000000 0000000 00000001352 13405765373 0033753 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
bg_dns_txt.lng 0000664 0000000 0000000 00000001732 13405765373 0033631 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
bg_dns_wizard.lng 0000664 0000000 0000000 00000004136 13405765373 0034313 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
br.lng 0000664 0000000 0000000 00000001137 13405765373 0032100 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
br_dns_a.lng 0000664 0000000 0000000 00000001314 13405765373 0033241 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
br_dns_a_list.lng 0000664 0000000 0000000 00000000723 13405765373 0034277 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
br_dns_aaaa.lng 0000664 0000000 0000000 00000001233 13405765373 0033704 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
br_dns_alias.lng 0000664 0000000 0000000 00000001270 13405765373 0034113 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
br_dns_caa.lng 0000664 0000000 0000000 00000002075 13405765373 0033552 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
br_dns_cname.lng 0000664 0000000 0000000 00000001346 13405765373 0034111 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
br_dns_dkim.lng 0000664 0000000 0000000 00000001150 13405765373 0033743 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
br_dns_dmarc.lng 0000664 0000000 0000000 00000006510 13405765373 0034112 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
br_dns_ds.lng 0000664 0000000 0000000 00000001274 13405765373 0033434 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
br_dns_hinfo.lng 0000664 0000000 0000000 00000001227 13405765373 0034127 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
br_dns_import.lng 0000664 0000000 0000000 00000001561 13405765373 0034337 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
br_dns_loc.lng 0000664 0000000 0000000 00000001135 13405765373 0033577 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
br_dns_mx.lng 0000664 0000000 0000000 00000001436 13405765373 0033452 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
br_dns_ns.lng 0000664 0000000 0000000 00000001211 13405765373 0033435 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
br_dns_ptr.lng 0000664 0000000 0000000 00000001233 13405765373 0033626 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
br_dns_rp.lng 0000664 0000000 0000000 00000001233 13405765373 0033442 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
br_dns_slave.lng 0000664 0000000 0000000 00000001471 13405765373 0034137 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
br_dns_slave_admin_list.lng 0000664 0000000 0000000 00000000462 13405765373 0036341 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
br_dns_slave_list.lng 0000664 0000000 0000000 00000000416 13405765373 0035170 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
br_dns_soa.lng 0000664 0000000 0000000 00000005260 13405765373 0033607 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
br_dns_soa_admin_list.lng 0000664 0000000 0000000 00000000567 13405765373 0036017 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
br_dns_soa_list.lng 0000664 0000000 0000000 00000000601 13405765373 0034634 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
br_dns_spf.lng 0000664 0000000 0000000 00000003222 13405765373 0033611 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
br_dns_srv.lng 0000664 0000000 0000000 00000001521 13405765373 0033633 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
br_dns_template.lng 0000664 0000000 0000000 00000000204 13405765373 0034631 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
br_dns_template_list.lng 0000664 0000000 0000000 00000000261 13405765373 0035667 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
br_dns_tlsa.lng 0000664 0000000 0000000 00000001454 13405765373 0033771 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
br_dns_txt.lng 0000664 0000000 0000000 00000001542 13405765373 0033643 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
br_dns_wizard.lng 0000664 0000000 0000000 00000004232 13405765373 0034323 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ca.lng 0000664 0000000 0000000 00000001226 13405765373 0032057 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ca_dns_a.lng 0000664 0000000 0000000 00000001421 13405765373 0033220 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ca_dns_a_list.lng 0000664 0000000 0000000 00000000737 13405765373 0034264 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ca_dns_aaaa.lng 0000664 0000000 0000000 00000001316 13405765373 0033666 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ca_dns_alias.lng 0000664 0000000 0000000 00000001354 13405765373 0034076 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ca_dns_caa.lng 0000664 0000000 0000000 00000002075 13405765373 0033532 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ca_dns_cname.lng 0000664 0000000 0000000 00000001463 13405765373 0034071 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ca_dns_dkim.lng 0000664 0000000 0000000 00000001140 13405765373 0033722 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ca_dns_dmarc.lng 0000664 0000000 0000000 00000006060 13405765373 0034072 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ca_dns_ds.lng 0000664 0000000 0000000 00000001303 13405765373 0033405 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ca_dns_hinfo.lng 0000664 0000000 0000000 00000001405 13405765373 0034105 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ca_dns_import.lng 0000664 0000000 0000000 00000001577 13405765373 0034326 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ca_dns_loc.lng 0000664 0000000 0000000 00000001211 13405765373 0033552 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ca_dns_mx.lng 0000664 0000000 0000000 00000001555 13405765373 0033434 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ca_dns_ns.lng 0000664 0000000 0000000 00000001341 13405765373 0033421 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ca_dns_ptr.lng 0000664 0000000 0000000 00000001341 13405765373 0033606 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ca_dns_rp.lng 0000664 0000000 0000000 00000001420 13405765373 0033420 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ca_dns_slave.lng 0000664 0000000 0000000 00000001523 13405765373 0034115 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang ces IPs (liste séparée par des virgules)';
$wb['server_id_error_empty'] = 'Aucun serveur sélectionné';
$wb['origin_error_empty'] = 'Zone vide.';
$wb['origin_error_unique'] = 'Il y a déjà un enregistrement pour cette zone.';
$wb['origin_error_regex'] = 'Le format de la zone est invalide.';
$wb['ns_error_regex'] = 'Le format de l\'enregistrement NS est invalide.';
$wb['eg_domain_tld'] = 'ex. domain.tld.';
$wb['ipv4_form_txt'] = 'Separate multiple IPs with commas';
$wb['secondary_zone_txt'] = 'Zone DNS secondaire';
?>
ca_dns_slave_admin_list.lng 0000664 0000000 0000000 00000000466 13405765373 0036325 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ca_dns_slave_list.lng 0000664 0000000 0000000 00000000434 13405765373 0035150 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ca_dns_soa.lng 0000664 0000000 0000000 00000005374 13405765373 0033575 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang ces IP (liste séparée par des virgules)';
$wb['active_txt'] = 'Actif';
$wb['limit_dns_zone_txt'] = 'Le nombre maximal de zones DNS pour votre compte est atteint.';
$wb['client_txt'] = 'Client';
$wb['no_zone_perm'] = 'Vous n\'avez pas la permission d\'ajouter un enregistrement dans cette zone DNS.';
$wb['server_id_error_empty'] = 'Aucun serveur sélectionné';
$wb['origin_error_empty'] = 'Zone vide.';
$wb['origin_error_unique'] = 'Il y a déja un enregistrement pour cette zone.';
$wb['origin_error_regex'] = 'Le format de la zone est invalide.';
$wb['ns_error_regex'] = 'Le format du champ NS est invalide.';
$wb['mbox_error_empty'] = 'L\'adresse courriel est vide.';
$wb['mbox_error_regex'] = 'L\'adresse courriel est dun format invalide.';
$wb['also_notify_txt'] = 'Notifier aussi';
$wb['also_notify_error_regex'] = 'Veuillez utiliser une adresse IP.';
$wb['update_acl_txt'] = 'Mettre à jour l\'ACL';
$wb['seconds_txt'] = 'Secondes';
$wb['eg_domain_tld'] = 'ex. domain.tld';
$wb['eg_ns1_domain_tld'] = 'ex. ns1.domain.tld';
$wb['eg_webmaster_domain_tld'] = 'ex. webmaster@domain.tld';
$wb['The Domain can not be changed. Please ask your Administrator if you want to change the domain name.'] = 'Le domaine ne peut pas être modifié. Veuillez contacter votre administrateur si vous souhaitez modifier le nom de domaine.';
$wb['refresh_range_error'] = 'Le temps de refresh minimum est 60 secondes.';
$wb['retry_range_error'] = 'Le temps de retry minimum est 60 secondes.';
$wb['expire_range_error'] = 'Le temps de expire minimum est 60 secondes.';
$wb['minimum_range_error'] = 'Le temps Minimum minimum est 60 secondes.';
$wb['ttl_range_error'] = 'La TTL minimum est 60 secondes.';
$wb['xfer_error_regex'] = 'A noter également : Veuillez utiliser une adresse IP.';
$wb['dnssec_info_txt'] = 'DNSSEC DS-Data for registry';
$wb['dnssec_wanted_txt'] = 'Sign zone (DNSSEC)';
$wb['dnssec_wanted_info'] = 'When disabling DNSSEC keys are not going to be deleted if DNSSEC was enabled before and keys already have been generated but the zone will no longer be delivered in signed format afterwards. If you use PowerDNS, keys WILL be deleted!';
$wb['error_not_allowed_server_id'] = 'The selected server is not allowed for this account.';
$wb['soa_cannot_be_changed_txt'] = 'Die Zone (SOA) kann nicht verändert werden. Bitte kontaktieren Sie ihren Administrator, um die Zone zu ändern.';
$wb['configuration_error_txt'] = 'CONFIGURATION ERROR';
?>
ca_dns_soa_admin_list.lng 0000664 0000000 0000000 00000000534 13405765373 0035771 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ca_dns_soa_list.lng 0000664 0000000 0000000 00000000626 13405765373 0034623 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ca_dns_spf.lng 0000664 0000000 0000000 00000003033 13405765373 0033571 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ca_dns_srv.lng 0000664 0000000 0000000 00000001755 13405765373 0033624 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ca_dns_template.lng 0000664 0000000 0000000 00000000201 13405765373 0034606 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ca_dns_template_list.lng 0000664 0000000 0000000 00000000270 13405765373 0035647 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ca_dns_tlsa.lng 0000664 0000000 0000000 00000001352 13405765373 0033746 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ca_dns_txt.lng 0000664 0000000 0000000 00000001640 13405765373 0033622 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
ca_dns_wizard.lng 0000664 0000000 0000000 00000003773 13405765373 0034314 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
cz.lng 0000664 0000000 0000000 00000001263 13405765373 0032111 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
cz_dns_a.lng 0000664 0000000 0000000 00000001344 13405765373 0033255 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
cz_dns_a_list.lng 0000664 0000000 0000000 00000000707 13405765373 0034312 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
cz_dns_aaaa.lng 0000664 0000000 0000000 00000001260 13405765373 0033715 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
cz_dns_alias.lng 0000664 0000000 0000000 00000001340 13405765373 0034122 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
cz_dns_caa.lng 0000664 0000000 0000000 00000002075 13405765373 0033563 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
cz_dns_cname.lng 0000664 0000000 0000000 00000001452 13405765373 0034120 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
cz_dns_dkim.lng 0000664 0000000 0000000 00000001150 13405765373 0033754 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
cz_dns_dmarc.lng 0000664 0000000 0000000 00000006531 13405765373 0034126 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
cz_dns_ds.lng 0000664 0000000 0000000 00000001326 13405765373 0033443 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
cz_dns_hinfo.lng 0000664 0000000 0000000 00000001316 13405765373 0034137 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
cz_dns_import.lng 0000664 0000000 0000000 00000001617 13405765373 0034352 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
cz_dns_loc.lng 0000664 0000000 0000000 00000001234 13405765373 0033610 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
cz_dns_mx.lng 0000664 0000000 0000000 00000001535 13405765373 0033463 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
cz_dns_ns.lng 0000664 0000000 0000000 00000001262 13405765373 0033454 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
cz_dns_ptr.lng 0000664 0000000 0000000 00000001272 13405765373 0033642 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
cz_dns_rp.lng 0000664 0000000 0000000 00000001310 13405765373 0033447 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
cz_dns_slave.lng 0000664 0000000 0000000 00000001457 13405765373 0034154 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang těmto IP adresám (oddělte čárkou)';
$wb['server_id_error_empty'] = 'Není zvolen žádný server';
$wb['origin_error_empty'] = 'Zóna je prázdná.';
$wb['origin_error_unique'] = 'Pro tuto zónu již existuje záznam.';
$wb['origin_error_regex'] = 'Zóna má neplatný formát.';
$wb['ns_error_regex'] = 'NS má neplatný formát.';
$wb['eg_domain_tld'] = 'např. domena.cz';
$wb['ipv4_form_txt'] = 'IPV4 formát, např. 1.2.3.4';
$wb['secondary_zone_txt'] = 'Sekundární DNS zóna';
?>
cz_dns_slave_admin_list.lng 0000664 0000000 0000000 00000000501 13405765373 0036344 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
cz_dns_slave_list.lng 0000664 0000000 0000000 00000000431 13405765373 0035176 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
cz_dns_soa.lng 0000664 0000000 0000000 00000005106 13405765373 0033617 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang těchto IP adres (položky oddělené čárkami)';
$wb['active_txt'] = 'Aktivní';
$wb['limit_dns_zone_txt'] = 'Byl dosažen maximální počet DNS záznamů pro Váš účet.';
$wb['client_txt'] = 'Klient';
$wb['no_zone_perm'] = 'Nemáte oprávnění přidat záznam do této zóny.';
$wb['server_id_error_empty'] = 'Není vybrán server';
$wb['origin_error_empty'] = 'Zóna je prázdná.';
$wb['origin_error_unique'] = 'Záznam pro tuto zónu již existuje.';
$wb['origin_error_regex'] = 'Zóna má chybný formát.';
$wb['ns_error_regex'] = 'NS má chybný formát.';
$wb['mbox_error_empty'] = 'E-mail je prázdný.';
$wb['mbox_error_regex'] = 'E-mail má chybný formát.';
$wb['also_notify_txt'] = 'Také upozornit';
$wb['also_notify_error_regex'] = 'Prosím, použijte IP adresu.';
$wb['update_acl_txt'] = 'Aktualizovat ACL';
$wb['seconds_txt'] = 'vteřin';
$wb['eg_domain_tld'] = 'např. domena.cz';
$wb['eg_ns1_domain_tld'] = 'např. ns1.domena.cz';
$wb['eg_webmaster_domain_tld'] = 'např. webmaster@domena.cz';
$wb['The Domain can not be changed. Please ask your Administrator if you want to change the domain name.'] = 'Doménu není možné měnit. Prosím, kontaktujte svého správce, pokud chcete změnit název domény.';
$wb['refresh_range_error'] = 'Min. čas obnovení je 60 sekund.';
$wb['retry_range_error'] = 'Min. čas nového opakování je 60 sekund.';
$wb['expire_range_error'] = 'Min. expirační doba je 60 sekund.';
$wb['minimum_range_error'] = 'Minimální doba je 60 sekund.';
$wb['ttl_range_error'] = 'Min. TTL čas je 60 sekund.';
$wb['xfer_error_regex'] = 'Také oznámí: Prosím, použijte IP adresu.';
$wb['dnssec_info_txt'] = 'DNSSEC DS-Data for registry';
$wb['dnssec_wanted_txt'] = 'Podepsat zónu (DNSSEC)';
$wb['dnssec_wanted_info'] = 'Když deaktivujete DNSSEC klíče nebudou odstraněny, ale DNS záznamy (zóna) již nebudou propagovány v podepsaném formátu. Pokud používáte PowerDNS, budou klíče WILL vymazány!';
$wb['error_not_allowed_server_id'] = 'The selected server is not allowed for this account.';
$wb['soa_cannot_be_changed_txt'] = 'Die Zone (SOA) kann nicht verändert werden. Bitte kontaktieren Sie ihren Administrator, um die Zone zu ändern.';
$wb['configuration_error_txt'] = 'CONFIGURATION ERROR';
?>
cz_dns_soa_admin_list.lng 0000664 0000000 0000000 00000000552 13405765373 0036022 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
cz_dns_soa_list.lng 0000664 0000000 0000000 00000000621 13405765373 0034647 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
cz_dns_spf.lng 0000664 0000000 0000000 00000003377 13405765373 0033635 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
cz_dns_srv.lng 0000664 0000000 0000000 00000001633 13405765373 0033650 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
cz_dns_template.lng 0000664 0000000 0000000 00000000206 13405765373 0034644 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
cz_dns_template_list.lng 0000664 0000000 0000000 00000000253 13405765373 0035701 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
cz_dns_tlsa.lng 0000664 0000000 0000000 00000001362 13405765373 0034000 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
cz_dns_txt.lng 0000664 0000000 0000000 00000002022 13405765373 0033646 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
cz_dns_wizard.lng 0000664 0000000 0000000 00000004126 13405765373 0034336 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
de.lng 0000664 0000000 0000000 00000001245 13405765373 0032065 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
de_dns_a_list.lng 0000664 0000000 0000000 00000000714 13405765373 0034264 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
de_dns_aaaa.lng 0000664 0000000 0000000 00000001303 13405765373 0033667 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
de_dns_alias.lng 0000664 0000000 0000000 00000001310 13405765373 0034073 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
de_dns_bulk_editor.lng 0000664 0000000 0000000 00000004057 13405765373 0035320 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang .
Wenn Sie eine Subdomain Ihrer Domain angeben und und die Domain weglassen (z.B. www statt www.meinedomain.de), dann geben Sie bitte keinen Punkt am Ende an.';
$wb['ttip_ttl_txt'] = 'Bitte geben Sie den gewünschten TTL-Wert als Ganzzahl in Sekunden ein.';
?>
de_dns_caa.lng 0000664 0000000 0000000 00000002233 13405765373 0033533 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
de_dns_cname.lng 0000664 0000000 0000000 00000001407 13405765373 0034074 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
de_dns_dkim.lng 0000664 0000000 0000000 00000001230 13405765373 0033727 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
de_dns_dmarc.lng 0000664 0000000 0000000 00000006246 13405765373 0034105 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
de_dns_ds.lng 0000664 0000000 0000000 00000001352 13405765373 0033416 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
de_dns_hinfo.lng 0000664 0000000 0000000 00000001321 13405765373 0034107 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
de_dns_import.lng 0000664 0000000 0000000 00000001502 13405765373 0034317 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
de_dns_loc.lng 0000664 0000000 0000000 00000001250 13405765373 0033562 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
de_dns_mx.lng 0000664 0000000 0000000 00000001462 13405765373 0033436 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
de_dns_ns.lng 0000664 0000000 0000000 00000001276 13405765373 0033435 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
de_dns_ptr.lng 0000664 0000000 0000000 00000001317 13405765373 0033616 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
de_dns_rp.lng 0000664 0000000 0000000 00000001304 13405765373 0033426 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
de_dns_slave.lng 0000664 0000000 0000000 00000001476 13405765373 0034131 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
de_dns_slave_admin_list.lng 0000664 0000000 0000000 00000000462 13405765373 0036326 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
de_dns_slave_list.lng 0000664 0000000 0000000 00000000420 13405765373 0035150 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
de_dns_soa.lng 0000664 0000000 0000000 00000005312 13405765373 0033572 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
de_dns_soa_admin_list.lng 0000664 0000000 0000000 00000000550 13405765373 0035774 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
de_dns_soa_list.lng 0000664 0000000 0000000 00000000570 13405765373 0034626 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
de_dns_spf.lng 0000664 0000000 0000000 00000003266 13405765373 0033606 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
de_dns_srv.lng 0000664 0000000 0000000 00000001636 13405765373 0033627 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
de_dns_template.lng 0000664 0000000 0000000 00000000203 13405765373 0034615 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
de_dns_template_list.lng 0000664 0000000 0000000 00000000255 13405765373 0035657 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
de_dns_tlsa.lng 0000664 0000000 0000000 00000001415 13405765373 0033753 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
de_dns_txt.lng 0000664 0000000 0000000 00000001646 13405765373 0033635 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
de_dns_wizard.lng 0000664 0000000 0000000 00000004057 13405765373 0034315 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
dk.lng 0000664 0000000 0000000 00000001171 13405765373 0032071 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
dk_dns_a.lng 0000664 0000000 0000000 00000001326 13405765373 0033237 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
dk_dns_a_list.lng 0000664 0000000 0000000 00000000667 13405765373 0034301 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
dk_dns_aaaa.lng 0000664 0000000 0000000 00000001222 13405765373 0033675 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
dk_dns_alias.lng 0000664 0000000 0000000 00000001240 13405765373 0034103 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
dk_dns_caa.lng 0000664 0000000 0000000 00000002075 13405765373 0033545 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
dk_dns_cname.lng 0000664 0000000 0000000 00000001353 13405765373 0034102 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
dk_dns_dkim.lng 0000664 0000000 0000000 00000001140 13405765373 0033735 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
dk_dns_dmarc.lng 0000664 0000000 0000000 00000006060 13405765373 0034105 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
dk_dns_ds.lng 0000664 0000000 0000000 00000001303 13405765373 0033420 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
dk_dns_hinfo.lng 0000664 0000000 0000000 00000001255 13405765373 0034123 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
dk_dns_import.lng 0000664 0000000 0000000 00000001456 13405765373 0034335 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
dk_dns_loc.lng 0000664 0000000 0000000 00000001211 13405765373 0033565 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
dk_dns_mx.lng 0000664 0000000 0000000 00000001412 13405765373 0033437 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
dk_dns_ns.lng 0000664 0000000 0000000 00000001213 13405765373 0033432 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
dk_dns_ptr.lng 0000664 0000000 0000000 00000001240 13405765373 0033617 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
dk_dns_rp.lng 0000664 0000000 0000000 00000001270 13405765373 0033436 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
dk_dns_slave.lng 0000664 0000000 0000000 00000001450 13405765373 0034127 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang disse IP-adresser (kommasepareret liste)';
$wb['server_id_error_empty'] = 'Ingen server er valgt';
$wb['origin_error_empty'] = 'Zone er tomt.';
$wb['origin_error_unique'] = 'Der findes allerede en post for denne zone.';
$wb['origin_error_regex'] = 'Zone har et ugyldigt format.';
$wb['ns_error_regex'] = 'NS har et ugyldigt format.';
$wb['eg_domain_tld'] = 'f.eks. domæne.tld.';
$wb['ipv4_form_txt'] = 'Separate multiple IPs with commas';
?>
dk_dns_slave_admin_list.lng 0000664 0000000 0000000 00000000464 13405765373 0036336 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
dk_dns_slave_list.lng 0000664 0000000 0000000 00000000415 13405765373 0035162 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
dk_dns_soa.lng 0000664 0000000 0000000 00000005167 13405765373 0033610 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang disse IP-adresser (kommasepareret liste)';
$wb['active_txt'] = 'Aktiv';
$wb['limit_dns_zone_txt'] = 'Max. antal af DNS zoner for din konto er nået.';
$wb['client_txt'] = 'Kunde';
$wb['no_zone_perm'] = 'Du har ikke tilladelse til at tilføje en post til denne DNS zone.';
$wb['server_id_error_empty'] = 'Ingen server er valgt';
$wb['origin_error_empty'] = 'Zone er tom.';
$wb['origin_error_unique'] = 'Der findes allerede en post for denne zone.';
$wb['origin_error_regex'] = 'Zone har et ugyldigt format.';
$wb['ns_error_regex'] = 'NS har et ugyldigt format.';
$wb['mbox_error_empty'] = 'E-mail er tomt.';
$wb['mbox_error_regex'] = 'E-mail format er ugyldigt.';
$wb['also_notify_txt'] = 'Informer også';
$wb['also_notify_error_regex'] = 'Informer også: Venligst brug en IP adresse.';
$wb['xfer_error_regex'] = 'Xfer: Venligst brug en eller flere IP adresser, adskilt af komma, eller brug nøgleordet: any';
$wb['update_acl_txt'] = 'Opdater ACL';
$wb['seconds_txt'] = 'Sekunder';
$wb['eg_domain_tld'] = 'f.eks. domæne.tld';
$wb['eg_ns1_domain_tld'] = 'f.eks. ns1.domain.tld';
$wb['eg_webmaster_domain_tld'] = 'f.eks. webmaster@domain.tld';
$wb['The Domain can not be changed. Please ask your Administrator if you want to change the domain name.'] = 'Domænet kan ikke ændres. Spørg din administrator, hvis du ønsker at ændre domænenavnet.';
$wb['refresh_range_error'] = 'Min. Opfriske tid er 60 sekunder.';
$wb['retry_range_error'] = 'Min. Prøv igen, tid er 60 sekunder.';
$wb['expire_range_error'] = 'Min. Udløber tid er 60 sekunder.';
$wb['minimum_range_error'] = 'Min. Minimum tid er 60 sekunder.';
$wb['ttl_range_error'] = 'Min. TTL tid er 60 sekunder.';
$wb['dnssec_info_txt'] = 'DNSSEC DS-Data for registry';
$wb['dnssec_wanted_txt'] = 'Sign zone (DNSSEC)';
$wb['dnssec_wanted_info'] = 'When disabling DNSSEC keys are not going to be deleted if DNSSEC was enabled before and keys already have been generated but the zone will no longer be delivered in signed format afterwards. If you use PowerDNS, keys WILL be deleted!';
$wb['error_not_allowed_server_id'] = 'The selected server is not allowed for this account.';
$wb['soa_cannot_be_changed_txt'] = 'The Zone (SOA) can not be changed. Please contact your administrator to change the zone.';
$wb['configuration_error_txt'] = 'CONFIGURATION ERROR';
?>
dk_dns_soa_admin_list.lng 0000664 0000000 0000000 00000000532 13405765373 0036002 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
dk_dns_soa_list.lng 0000664 0000000 0000000 00000000552 13405765373 0034634 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
dk_dns_spf.lng 0000664 0000000 0000000 00000003033 13405765373 0033604 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
dk_dns_srv.lng 0000664 0000000 0000000 00000001541 13405765373 0033630 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
dk_dns_template.lng 0000664 0000000 0000000 00000000202 13405765373 0034622 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
dk_dns_template_list.lng 0000664 0000000 0000000 00000000236 13405765373 0035664 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
dk_dns_tlsa.lng 0000664 0000000 0000000 00000001352 13405765373 0033761 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
dk_dns_txt.lng 0000664 0000000 0000000 00000001536 13405765373 0033641 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
dk_dns_wizard.lng 0000664 0000000 0000000 00000003737 13405765373 0034327 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
el.lng 0000664 0000000 0000000 00000001241 13405765373 0032071 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
el_dns_a.lng 0000664 0000000 0000000 00000001765 13405765373 0033250 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
el_dns_a_list.lng 0000664 0000000 0000000 00000001105 13405765373 0034267 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
el_dns_aaaa.lng 0000664 0000000 0000000 00000001625 13405765373 0033706 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
el_dns_alias.lng 0000664 0000000 0000000 00000001701 13405765373 0034107 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
el_dns_caa.lng 0000664 0000000 0000000 00000002075 13405765373 0033547 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
el_dns_cname.lng 0000664 0000000 0000000 00000002033 13405765373 0034100 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
el_dns_dkim.lng 0000664 0000000 0000000 00000001140 13405765373 0033737 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
el_dns_dmarc.lng 0000664 0000000 0000000 00000006060 13405765373 0034107 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
el_dns_ds.lng 0000664 0000000 0000000 00000001303 13405765373 0033422 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
el_dns_hinfo.lng 0000664 0000000 0000000 00000001705 13405765373 0034125 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
el_dns_import.lng 0000664 0000000 0000000 00000001432 13405765373 0034331 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
el_dns_loc.lng 0000664 0000000 0000000 00000001211 13405765373 0033567 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
el_dns_mx.lng 0000664 0000000 0000000 00000002032 13405765373 0033440 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
el_dns_ns.lng 0000664 0000000 0000000 00000001631 13405765373 0033440 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
el_dns_ptr.lng 0000664 0000000 0000000 00000001764 13405765373 0033634 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
el_dns_rp.lng 0000664 0000000 0000000 00000001717 13405765373 0033446 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
el_dns_slave.lng 0000664 0000000 0000000 00000002071 13405765373 0034131 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang αυτές τις IP (λίστα χωρισμένη με κόμμα)';
$wb['server_id_error_empty'] = 'Δεν επιλέχθηκε server';
$wb['origin_error_empty'] = 'Η ζώνη είναι κενή.';
$wb['origin_error_unique'] = 'Υπάρχει ήδη μια εγγραφή για αυτή την ζώνη.';
$wb['origin_error_regex'] = 'Η ζώνη δεν έχει έγκυρη μορφοποίηση.';
$wb['ns_error_regex'] = 'Ο NS δεν έχει έγκυρη μορφοποίηση.';
$wb['eg_domain_tld'] = 'π.χ. domain.tld.';
$wb['ipv4_form_txt'] = 'Separate multiple IPs with commas';
$wb['secondary_zone_txt'] = 'Secondary DNS Zone';
?>
el_dns_slave_admin_list.lng 0000664 0000000 0000000 00000000460 13405765373 0036334 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
el_dns_slave_list.lng 0000664 0000000 0000000 00000000501 13405765373 0035160 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
el_dns_soa.lng 0000664 0000000 0000000 00000006061 13405765373 0033604 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang αυτές τς IP (λίστα χωρισμένη με κόμα)';
$wb['active_txt'] = 'Ενεργή';
$wb['limit_dns_zone_txt'] = 'Έχετε φτάσει το μέγιστο πλήθος των ζωνών DNS για τον λογαριασμό σας';
$wb['client_txt'] = 'Πελάτης';
$wb['no_zone_perm'] = 'Δεν έχετε δικαίωμα να προσθέσε εγγραφές σε αυτή την ζώνη DNS';
$wb['server_id_error_empty'] = 'Δεν επιλέχθηκε server';
$wb['origin_error_empty'] = 'Η ζώνη είναι κενή.';
$wb['origin_error_unique'] = 'Υπάρχει ήδη μια εγγραφή για αυτή τη ζώνη.';
$wb['origin_error_regex'] = 'Η ζώνη δεν έχει έγκυρη μορφοποίηση.';
$wb['ns_error_regex'] = 'NS με μη έγκυρη μορφοποίηση.';
$wb['mbox_error_empty'] = 'Το Email δεν έχει οριστεί.';
$wb['mbox_error_regex'] = 'Email με μη έγκυρη μορφοποίηση.';
$wb['also_notify_txt'] = 'Ειδοποίηση επίσης σε';
$wb['also_notify_error_regex'] = 'Παρακαλούμε χρησιμοποιείστε μια διεύθυνση IP.';
$wb['update_acl_txt'] = 'Ανανέωση ACL';
$wb['seconds_txt'] = 'Δευτερόλεπτα';
$wb['eg_domain_tld'] = 'π.χ. domain.tld';
$wb['eg_ns1_domain_tld'] = 'π.χ. ns1.domain.tld';
$wb['eg_webmaster_domain_tld'] = 'π.χ. webmaster@domain.tld';
$wb['The Domain can not be changed. Please ask your Administrator if you want to change the domain name.'] = 'The Domain can not be changed. Please ask your Administrator if you want to change the domain name.';
$wb['refresh_range_error'] = 'Min. Refresh time is 60 seconds.';
$wb['retry_range_error'] = 'Min. Retry time is 60 seconds.';
$wb['expire_range_error'] = 'Min. Expire time is 60 seconds.';
$wb['minimum_range_error'] = 'Min. Minimum time is 60 seconds.';
$wb['ttl_range_error'] = 'Min. TTL time is 60 seconds.';
$wb['xfer_error_regex'] = 'Also notify: Please use an IP address.';
$wb['dnssec_info_txt'] = 'DNSSEC DS-Data for registry';
$wb['dnssec_wanted_txt'] = 'Sign zone (DNSSEC)';
$wb['dnssec_wanted_info'] = 'When disabling DNSSEC keys are not going to be deleted if DNSSEC was enabled before and keys already have been generated but the zone will no longer be delivered in signed format afterwards. If you use PowerDNS, keys WILL be deleted!';
$wb['error_not_allowed_server_id'] = 'The selected server is not allowed for this account.';
$wb['soa_cannot_be_changed_txt'] = 'Die Zone (SOA) kann nicht verändert werden. Bitte kontaktieren Sie ihren Administrator, um die Zone zu ändern.';
$wb['configuration_error_txt'] = 'CONFIGURATION ERROR';
?>
el_dns_soa_admin_list.lng 0000664 0000000 0000000 00000000530 13405765373 0036002 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
el_dns_soa_list.lng 0000664 0000000 0000000 00000000620 13405765373 0034632 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
el_dns_spf.lng 0000664 0000000 0000000 00000003033 13405765373 0033606 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
el_dns_srv.lng 0000664 0000000 0000000 00000003545 13405765373 0033640 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
el_dns_template.lng 0000664 0000000 0000000 00000000230 13405765373 0034625 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
el_dns_template_list.lng 0000664 0000000 0000000 00000000277 13405765373 0035673 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
el_dns_tlsa.lng 0000664 0000000 0000000 00000001352 13405765373 0033763 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
el_dns_txt.lng 0000664 0000000 0000000 00000002161 13405765373 0033636 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
el_dns_wizard.lng 0000664 0000000 0000000 00000005065 13405765373 0034325 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang
en.lng 0000664 0000000 0000000 00000001232 13405765373 0032073 0 ustar 00root root 0000000 0000000 ispconfig3-110adbda94563b1e8595c0e8abcd198212938c1d-interface-web-dns/interface/web/dns/lib/lang