From 0922332060702b973b0ec3142e6f550420852166 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Thu, 16 Aug 2007 17:29:40 -0400
Subject: [PATCH] Deleted old (obsolete) DNS module.
---
/dev/null | 64 --------------------------------
1 files changed, 0 insertions(+), 64 deletions(-)
diff --git a/interface/web/dns_old/form/rr.tform.php b/interface/web/dns_old/form/rr.tform.php
deleted file mode 100644
index 0b3352a..0000000
--- a/interface/web/dns_old/form/rr.tform.php
+++ /dev/null
@@ -1,170 +0,0 @@
-<?php
-/*
-Copyright (c) 2005, Till Brehm, Falko Timme, projektfarm Gmbh
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
- * Neither the name of ISPConfig nor the names of its contributors
- may be used to endorse or promote products derived from this software without
- specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-/*
- Form Definition
-
- Tabledefinition
-
- Datatypes:
- - INTEGER (Forces the input to Int)
- - DOUBLE
- - CURRENCY (Formats the values to currency notation)
- - VARCHAR (no format check, maxlength: 255)
- - TEXT (no format check)
- - DATE (Dateformat, automatic conversion to timestamps)
-
- Formtype:
- - TEXT (Textfield)
- - TEXTAREA (Textarea)
- - PASSWORD (Password textfield, input is not shown when edited)
- - SELECT (Select option field)
- - RADIO
- - CHECKBOX
- - CHECKBOXARRAY
- - FILE
-
- VALUE:
- - Wert oder Array
-
- Hint:
- The ID field of the database table is not part of the datafield definition.
- The ID field must be always auto incement (int or bigint).
-
-
-*/
-
-$form["title"] = "Record";
-$form["description"] = "";
-$form["name"] = "rr";
-$form["action"] = "rr_edit.php";
-$form["db_table"] = "dns_rr";
-$form["db_table_idx"] = "id";
-$form["db_history"] = "yes";
-$form["tab_default"] = "rr";
-$form["list_default"] = "rr_list.php";
-$form["auth"] = 'yes'; // yes / no
-
-$form["auth_preset"]["userid"] = 0; // 0 = id of the user, > 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"]['rr'] = array (
- 'title' => "Record",
- 'width' => 100,
- 'template' => "templates/rr_edit.htm",
- 'fields' => array (
- ##################################
- # Begin Datatable fields
- ##################################
-/*
- 'server_id' => array (
- 'datatype' => 'INTEGER',
- 'formtype' => 'SELECT',
- 'default' => '',
- 'datasource' => array ( 'type' => 'SQL',
- 'querystring' => 'SELECT server_id,server_name FROM server WHERE 1 ORDER BY server_name',
- 'keyfield'=> 'server_id',
- 'valuefield'=> 'server_name'
- ),
- 'value' => ''
- ),
-*/
- 'zone' => array (
- 'datatype' => 'INTEGER',
- 'formtype' => 'TEXT',
- 'validators' => array (0 => array ('type' => 'NOTEMPTY',
- 'errmsg'=> 'rr_zone_error_empty'),
- ),
- 'default' => '',
- 'value' => '',
- 'width' => '30',
- 'maxlength' => '255'
- ),
- 'name' => array (
- 'datatype' => 'VARCHAR',
- 'formtype' => 'TEXT',
- 'default' => '',
- 'value' => '',
- 'width' => '30',
- 'maxlength' => '255'
- ),
- 'type' => array (
- 'datatype' => 'VARCHAR',
- 'formtype' => 'SELECT',
- 'default' => '',
- 'value' => array('A' => 'A', 'AAAA' => 'AAAA', 'ALIAS' => 'ALIAS', 'CNAME' => 'CNAME', 'HINFO' => 'HINFO', 'MX' => 'MX', 'NS' => 'NS', 'PTR' => 'PTR', 'RP' => 'RP', 'SRV' => 'SRV', 'TXT' => 'TXT')
- ),
- 'data' => array (
- 'datatype' => 'VARCHAR',
- 'formtype' => 'TEXT',
- 'validators' => array (0 => array ('type' => 'NOTEMPTY',
- 'errmsg'=> 'rr_data_error_empty'),
- ),
- 'default' => '',
- 'value' => '',
- 'width' => '30',
- 'maxlength' => '255'
- ),
- 'aux' => array (
- 'datatype' => 'INTEGER',
- 'formtype' => 'TEXT',
- /*
- 'validators' => array (0 => array ('type' => 'ISINT',
- 'errmsg'=> 'rr_aux_error_noint'),
- ),
- */
- 'default' => '',
- 'value' => '',
- 'width' => '30',
- 'maxlength' => '255'
- ),
- 'ttl' => array (
- 'datatype' => 'INTEGER',
- 'formtype' => 'TEXT',
- /*
- 'validators' => array (0 => array ('type' => 'ISPOSITIVE',
- 'errmsg'=> 'rr_ttl_error_notpositive'),
- ),
- */
- 'default' => '86400',
- 'value' => '86400',
- 'width' => '30',
- 'maxlength' => '255'
- ),
- ##################################
- # ENDE Datatable fields
- ##################################
- )
-);
-
-
-?>
\ No newline at end of file
diff --git a/interface/web/dns_old/form/soa.tform.php b/interface/web/dns_old/form/soa.tform.php
deleted file mode 100644
index e5f961e..0000000
--- a/interface/web/dns_old/form/soa.tform.php
+++ /dev/null
@@ -1,258 +0,0 @@
-<?php
-/*
-Copyright (c) 2005, Till Brehm, Falko Timme, projektfarm Gmbh
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
- * Neither the name of ISPConfig nor the names of its contributors
- may be used to endorse or promote products derived from this software without
- specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-/*
- Form Definition
-
- Tabledefinition
-
- Datatypes:
- - INTEGER (Forces the input to Int)
- - DOUBLE
- - CURRENCY (Formats the values to currency notation)
- - VARCHAR (no format check, maxlength: 255)
- - TEXT (no format check)
- - DATE (Dateformat, automatic conversion to timestamps)
-
- Formtype:
- - TEXT (Textfield)
- - TEXTAREA (Textarea)
- - PASSWORD (Password textfield, input is not shown when edited)
- - SELECT (Select option field)
- - RADIO
- - CHECKBOX
- - CHECKBOXARRAY
- - FILE
-
- VALUE:
- - Wert oder Array
-
- Hint:
- The ID field of the database table is not part of the datafield definition.
- The ID field must be always auto incement (int or bigint).
-
-
-*/
-
-$form["title"] = "SOA";
-$form["description"] = "";
-$form["name"] = "soa";
-$form["action"] = "soa_edit.php";
-$form["db_table"] = "dns_soa";
-$form["db_table_idx"] = "id";
-$form["db_history"] = "yes";
-$form["tab_default"] = "soa";
-$form["list_default"] = "soa_list.php";
-$form["auth"] = 'yes'; // yes / no
-
-$form["auth_preset"]["userid"] = 0; // 0 = id of the user, > 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"]['soa'] = array (
- 'title' => "SOA",
- 'width' => 100,
- 'template' => "templates/soa_edit.htm",
- 'fields' => array (
- ##################################
- # Begin Datatable fields
- ##################################
-/*
- 'server_id' => array (
- 'datatype' => 'INTEGER',
- 'formtype' => 'SELECT',
- 'default' => '',
- 'datasource' => array ( 'type' => 'SQL',
- 'querystring' => 'SELECT server_id,server_name FROM server WHERE 1 ORDER BY server_name',
- 'keyfield'=> 'server_id',
- 'valuefield'=> 'server_name'
- ),
- 'value' => ''
- ),
-*/
- 'origin' => array (
- 'datatype' => 'VARCHAR',
- 'formtype' => 'TEXT',
- 'validators' => array (0 => array ( 'type' => 'UNIQUE',
- 'errmsg'=> 'soa_error_unique'),
- ),
- 'default' => '',
- 'value' => '',
- 'width' => '30',
- 'maxlength' => '255'
- ),
- 'ns' => array (
- 'datatype' => 'VARCHAR',
- 'formtype' => 'TEXT',
- /*
- 'validators' => array (0 => array ( 'type' => 'NOTEMPTY',
- 'errmsg'=> 'ns_error_empty'),
- ),
- */
- 'default' => $conf['default_ns'],
- 'value' => $conf['default_ns'],
- 'width' => '30',
- 'maxlength' => '255'
- ),
- 'mbox' => array (
- 'datatype' => 'VARCHAR',
- 'formtype' => 'TEXT',
- /*
- 'validators' => array (0 => array ( 'type' => 'NOTEMPTY',
- 'errmsg'=> 'mbox_error_empty'),
- ),
- */
- 'default' => $conf['default_mbox'],
- 'value' => $conf['default_mbox'],
- 'width' => '30',
- 'maxlength' => '255'
- ),
- 'serial' => array (
- 'datatype' => 'INTEGER',
- 'formtype' => 'TEXT',
- /*
- 'validators' => array (0 => array ( 'type' => 'ISPOSITIVE',
- 'errmsg'=> 'serial_error_notpositive'),
- ),
- */
- 'default' => date("Ymd").'01',
- 'value' => date("Ymd").'01',
- 'width' => '30',
- 'maxlength' => '255'
- ),
- 'refresh' => array (
- 'datatype' => 'INTEGER',
- 'formtype' => 'TEXT',
- /*
- 'validators' => array (0 => array ( 'type' => 'ISPOSITIVE',
- 'errmsg'=> 'refresh_error_notpositive'),
- ),
- */
- 'default' => $conf['default_refresh'],
- 'value' => $conf['default_refresh'],
- 'width' => '30',
- 'maxlength' => '255'
- ),
- 'retry' => array (
- 'datatype' => 'INTEGER',
- 'formtype' => 'TEXT',
- /*
- 'validators' => array (0 => array ( 'type' => 'ISPOSITIVE',
- 'errmsg'=> 'retry_error_notpositive'),
- ),
- */
- 'default' => $conf['default_retry'],
- 'value' => $conf['default_retry'],
- 'width' => '30',
- 'maxlength' => '255'
- ),
- 'expire' => array (
- 'datatype' => 'INTEGER',
- 'formtype' => 'TEXT',
- /*
- 'validators' => array (0 => array ( 'type' => 'ISPOSITIVE',
- 'errmsg'=> 'expire_error_notpositive'),
- ),
- */
- 'default' => $conf['default_expire'],
- 'value' => $conf['default_expire'],
- 'width' => '30',
- 'maxlength' => '255'
- ),
- 'minimum' => array (
- 'datatype' => 'INTEGER',
- 'formtype' => 'TEXT',
- /*
- 'validators' => array (0 => array ( 'type' => 'ISPOSITIVE',
- 'errmsg'=> 'minimum_error_notpositive'),
- ),
- */
- 'default' => $conf['default_minimum_ttl'],
- 'value' => $conf['default_minimum_ttl'],
- 'width' => '30',
- 'maxlength' => '255'
- ),
- 'ttl' => array (
- 'datatype' => 'INTEGER',
- 'formtype' => 'TEXT',
- /*
- 'validators' => array (0 => array ( 'type' => 'ISPOSITIVE',
- 'errmsg'=> 'ttl_error_notpositive'),
- ),
- */
- 'default' => $conf['default_ttl'],
- 'value' => $conf['default_ttl'],
- 'width' => '30',
- 'maxlength' => '255'
- ),
- 'active' => array (
- 'datatype' => 'VARCHAR',
- 'formtype' => 'RADIO',
- 'default' => 'Y',
- 'value' => array('Y' => 'Yes','N'=>'No')
- ),
- 'xfer' => array (
- 'datatype' => 'VARCHAR',
- 'formtype' => 'TEXT',
- 'default' => '',
- 'value' => '',
- 'width' => '30',
- 'maxlength' => '255'
- ),
- ##################################
- # ENDE Datatable fields
- ##################################
- )
-);
-
-$form["tabs"]['rr'] = array (
- 'title' => "Records",
- 'width' => 100,
- 'template' => "templates/soa_edit_rr.htm",
- 'fields' => array (
- ##################################
- # Beginn Datatable fields
- ##################################
-
- ##################################
- # ENDE Datatable fields
- ##################################
- ),
- 'plugins' => array (
- 'rr_list' => array (
- 'class' => 'plugin_listview',
- 'options' => array('listdef' => 'list/rr.list.php', 'sqlextwhere' => "zone = ".intval($_REQUEST['id']))
- )
- )
-);
-
-
-?>
\ No newline at end of file
diff --git a/interface/web/dns_old/lib/admin.conf.php b/interface/web/dns_old/lib/admin.conf.php
deleted file mode 100644
index a45d440..0000000
--- a/interface/web/dns_old/lib/admin.conf.php
+++ /dev/null
@@ -1,2 +0,0 @@
-<?php
-?>
\ No newline at end of file
diff --git a/interface/web/dns_old/lib/lang/de.lng b/interface/web/dns_old/lib/lang/de.lng
deleted file mode 100644
index f5c590d..0000000
--- a/interface/web/dns_old/lib/lang/de.lng
+++ /dev/null
@@ -1,7 +0,0 @@
-<?php
-
-$wb["Yes"] = 'Ja';
-$wb["No"] = 'Nein';
-$wb["error_no_permission"] = 'Sie haben nicht die Berechtigung, den Vorgang durchzuf�hren!';
-
-?>
\ No newline at end of file
diff --git a/interface/web/dns_old/lib/lang/de_rr.lng b/interface/web/dns_old/lib/lang/de_rr.lng
deleted file mode 100644
index 75e378d..0000000
--- a/interface/web/dns_old/lib/lang/de_rr.lng
+++ /dev/null
@@ -1,42 +0,0 @@
-<?php
-$wb["zone_txt"] = 'Zone';
-$wb["name_txt"] = 'Name';
-$wb["type_txt"] = 'Typ';
-$wb["data_txt"] = 'Daten';
-$wb["aux_txt"] = 'Priorit�t';
-$wb["ttl_txt"] = 'TTL';
-$wb["weight_txt"] = 'Gewicht';
-$wb["port_txt"] = 'Port';
-$wb["rp_mbox_txt"] = 'RP Mailbox';
-$wb["rp_txtref_txt"] = 'RP TXTREF';
-$wb["srv_target_txt"] = 'SRV TARGET';
-$wb["zone_origin_txt"] = 'Zonen-Ursprung';
-$wb["ns_txt"] = 'Nameserver';
-$wb["mbox_txt"] = 'Admin-Email';
-$wb["btn_save_txt"] = 'Speichern';
-$wb["btn_cancel_txt"] = 'Abbrechen';
-$wb["rr_data_error_empty"] = 'Das Daten-Feld darf nicht leer sein!';
-$wb["rr_aux_error_noint"] = 'Priorit�t mu� ein Integer sein!';
-$wb["rr_ttl_error_notpositive"] = 'Die TTL mu� positiv sein!';
-$wb["error_ptr"] = 'mu� einen Fully Qualified Domain Name beinhalten, der mit einem Punkt endet!';
-$wb["error_hinfo"] = 'mu� den CPU-Typ beinhalten, dann ein Leerzeichen, dann den Betriebssystem-Typ!';
-$wb["error_aaaa"] = 'mu� eine g�ltige IPv6-Adresse beinhalten!';
-$wb["error_a"] = 'mu� eine g�ltige IP-Adresse beinhalten!';
-$wb["error_must_be_integer"] = 'mu� ein Integer sein!';
-$wb["error_must_not_be_greater_than_2147483647"] = 'darf nicht gr��er sein als 2147483647!';
-$wb["error_must_be_positive"] = 'mu� positiv sein!';
-$wb["error_must_not_be_negative"] = 'darf nicht negativ sein!';
-$wb["error_255_characters"] = 'beinhaltet mehr als 255 Zeichen!';
-$wb["error_63_characters"] = 'beinhaltet einen Teil mit mehr als 63 Zeichen!';
-$wb["error_invalid_characters"] = 'beinhaltet einen Teil mit ung�ltigen Zeichen!';
-$wb["error_hyphen_begin"] = 'beinhaltet einen Teil, der mit einem Bindestrich beginnt!';
-$wb["error_hyphen_end"] = 'beinhaltet einen Teil, der mit einem Bindestrich endet!';
-$wb["error_wildcard_non_initial_part"] = 'beinhaltet einen Platzhalter in einem Teil, der nicht am Anfang steht!';
-$wb["error_wildcard_mix"] = 'beinhaltet einen Teil, wo ein Platzhalter mit anderen Zeichen vermischt wird!';
-$wb["error_no_wildcard_allowed"] = 'darf keine Platzhalter beinhalten!';
-$wb["error_out_of_zone"] = 'ist nicht Teil der Zone!';
-$wb["error_invalid_rp"] = 'hat ein ung�ltiges Format. Das korrekte Format ist die <i>mbox</i> (eine DNS-kodierte Email-Adresse), dann ein Leerzeichen, dann der <i>txtref</i>, der entweder einen Host f�r den TXT-Lookup oder einen Punkt beinhalten mu�!';
-$wb["error_invalid_srv"] = 'hat ein ung�ltiges Format. Das korrekte Format is das <i>Gewicht</i> (0-65535), dann ein Leerzeichen, dann der <i>Port</i> (0-65535), dann ein Leerzeichen, dann das <i>Ziel</i>!';
-$wb["error_srv_out_of_range"] = 'f�r den SRV-Eintrag liegt nicht innerhalb der zul�ssigen Grenzen!';
-$wb["error_no_permission"] = 'Sie haben nicht die Berechtigung, diesen Vorgang durchzuf�hren!';
-?>
\ No newline at end of file
diff --git a/interface/web/dns_old/lib/lang/de_rr_list.lng b/interface/web/dns_old/lib/lang/de_rr_list.lng
deleted file mode 100644
index fe35547..0000000
--- a/interface/web/dns_old/lib/lang/de_rr_list.lng
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-$wb["list_head_txt"] = 'Eintr�ge';
-$wb["name_txt"] = 'Name';
-$wb["type_txt"] = 'Typ';
-$wb["data_txt"] = 'Daten';
-$wb["aux_txt"] = 'Priorit�t';
-$wb["ttl_txt"] = 'TTL';
-$wb["page_txt"] = 'Seite';
-$wb["page_of_txt"] = 'von';
-$wb["page_next_txt"] = 'Weiter';
-$wb["page_back_txt"] = 'Zur�ck';
-$wb["delete_txt"] = 'L�schen';
-$wb["filter_txt"] = 'Filter';
-$wb["add_new_record_txt"] = 'Neuen Eintrag erstellen';
-$wb['delete_confirmation'] = 'Wollen Sie den Datensatz wirklich l�schen?';
-?>
\ No newline at end of file
diff --git a/interface/web/dns_old/lib/lang/de_soa.lng b/interface/web/dns_old/lib/lang/de_soa.lng
deleted file mode 100644
index 9920b11..0000000
--- a/interface/web/dns_old/lib/lang/de_soa.lng
+++ /dev/null
@@ -1,49 +0,0 @@
-<?php
-$wb["origin_txt"] = 'Ursprung';
-$wb["ns_txt"] = 'Nameserver';
-$wb["mbox_txt"] = 'Admin-Email';
-$wb["serial_txt"] = 'Seriennr.';
-$wb["refresh_txt"] = 'Refresh';
-$wb["retry_txt"] = 'Retry';
-$wb["expire_txt"] = 'Expire';
-$wb["minimum_txt"] = 'Minimum TTL';
-$wb["ttl_txt"] = 'TTL';
-$wb["active_txt"] = 'Aktiv';
-$wb["xfer_txt"] = 'Zonen-Transfers';
-$wb["name_txt"] = 'Name';
-$wb["data_txt"] = 'Daten';
-$wb["rp_mbox_txt"] = 'RP Mailbox';
-$wb["rp_txtref_txt"] = 'RP TXTREF';
-$wb["srv_target_txt"] = 'SRV TARGET';
-$wb["zone_origin_txt"] = 'Zonen-Ursprung';
-$wb["yes_txt"] = 'Ja';
-$wb["no_txt"] = 'Nein';
-$wb["btn_save_txt"] = 'Speichern';
-$wb["btn_cancel_txt"] = 'Abbrechen';
-$wb["soa_error_empty"] = 'Der Ursprung darf nicht leer sein!';
-$wb["soa_error_unique"] = 'Dieser Ursprung existiert schon. Der Ursprung darf nur einmalig vorkommen!';
-$wb["ns_error_empty"] = 'Der Nameserver darf nicht leer sein!';
-$wb["mbox_error_empty"] = 'Die Admin-Emailadresse darf nicht leer sein!';
-$wb["serial_error_notpositive"] = 'Die Seriennr. mu� positiv sein!';
-$wb["refresh_error_notpositive"] = 'Der Refresh mu� positiv sein!';
-$wb["retry_error_notpositive"] = 'Der Retry mu� positiv sein!';
-$wb["expire_error_notpositive"] = 'Der Expire mu� positiv sein!';
-$wb["minimum_error_notpositive"] = 'Die Minimum TTL mu� positiv sein!';
-$wb["ttl_error_notpositive"] = 'Die TTL mu� positiv sein!';
-$wb["error_empty"] = 'darf nicht leer sein!';
-$wb["error_dot"] = 'mu� mit einem Punkt enden!';
-$wb["error_must_be_integer"] = 'mu� ein Integer sein!';
-$wb["error_must_not_be_greater_than_2147483647"] = 'darf nicht gr��er sein als 2147483647!';
-$wb["error_must_be_positive"] = 'mu� positiv sein!';
-$wb["error_must_not_be_negative"] = 'darf nicht negativ sein!';
-$wb["error_255_characters"] = 'beinhaltet mehr als 255 Zeichen!';
-$wb["error_63_characters"] = 'beinhaltet einen Teil mit mehr als 63 Zeichen!';
-$wb["error_invalid_characters"] = 'beinhaltet einen Teil mit ung�ltigen Zeichen!';
-$wb["error_hyphen_begin"] = 'beinhaltet einen Teil, der mit einem Bindestrich beginnt!';
-$wb["error_hyphen_end"] = 'beinhaltet einen Teil, der mit einem Bindestrich endet!';
-$wb["error_wildcard_non_initial_part"] = 'beinhaltet einen Platzhalter in einem Teil, der nicht am Anfang steht!';
-$wb["error_wildcard_mix"] = 'beinhaltet einen Teil, wo ein Platzhalter mit anderen Zeichen vermischt wird!';
-$wb["error_no_wildcard_allowed"] = 'darf keine Platzhalter beinhalten!';
-$wb["error_out_of_zone"] = 'ist nicht Teil der Zone!';
-$wb["error_no_permission"] = 'Sie haben nicht die Berechtigung, diesen Vorgang durchzuf�hren!';
-?>
\ No newline at end of file
diff --git a/interface/web/dns_old/lib/lang/de_soa_list.lng b/interface/web/dns_old/lib/lang/de_soa_list.lng
deleted file mode 100644
index e07b8cd..0000000
--- a/interface/web/dns_old/lib/lang/de_soa_list.lng
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-$wb["list_head_txt"] = 'Zonen (SOA)';
-$wb["origin_txt"] = 'Ursprung';
-$wb["ns_txt"] = 'Nameserver';
-$wb["mbox_txt"] = 'Admin-Email';
-$wb["serial_txt"] = 'Seriennr.';
-$wb["refresh_txt"] = 'Refresh';
-$wb["retry_txt"] = 'Retry';
-$wb["expire_txt"] = 'Expire';
-$wb["minimum_txt"] = 'Minimum TTL';
-$wb["ttl_txt"] = 'TTL';
-$wb["active_txt"] = 'Aktiv';
-$wb["xfer_txt"] = 'Zonen-Transfer';
-$wb["page_txt"] = 'Seite';
-$wb["page_of_txt"] = 'von';
-$wb["page_next_txt"] = 'Weiter';
-$wb["page_back_txt"] = 'Zur�ck';
-$wb["delete_txt"] = 'L�schen';
-$wb["filter_txt"] = 'Filter';
-$wb["Yes"] = 'Ja';
-$wb["No"] = 'Nein';
-$wb["add_new_record_txt"] = 'Neue Zone erstellen';
-?>
\ No newline at end of file
diff --git a/interface/web/dns_old/lib/lang/en.lng b/interface/web/dns_old/lib/lang/en.lng
deleted file mode 100644
index f47d5eb..0000000
--- a/interface/web/dns_old/lib/lang/en.lng
+++ /dev/null
@@ -1,7 +0,0 @@
-<?php
-
-$wb["Yes"] = 'Yes';
-$wb["No"] = 'No';
-$wb["error_no_permission"] = 'You do not have the right permissions to perform the action!';
-
-?>
\ No newline at end of file
diff --git a/interface/web/dns_old/lib/lang/en_rr.lng b/interface/web/dns_old/lib/lang/en_rr.lng
deleted file mode 100644
index 8e5cf83..0000000
--- a/interface/web/dns_old/lib/lang/en_rr.lng
+++ /dev/null
@@ -1,42 +0,0 @@
-<?php
-$wb["zone_txt"] = 'Zone';
-$wb["name_txt"] = 'Name';
-$wb["type_txt"] = 'Type';
-$wb["data_txt"] = 'Data';
-$wb["aux_txt"] = 'Preference/Priority';
-$wb["ttl_txt"] = 'TTL';
-$wb["weight_txt"] = 'Weight';
-$wb["port_txt"] = 'Port';
-$wb["rp_mbox_txt"] = 'RP Mailbox';
-$wb["rp_txtref_txt"] = 'RP TXTREF';
-$wb["srv_target_txt"] = 'SRV TARGET';
-$wb["zone_origin_txt"] = 'Zone Origin';
-$wb["ns_txt"] = 'Name Server';
-$wb["mbox_txt"] = 'Admin Email';
-$wb["btn_save_txt"] = 'Save';
-$wb["btn_cancel_txt"] = 'Cancel';
-$wb["rr_data_error_empty"] = 'The data field must not be empty!';
-$wb["rr_aux_error_noint"] = 'Preference/priority must be an integer!';
-$wb["rr_ttl_error_notpositive"] = 'The TTL must be positive!';
-$wb["error_ptr"] = 'must contain a fully qualified domain name, ending with a dot!';
-$wb["error_hinfo"] = 'must contain the CPU type, then a space, then the OS type!';
-$wb["error_aaaa"] = 'must contain a valid IPv6 address!';
-$wb["error_a"] = 'must contain a valid IP address!';
-$wb["error_must_be_integer"] = 'must be an integer!';
-$wb["error_must_not_be_greater_than_2147483647"] = 'must not be greater than 2147483647!';
-$wb["error_must_be_positive"] = 'must be positive!';
-$wb["error_must_not_be_negative"] = 'must not be negative!';
-$wb["error_255_characters"] = 'contains more than 255 characters!';
-$wb["error_63_characters"] = 'contains a part with more than 63 characters!';
-$wb["error_invalid_characters"] = 'contains a part with invalid characters!';
-$wb["error_hyphen_begin"] = 'contains a part that begins with a hyphen!';
-$wb["error_hyphen_end"] = 'contains a part that ends with a hyphen!';
-$wb["error_wildcard_non_initial_part"] = 'contains a wildcard in a non-initial part!';
-$wb["error_wildcard_mix"] = 'contains a part mixing a wildcard character with other data!';
-$wb["error_no_wildcard_allowed"] = 'must not contain wildcards!';
-$wb["error_out_of_zone"] = 'is out of zone!';
-$wb["error_invalid_rp"] = 'has invalid format. The correct format is the <i>mbox</i> (a DNS-encoded email address), then a space, then the <i>txtref</i>, which should contain either a host for TXT lookup or a dot!';
-$wb["error_invalid_srv"] = 'has invalid format. The correct format is the <i>weight</i> (0-65535), then a space, then the <i>port</i> (0-65535), then a space, then the <i>target</i>!';
-$wb["error_srv_out_of_range"] = 'for SRV record is out of range!';
-$wb["error_no_permission"] = 'You do not have the right permissions to perform the action!';
-?>
\ No newline at end of file
diff --git a/interface/web/dns_old/lib/lang/en_rr_list.lng b/interface/web/dns_old/lib/lang/en_rr_list.lng
deleted file mode 100644
index 9a6f6d2..0000000
--- a/interface/web/dns_old/lib/lang/en_rr_list.lng
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-$wb["list_head_txt"] = 'Records';
-$wb["name_txt"] = 'Name';
-$wb["type_txt"] = 'Type';
-$wb["data_txt"] = 'Data';
-$wb["aux_txt"] = 'Preference/Priority';
-$wb["ttl_txt"] = 'TTL';
-$wb["page_txt"] = 'Page';
-$wb["page_of_txt"] = 'of';
-$wb["page_next_txt"] = 'Next';
-$wb["page_back_txt"] = 'Back';
-$wb["delete_txt"] = 'Delete';
-$wb["filter_txt"] = 'Filter';
-$wb["add_new_record_txt"] = 'Add New Record';
-$wb['delete_confirmation'] = 'Do you really want to delete this record?';
-?>
\ No newline at end of file
diff --git a/interface/web/dns_old/lib/lang/en_soa.lng b/interface/web/dns_old/lib/lang/en_soa.lng
deleted file mode 100644
index d7e118b..0000000
--- a/interface/web/dns_old/lib/lang/en_soa.lng
+++ /dev/null
@@ -1,49 +0,0 @@
-<?php
-$wb["origin_txt"] = 'Origin';
-$wb["ns_txt"] = 'Name Server';
-$wb["mbox_txt"] = 'Admin Email';
-$wb["serial_txt"] = 'Serial No.';
-$wb["refresh_txt"] = 'Refresh';
-$wb["retry_txt"] = 'Retry';
-$wb["expire_txt"] = 'Expire';
-$wb["minimum_txt"] = 'Minimum TTL';
-$wb["ttl_txt"] = 'TTL';
-$wb["active_txt"] = 'Active';
-$wb["xfer_txt"] = 'Zone Transfers';
-$wb["name_txt"] = 'Name';
-$wb["data_txt"] = 'Data';
-$wb["rp_mbox_txt"] = 'RP Mailbox';
-$wb["rp_txtref_txt"] = 'RP TXTREF';
-$wb["srv_target_txt"] = 'SRV TARGET';
-$wb["zone_origin_txt"] = 'Zone Origin';
-$wb["yes_txt"] = 'Yes';
-$wb["no_txt"] = 'No';
-$wb["btn_save_txt"] = 'Save';
-$wb["btn_cancel_txt"] = 'Cancel';
-$wb["soa_error_empty"] = 'The origin must not be empty!';
-$wb["soa_error_unique"] = 'This origin does already exist! The origin must be unique!';
-$wb["ns_error_empty"] = 'The name server must not be empty!';
-$wb["mbox_error_empty"] = 'The admin email address must not be empty!';
-$wb["serial_error_notpositive"] = 'The serial no. must be positive!';
-$wb["refresh_error_notpositive"] = 'The refresh must be positive!';
-$wb["retry_error_notpositive"] = 'The retry must be positive!';
-$wb["expire_error_notpositive"] = 'The expire must be positive!';
-$wb["minimum_error_notpositive"] = 'The minimum TTL must be positive!';
-$wb["ttl_error_notpositive"] = 'The TTL must be positive!';
-$wb["error_empty"] = 'must not be empty!';
-$wb["error_dot"] = 'must end with a dot!';
-$wb["error_must_be_integer"] = 'must be an integer!';
-$wb["error_must_not_be_greater_than_2147483647"] = 'must not be greater than 2147483647!';
-$wb["error_must_be_positive"] = 'must be positive!';
-$wb["error_must_not_be_negative"] = 'must not be negative!';
-$wb["error_255_characters"] = 'contains more than 255 characters!';
-$wb["error_63_characters"] = 'contains a part with more than 63 characters!';
-$wb["error_invalid_characters"] = 'contains a part with invalid characters!';
-$wb["error_hyphen_begin"] = 'contains a part that begins with a hyphen!';
-$wb["error_hyphen_end"] = 'contains a part that ends with a hyphen!';
-$wb["error_wildcard_non_initial_part"] = 'contains a wildcard in a non-initial part!';
-$wb["error_wildcard_mix"] = 'contains a part mixing a wildcard character with other data!';
-$wb["error_no_wildcard_allowed"] = 'must not contain wildcards!';
-$wb["error_out_of_zone"] = 'is out of zone!';
-$wb["error_no_permission"] = 'You do not have the right permissions to perform the action!';
-?>
\ No newline at end of file
diff --git a/interface/web/dns_old/lib/lang/en_soa_list.lng b/interface/web/dns_old/lib/lang/en_soa_list.lng
deleted file mode 100644
index d5ea1d7..0000000
--- a/interface/web/dns_old/lib/lang/en_soa_list.lng
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-$wb["list_head_txt"] = 'Zones (SOA)';
-$wb["origin_txt"] = 'Origin';
-$wb["ns_txt"] = 'Name Server';
-$wb["mbox_txt"] = 'Admin Email';
-$wb["serial_txt"] = 'Serial No.';
-$wb["refresh_txt"] = 'Refresh';
-$wb["retry_txt"] = 'Retry';
-$wb["expire_txt"] = 'Expire';
-$wb["minimum_txt"] = 'Minimum TTL';
-$wb["ttl_txt"] = 'TTL';
-$wb["active_txt"] = 'Active';
-$wb["xfer_txt"] = 'Zone Transfer';
-$wb["page_txt"] = 'Page';
-$wb["page_of_txt"] = 'of';
-$wb["page_next_txt"] = 'Next';
-$wb["page_back_txt"] = 'Back';
-$wb["delete_txt"] = 'Delete';
-$wb["filter_txt"] = 'Filter';
-$wb["Yes"] = 'Yes';
-$wb["No"] = 'No';
-$wb["add_new_record_txt"] = 'Add New Zone';
-?>
\ No newline at end of file
diff --git a/interface/web/dns_old/lib/lang/fr.lng b/interface/web/dns_old/lib/lang/fr.lng
deleted file mode 100644
index f47d5eb..0000000
--- a/interface/web/dns_old/lib/lang/fr.lng
+++ /dev/null
@@ -1,7 +0,0 @@
-<?php
-
-$wb["Yes"] = 'Yes';
-$wb["No"] = 'No';
-$wb["error_no_permission"] = 'You do not have the right permissions to perform the action!';
-
-?>
\ No newline at end of file
diff --git a/interface/web/dns_old/lib/lang/fr_rr.lng b/interface/web/dns_old/lib/lang/fr_rr.lng
deleted file mode 100644
index 8e5cf83..0000000
--- a/interface/web/dns_old/lib/lang/fr_rr.lng
+++ /dev/null
@@ -1,42 +0,0 @@
-<?php
-$wb["zone_txt"] = 'Zone';
-$wb["name_txt"] = 'Name';
-$wb["type_txt"] = 'Type';
-$wb["data_txt"] = 'Data';
-$wb["aux_txt"] = 'Preference/Priority';
-$wb["ttl_txt"] = 'TTL';
-$wb["weight_txt"] = 'Weight';
-$wb["port_txt"] = 'Port';
-$wb["rp_mbox_txt"] = 'RP Mailbox';
-$wb["rp_txtref_txt"] = 'RP TXTREF';
-$wb["srv_target_txt"] = 'SRV TARGET';
-$wb["zone_origin_txt"] = 'Zone Origin';
-$wb["ns_txt"] = 'Name Server';
-$wb["mbox_txt"] = 'Admin Email';
-$wb["btn_save_txt"] = 'Save';
-$wb["btn_cancel_txt"] = 'Cancel';
-$wb["rr_data_error_empty"] = 'The data field must not be empty!';
-$wb["rr_aux_error_noint"] = 'Preference/priority must be an integer!';
-$wb["rr_ttl_error_notpositive"] = 'The TTL must be positive!';
-$wb["error_ptr"] = 'must contain a fully qualified domain name, ending with a dot!';
-$wb["error_hinfo"] = 'must contain the CPU type, then a space, then the OS type!';
-$wb["error_aaaa"] = 'must contain a valid IPv6 address!';
-$wb["error_a"] = 'must contain a valid IP address!';
-$wb["error_must_be_integer"] = 'must be an integer!';
-$wb["error_must_not_be_greater_than_2147483647"] = 'must not be greater than 2147483647!';
-$wb["error_must_be_positive"] = 'must be positive!';
-$wb["error_must_not_be_negative"] = 'must not be negative!';
-$wb["error_255_characters"] = 'contains more than 255 characters!';
-$wb["error_63_characters"] = 'contains a part with more than 63 characters!';
-$wb["error_invalid_characters"] = 'contains a part with invalid characters!';
-$wb["error_hyphen_begin"] = 'contains a part that begins with a hyphen!';
-$wb["error_hyphen_end"] = 'contains a part that ends with a hyphen!';
-$wb["error_wildcard_non_initial_part"] = 'contains a wildcard in a non-initial part!';
-$wb["error_wildcard_mix"] = 'contains a part mixing a wildcard character with other data!';
-$wb["error_no_wildcard_allowed"] = 'must not contain wildcards!';
-$wb["error_out_of_zone"] = 'is out of zone!';
-$wb["error_invalid_rp"] = 'has invalid format. The correct format is the <i>mbox</i> (a DNS-encoded email address), then a space, then the <i>txtref</i>, which should contain either a host for TXT lookup or a dot!';
-$wb["error_invalid_srv"] = 'has invalid format. The correct format is the <i>weight</i> (0-65535), then a space, then the <i>port</i> (0-65535), then a space, then the <i>target</i>!';
-$wb["error_srv_out_of_range"] = 'for SRV record is out of range!';
-$wb["error_no_permission"] = 'You do not have the right permissions to perform the action!';
-?>
\ No newline at end of file
diff --git a/interface/web/dns_old/lib/lang/fr_rr_list.lng b/interface/web/dns_old/lib/lang/fr_rr_list.lng
deleted file mode 100644
index 9a6f6d2..0000000
--- a/interface/web/dns_old/lib/lang/fr_rr_list.lng
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-$wb["list_head_txt"] = 'Records';
-$wb["name_txt"] = 'Name';
-$wb["type_txt"] = 'Type';
-$wb["data_txt"] = 'Data';
-$wb["aux_txt"] = 'Preference/Priority';
-$wb["ttl_txt"] = 'TTL';
-$wb["page_txt"] = 'Page';
-$wb["page_of_txt"] = 'of';
-$wb["page_next_txt"] = 'Next';
-$wb["page_back_txt"] = 'Back';
-$wb["delete_txt"] = 'Delete';
-$wb["filter_txt"] = 'Filter';
-$wb["add_new_record_txt"] = 'Add New Record';
-$wb['delete_confirmation'] = 'Do you really want to delete this record?';
-?>
\ No newline at end of file
diff --git a/interface/web/dns_old/lib/lang/fr_soa.lng b/interface/web/dns_old/lib/lang/fr_soa.lng
deleted file mode 100644
index d7e118b..0000000
--- a/interface/web/dns_old/lib/lang/fr_soa.lng
+++ /dev/null
@@ -1,49 +0,0 @@
-<?php
-$wb["origin_txt"] = 'Origin';
-$wb["ns_txt"] = 'Name Server';
-$wb["mbox_txt"] = 'Admin Email';
-$wb["serial_txt"] = 'Serial No.';
-$wb["refresh_txt"] = 'Refresh';
-$wb["retry_txt"] = 'Retry';
-$wb["expire_txt"] = 'Expire';
-$wb["minimum_txt"] = 'Minimum TTL';
-$wb["ttl_txt"] = 'TTL';
-$wb["active_txt"] = 'Active';
-$wb["xfer_txt"] = 'Zone Transfers';
-$wb["name_txt"] = 'Name';
-$wb["data_txt"] = 'Data';
-$wb["rp_mbox_txt"] = 'RP Mailbox';
-$wb["rp_txtref_txt"] = 'RP TXTREF';
-$wb["srv_target_txt"] = 'SRV TARGET';
-$wb["zone_origin_txt"] = 'Zone Origin';
-$wb["yes_txt"] = 'Yes';
-$wb["no_txt"] = 'No';
-$wb["btn_save_txt"] = 'Save';
-$wb["btn_cancel_txt"] = 'Cancel';
-$wb["soa_error_empty"] = 'The origin must not be empty!';
-$wb["soa_error_unique"] = 'This origin does already exist! The origin must be unique!';
-$wb["ns_error_empty"] = 'The name server must not be empty!';
-$wb["mbox_error_empty"] = 'The admin email address must not be empty!';
-$wb["serial_error_notpositive"] = 'The serial no. must be positive!';
-$wb["refresh_error_notpositive"] = 'The refresh must be positive!';
-$wb["retry_error_notpositive"] = 'The retry must be positive!';
-$wb["expire_error_notpositive"] = 'The expire must be positive!';
-$wb["minimum_error_notpositive"] = 'The minimum TTL must be positive!';
-$wb["ttl_error_notpositive"] = 'The TTL must be positive!';
-$wb["error_empty"] = 'must not be empty!';
-$wb["error_dot"] = 'must end with a dot!';
-$wb["error_must_be_integer"] = 'must be an integer!';
-$wb["error_must_not_be_greater_than_2147483647"] = 'must not be greater than 2147483647!';
-$wb["error_must_be_positive"] = 'must be positive!';
-$wb["error_must_not_be_negative"] = 'must not be negative!';
-$wb["error_255_characters"] = 'contains more than 255 characters!';
-$wb["error_63_characters"] = 'contains a part with more than 63 characters!';
-$wb["error_invalid_characters"] = 'contains a part with invalid characters!';
-$wb["error_hyphen_begin"] = 'contains a part that begins with a hyphen!';
-$wb["error_hyphen_end"] = 'contains a part that ends with a hyphen!';
-$wb["error_wildcard_non_initial_part"] = 'contains a wildcard in a non-initial part!';
-$wb["error_wildcard_mix"] = 'contains a part mixing a wildcard character with other data!';
-$wb["error_no_wildcard_allowed"] = 'must not contain wildcards!';
-$wb["error_out_of_zone"] = 'is out of zone!';
-$wb["error_no_permission"] = 'You do not have the right permissions to perform the action!';
-?>
\ No newline at end of file
diff --git a/interface/web/dns_old/lib/lang/fr_soa_list.lng b/interface/web/dns_old/lib/lang/fr_soa_list.lng
deleted file mode 100644
index d5ea1d7..0000000
--- a/interface/web/dns_old/lib/lang/fr_soa_list.lng
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-$wb["list_head_txt"] = 'Zones (SOA)';
-$wb["origin_txt"] = 'Origin';
-$wb["ns_txt"] = 'Name Server';
-$wb["mbox_txt"] = 'Admin Email';
-$wb["serial_txt"] = 'Serial No.';
-$wb["refresh_txt"] = 'Refresh';
-$wb["retry_txt"] = 'Retry';
-$wb["expire_txt"] = 'Expire';
-$wb["minimum_txt"] = 'Minimum TTL';
-$wb["ttl_txt"] = 'TTL';
-$wb["active_txt"] = 'Active';
-$wb["xfer_txt"] = 'Zone Transfer';
-$wb["page_txt"] = 'Page';
-$wb["page_of_txt"] = 'of';
-$wb["page_next_txt"] = 'Next';
-$wb["page_back_txt"] = 'Back';
-$wb["delete_txt"] = 'Delete';
-$wb["filter_txt"] = 'Filter';
-$wb["Yes"] = 'Yes';
-$wb["No"] = 'No';
-$wb["add_new_record_txt"] = 'Add New Zone';
-?>
\ No newline at end of file
diff --git a/interface/web/dns_old/lib/lang/se.lng b/interface/web/dns_old/lib/lang/se.lng
deleted file mode 100644
index 7d78d92..0000000
--- a/interface/web/dns_old/lib/lang/se.lng
+++ /dev/null
@@ -1,7 +0,0 @@
-<?php
-
-$wb["Yes"] = 'Ja';
-$wb["No"] = 'Nej';
-$wb["error_no_permission"] = 'Du har ej beh�righet att utf�ra denna �tg�rd!';
-
-?>
\ No newline at end of file
diff --git a/interface/web/dns_old/lib/lang/se_rr.lng b/interface/web/dns_old/lib/lang/se_rr.lng
deleted file mode 100644
index 073f2c3..0000000
--- a/interface/web/dns_old/lib/lang/se_rr.lng
+++ /dev/null
@@ -1,42 +0,0 @@
-<?php
-$wb["zone_txt"] = 'Zon';
-$wb["name_txt"] = 'Namn';
-$wb["type_txt"] = 'Typ';
-$wb["data_txt"] = 'Data';
-$wb["aux_txt"] = 'F�rinst�llt/Prioritet';
-$wb["ttl_txt"] = 'TTL';
-$wb["weight_txt"] = 'Viktning';
-$wb["port_txt"] = 'Port';
-$wb["rp_mbox_txt"] = 'RP Epostl�da';
-$wb["rp_txtref_txt"] = 'RP TXTREF';
-$wb["srv_target_txt"] = 'SRV TARGET';
-$wb["zone_origin_txt"] = 'Zon Ursprung';
-$wb["ns_txt"] = 'Namn Server';
-$wb["mbox_txt"] = 'Admin Epost';
-$wb["btn_save_txt"] = 'Spara';
-$wb["btn_cancel_txt"] = 'Avbryt';
-$wb["rr_data_error_empty"] = 'Data f�ltet f�r inte vara tomt!';
-$wb["rr_aux_error_noint"] = 'F�rinst�llt/Prioritet v�rdet m�ste vara integer!';
-$wb["rr_ttl_error_notpositive"] = 'TTL v�rdet m�ste vara positivt!';
-$wb["error_ptr"] = 'm�ste inneh�lla ett fullt kvalificerat dom�n namn, avslutat med en punkt!';
-$wb["error_hinfo"] = 'm�ste inneh�lla CPU typen, ett mellanslag, sedan vilken OS typ!';
-$wb["error_aaaa"] = 'm�ste inneh�lla en godk�nd IPv6 adress!';
-$wb["error_a"] = 'm�ste inneh�lla en godk�nd IP adress!';
-$wb["error_must_be_integer"] = 'm�ste vara av formatet integer!';
-$wb["error_must_not_be_greater_than_2147483647"] = 'm�ste vara st�rre �n 2147483647!';
-$wb["error_must_be_positive"] = 'm�ste vara positivt v�rde!';
-$wb["error_must_not_be_negative"] = 'f�r inte vara negativt v�rde!';
-$wb["error_255_characters"] = 'inneh�ller mer �n 255 tecken!';
-$wb["error_63_characters"] = 'inneh�ller delar med mer �n 63 tecken!';
-$wb["error_invalid_characters"] = 'inneh�ller delar med ogiltiga tecken!';
-$wb["error_hyphen_begin"] = 'inneh�ller en del som b�rjar med ett bindestreck!';
-$wb["error_hyphen_end"] = 'inneh�ller en del som slutar med ett bindestreck!';
-$wb["error_wildcard_non_initial_part"] = 'inneh�ller ett jokertecken i en icke initial del!';
-$wb["error_wildcard_mix"] = 'inneh�ller en mixning av jokertecken med annan data!';
-$wb["error_no_wildcard_allowed"] = 'f�r inte inneh�lla jokertecken!';
-$wb["error_out_of_zone"] = '�r utanf�r zonen!';
-$wb["error_invalid_rp"] = 'har felaktigt format. Det korrekta formatet �r <i>mbox</i> (en DNS-kodad epost adress), ett mellanslag, sedan <i>txtref</i>, vilket borde inneh�lla antingen en v�rd f�r TXT upps�kning eller en punkt!';
-$wb["error_invalid_srv"] = 'har felaktigt format. Det korrekta formatet �r <i>viktning</i> (0-65535), ett mellanslag, sedan <i>port</i> (0-65535), ett mellanslag, efter dete <i>target</i>!';
-$wb["error_srv_out_of_range"] = 'f�r SRV inl�gget �r utanf�r gr�nserna!';
-$wb["error_no_permission"] = 'Du har ej beh�righet att utf�ra denna �tg�rd!';
-?>
\ No newline at end of file
diff --git a/interface/web/dns_old/lib/lang/se_rr_list.lng b/interface/web/dns_old/lib/lang/se_rr_list.lng
deleted file mode 100644
index 86d5adb..0000000
--- a/interface/web/dns_old/lib/lang/se_rr_list.lng
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-$wb["list_head_txt"] = 'Inl�gg';
-$wb["name_txt"] = 'Namn';
-$wb["type_txt"] = 'Typ';
-$wb["data_txt"] = 'Data';
-$wb["aux_txt"] = 'F�rinst�llt/Prioritet';
-$wb["ttl_txt"] = 'TTL';
-$wb["page_txt"] = 'Sida';
-$wb["page_of_txt"] = 'av';
-$wb["page_next_txt"] = 'N�sta';
-$wb["page_back_txt"] = 'Tillbaka';
-$wb["delete_txt"] = 'Ta bort';
-$wb["filter_txt"] = 'Filter';
-$wb["add_new_record_txt"] = 'L�gg till Nytt Inl�gg';
-$wb['delete_confirmation'] = 'Vill du verkligen ta bort detta inl�gg?';
-?>
\ No newline at end of file
diff --git a/interface/web/dns_old/lib/lang/se_soa.lng b/interface/web/dns_old/lib/lang/se_soa.lng
deleted file mode 100644
index 2cc5f98..0000000
--- a/interface/web/dns_old/lib/lang/se_soa.lng
+++ /dev/null
@@ -1,49 +0,0 @@
-<?php
-$wb["origin_txt"] = 'Ursprung';
-$wb["ns_txt"] = 'Namn Server';
-$wb["mbox_txt"] = 'Admin Epost';
-$wb["serial_txt"] = 'Serial No.';
-$wb["refresh_txt"] = Uppdatera';
-$wb["retry_txt"] = 'Nytt f�rs�k';
-$wb["expire_txt"] = 'F�rfaller';
-$wb["minimum_txt"] = 'Minimum TTL';
-$wb["ttl_txt"] = 'TTL';
-$wb["active_txt"] = 'Aktiv';
-$wb["xfer_txt"] = 'Zon �verf�ring';
-$wb["name_txt"] = 'Namn';
-$wb["data_txt"] = 'Data';
-$wb["rp_mbox_txt"] = 'RP Epostl�da';
-$wb["rp_txtref_txt"] = 'RP TXTREF';
-$wb["srv_target_txt"] = 'SRV TARGET';
-$wb["zone_origin_txt"] = 'Zon Ursprung';
-$wb["yes_txt"] = 'Ja';
-$wb["no_txt"] = 'Nej';
-$wb["btn_save_txt"] = 'Spara';
-$wb["btn_cancel_txt"] = 'Avbryt';
-$wb["soa_error_empty"] = 'Ursprunget kan ej vara tomt!';
-$wb["soa_error_unique"] = 'Detta ursprung finns alla redan! Ursprunget m�ste vara unikt!';
-$wb["ns_error_empty"] = 'Namn server kan ej vara tomt!';
-$wb["mbox_error_empty"] = 'Admin epost adressen kan ej vara tomt!';
-$wb["serial_error_notpositive"] = 'Serienumret m�ste vara ett positivt v�rde!';
-$wb["refresh_error_notpositive"] = 'Uppdateringsv�rdet m�ste vara positivt!';
-$wb["retry_error_notpositive"] = 'V�rdet p� Nytt f�rs�k m�ste vara positivt!';
-$wb["expire_error_notpositive"] = 'F�rfallov�rdet m�ste vara positivt!';
-$wb["minimum_error_notpositive"] = 'Minsta TTL v�rdet m�ste vara positivt!';
-$wb["ttl_error_notpositive"] = 'TTL v�rdet m�ste vara positivt!';
-$wb["error_empty"] = 'f�r inte vara tom!';
-$wb["error_dot"] = 'm�ste sluta med en punkt!';
-$wb["error_must_be_integer"] = 'm�ste vara integer!';
-$wb["error_must_not_be_greater_than_2147483647"] = 'f�r inte vara st�rre �n 2147483647!';
-$wb["error_must_be_positive"] = 'm�ste vara positivt v�rde!';
-$wb["error_must_not_be_negative"] = 'f�r inte vara negativt v�rde!';
-$wb["error_255_characters"] = 'inneh�ller mer �n 255 tecken!';
-$wb["error_63_characters"] = 'inneh�ller delar med mer �n 63 tecken!';
-$wb["error_invalid_characters"] = 'inneh�ller delar med ej giltiga tecken!';
-$wb["error_hyphen_begin"] = 'inneh�ller delar som b�rjar med ett bindestreck!';
-$wb["error_hyphen_end"] = 'inneh�ler delar som slutar med ett bindestreck!';
-$wb["error_wildcard_non_initial_part"] = 'inneh�ller ett jokertecken i icke initial del!';
-$wb["error_wildcard_mix"] = 'inneh�ller delar med en blandning av jokertecken med annan data!';
-$wb["error_no_wildcard_allowed"] = 'f�r inte inneh�lla jokertecken!';
-$wb["error_out_of_zone"] = '�r utanf�r zonen!';
-$wb["error_no_permission"] = 'Du har inte beh�righet att utf�ra denna �tg�rd!';
-?>
\ No newline at end of file
diff --git a/interface/web/dns_old/lib/lang/se_soa_list.lng b/interface/web/dns_old/lib/lang/se_soa_list.lng
deleted file mode 100644
index 5cfd3f1..0000000
--- a/interface/web/dns_old/lib/lang/se_soa_list.lng
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-$wb["list_head_txt"] = 'Zoner (SOA)';
-$wb["origin_txt"] = 'Ursprung';
-$wb["ns_txt"] = 'Namn Server;
-$wb["mbox_txt"] = 'Admin Epost';
-$wb["serial_txt"] = 'Serial No.';
-$wb["refresh_txt"] = 'Uppdatera';
-$wb["retry_txt"] = 'Nytt f�rs�k';
-$wb["expire_txt"] = 'F�rfaller';
-$wb["minimum_txt"] = 'Minimum TTL';
-$wb["ttl_txt"] = 'TTL';
-$wb["active_txt"] = 'Aktiv';
-$wb["xfer_txt"] = 'Zon �verf�ring';
-$wb["page_txt"] = 'Sida';
-$wb["page_of_txt"] = 'av';
-$wb["page_next_txt"] = 'N�sta';
-$wb["page_back_txt"] = 'Tillbaka';
-$wb["delete_txt"] = 'Ta bort';
-$wb["filter_txt"] = 'Filter';
-$wb["Yes"] = 'Ja';
-$wb["No"] = 'Nej';
-$wb["add_new_record_txt"] = 'L�gg till Ny Zon';
-?>
\ No newline at end of file
diff --git a/interface/web/dns_old/lib/module.conf.php b/interface/web/dns_old/lib/module.conf.php
deleted file mode 100644
index 741c76f..0000000
--- a/interface/web/dns_old/lib/module.conf.php
+++ /dev/null
@@ -1,27 +0,0 @@
-<?php
-$module = array (
- 'name' => 'dns_old',
- 'title' => 'DNS OLD',
- 'template' => 'module.tpl.htm',
- 'navframe_page' => '',
- 'startpage' => 'dns_old/soa_list.php',
- 'tab_width' => '',
- 'nav' =>
- array (
- 0 =>
- array (
- 'title' => 'Zones',
- 'open' => 1,
- 'items' =>
- array (
- 0 =>
- array (
- 'title' => 'SOA',
- 'target' => 'content',
- 'link' => 'dns_old/soa_list.php',
- ),
- ),
- ),
- ),
-)
-?>
\ No newline at end of file
diff --git a/interface/web/dns_old/list/rr.list.php b/interface/web/dns_old/list/rr.list.php
deleted file mode 100644
index 852c515..0000000
--- a/interface/web/dns_old/list/rr.list.php
+++ /dev/null
@@ -1,131 +0,0 @@
-<?php
-/*
-Copyright (c) 2005, Till Brehm, Falko Timme, projektfarm Gmbh
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
- * Neither the name of ISPConfig nor the names of its contributors
- may be used to endorse or promote products derived from this software without
- specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-/*
- Datatypes:
- - INTEGER
- - DOUBLE
- - CURRENCY
- - VARCHAR
- - TEXT
- - DATE
-*/
-
-
-
-// Name of the list
-$liste["name"] = "rr";
-
-// Database table
-$liste["table"] = "dns_rr";
-
-// Index index field of the database table
-$liste["table_idx"] = "id";
-
-// Search Field Prefix
-$liste["search_prefix"] = "search_";
-
-// Records per page
-$liste["records_per_page"] = 15;
-
-// Script File of the list
-$liste["file"] = "rr_list.php";
-
-// Script file of the edit form
-$liste["edit_file"] = "rr_edit.php";
-
-// Script File of the delete script
-$liste["delete_file"] = "rr_del.php";
-
-// Paging Template
-$liste["paging_tpl"] = "templates/paging.tpl.htm";
-
-// Enable auth
-$liste["auth"] = "yes";
-
-
-/*****************************************************
-* Suchfelder
-*****************************************************/
-/*
-$liste["item"][] = array( 'field' => "server_id",
- 'datatype' => "VARCHAR",
- 'formtype' => "TEXT",
- 'op' => "like",
- 'prefix' => "%",
- 'suffix' => "%",
- 'width' => "",
- 'value' => "");
-*/
-$liste["item"][] = array( 'field' => "name",
- 'datatype' => "VARCHAR",
- 'formtype' => "TEXT",
- 'op' => "like",
- 'prefix' => "%",
- 'suffix' => "%",
- 'width' => "",
- 'value' => "");
-
-$liste["item"][] = array( 'field' => "type",
- 'datatype' => "VARCHAR",
- 'formtype' => "SELECT",
- 'op' => "=",
- 'prefix' => "",
- 'suffix' => "",
- 'width' => "",
- 'value' => array('A' => 'A', 'AAAA' => 'AAAA', 'ALIAS' => 'ALIAS', 'CNAME' => 'CNAME', 'HINFO' => 'HINFO', 'MX' => 'MX', 'NS' => 'NS', 'PTR' => 'PTR', 'RP' => 'RP', 'SRV' => 'SRV', 'TXT' => 'TXT'));
-
-$liste["item"][] = array( 'field' => "data",
- 'datatype' => "VARCHAR",
- 'formtype' => "TEXT",
- 'op' => "like",
- 'prefix' => "%",
- 'suffix' => "%",
- 'width' => "",
- 'value' => "");
-
-$liste["item"][] = array( 'field' => "aux",
- 'datatype' => "INTEGER",
- 'formtype' => "TEXT",
- 'op' => "=",
- 'prefix' => "",
- 'suffix' => "",
- 'width' => "",
- 'value' => "");
-
-$liste["item"][] = array( 'field' => "ttl",
- 'datatype' => "INTEGER",
- 'formtype' => "TEXT",
- 'op' => "=",
- 'prefix' => "",
- 'suffix' => "",
- 'width' => "",
- 'value' => "");
-
-?>
\ No newline at end of file
diff --git a/interface/web/dns_old/list/soa.list.php b/interface/web/dns_old/list/soa.list.php
deleted file mode 100644
index fe4bcf5..0000000
--- a/interface/web/dns_old/list/soa.list.php
+++ /dev/null
@@ -1,178 +0,0 @@
-<?php
-/*
-Copyright (c) 2005, Till Brehm, Falko Timme, projektfarm Gmbh
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
- * Neither the name of ISPConfig nor the names of its contributors
- may be used to endorse or promote products derived from this software without
- specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-/*
- Datatypes:
- - INTEGER
- - DOUBLE
- - CURRENCY
- - VARCHAR
- - TEXT
- - DATE
-*/
-
-
-
-// Name of the list
-$liste["name"] = "soa";
-
-// Database table
-$liste["table"] = "dns_soa";
-
-// Index index field of the database table
-$liste["table_idx"] = "id";
-
-// Search Field Prefix
-$liste["search_prefix"] = "search_";
-
-// Records per page
-$liste["records_per_page"] = 15;
-
-// Script File of the list
-$liste["file"] = "soa_list.php";
-
-// Script file of the edit form
-$liste["edit_file"] = "soa_edit.php";
-
-// Script File of the delete script
-$liste["delete_file"] = "soa_del.php";
-
-// Paging Template
-$liste["paging_tpl"] = "templates/paging.tpl.htm";
-
-// Enable auth
-$liste["auth"] = "yes";
-
-/*****************************************************
-* Suchfelder
-*****************************************************/
-
-$liste["item"][] = array( 'field' => "origin",
- 'datatype' => "VARCHAR",
- 'formtype' => "TEXT",
- 'op' => "like",
- 'prefix' => "%",
- 'suffix' => "%",
- 'width' => "",
- 'value' => "");
-
-$liste["item"][] = array( 'field' => "ns",
- 'datatype' => "VARCHAR",
- 'formtype' => "TEXT",
- 'op' => "like",
- 'prefix' => "%",
- 'suffix' => "%",
- 'width' => "",
- 'value' => "");
-
-/*
-$liste["item"][] = array( 'field' => "mbox",
- 'datatype' => "VARCHAR",
- 'formtype' => "TEXT",
- 'op' => "like",
- 'prefix' => "%",
- 'suffix' => "%",
- 'width' => "",
- 'value' => "");
-
-$liste["item"][] = array( 'field' => "serial",
- 'datatype' => "INTEGER",
- 'formtype' => "TEXT",
- 'op' => "=",
- 'prefix' => "",
- 'suffix' => "",
- 'width' => "",
- 'value' => "");
-
-$liste["item"][] = array( 'field' => "refresh",
- 'datatype' => "INTEGER",
- 'formtype' => "TEXT",
- 'op' => "=",
- 'prefix' => "",
- 'suffix' => "",
- 'width' => "",
- 'value' => "");
-
-$liste["item"][] = array( 'field' => "retry",
- 'datatype' => "INTEGER",
- 'formtype' => "TEXT",
- 'op' => "=",
- 'prefix' => "",
- 'suffix' => "",
- 'width' => "",
- 'value' => "");
-
-$liste["item"][] = array( 'field' => "expire",
- 'datatype' => "INTEGER",
- 'formtype' => "TEXT",
- 'op' => "=",
- 'prefix' => "",
- 'suffix' => "",
- 'width' => "",
- 'value' => "");
-
-$liste["item"][] = array( 'field' => "minimum",
- 'datatype' => "INTEGER",
- 'formtype' => "TEXT",
- 'op' => "=",
- 'prefix' => "",
- 'suffix' => "",
- 'width' => "",
- 'value' => "");
-*/
-
-$liste["item"][] = array( 'field' => "ttl",
- 'datatype' => "INTEGER",
- 'formtype' => "TEXT",
- 'op' => "=",
- 'prefix' => "",
- 'suffix' => "",
- 'width' => "",
- 'value' => "");
-
-$liste["item"][] = array( 'field' => "active",
- 'datatype' => "VARCHAR",
- 'formtype' => "SELECT",
- 'op' => "=",
- 'prefix' => "",
- 'suffix' => "",
- 'width' => "",
- 'value' => array('Y' => $app->lng('Yes'), 'N' => $app->lng('No')));
-
-/*
-$liste["item"][] = array( 'field' => "xfer",
- 'datatype' => "VARCHAR",
- 'formtype' => "TEXT",
- 'op' => "LIKE",
- 'prefix' => "%",
- 'suffix' => "%",
- 'width' => "",
- 'value' => "");
-*/
-?>
\ No newline at end of file
diff --git a/interface/web/dns_old/rr_del.php b/interface/web/dns_old/rr_del.php
deleted file mode 100644
index af379b0..0000000
--- a/interface/web/dns_old/rr_del.php
+++ /dev/null
@@ -1,139 +0,0 @@
-<?php
-
-/*
-Copyright (c) 2005, Till Brehm, Falko Timme, projektfarm Gmbh
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
- * Neither the name of ISPConfig nor the names of its contributors
- may be used to endorse or promote products derived from this software without
- specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-/******************************************
-* Begin Form configuration
-******************************************/
-
-$list_def_file = "list/rr.list.php";
-$tform_def_file = "form/rr.tform.php";
-
-/******************************************
-* End Form configuration
-******************************************/
-
-require_once('../../lib/config.inc.php');
-require_once('../../lib/app.inc.php');
-
-// Checke Berechtigungen f�r Modul
-if(!stristr($_SESSION["s"]["user"]["modules"],$_SESSION["s"]["module"]["name"])) {
- header("Location: ../index.php");
- exit;
-}
-
-// Loading classes
-$app->load('tform_actions');
-
-class page_action extends tform_actions {
-
- function onDelete() {
- global $app, $conf;
-
- $app->uses('tform');
- if(!$rr = $app->db->queryOneRecord("SELECT * FROM dns_rr WHERE id = ".$_REQUEST['id']." AND ".$app->tform->getAuthSQL('d'))) $app->error($app->lng('error_no_permission'));
-
- //$rr = $app->db->queryOneRecord("SELECT * FROM rr WHERE id = ".$_REQUEST['id']);
- $zone_id = $rr['zone'];
-
- // update serial
- $soa = $app->db->queryOneRecord("SELECT * FROM dns_soa WHERE id = ".$zone_id);
- $serial = $soa['serial'];
- $update = 1;
-
- if($update > 0){
- $serial_date = substr($serial, 0, 8);
- $count = intval(substr($serial, 8, 2));
- $current_date = date("Ymd");
- if($serial_date == $current_date){
- $count += 1;
- $count = str_pad($count, 2, "0", STR_PAD_LEFT);
- $new_serial = $current_date.$count;
- } else {
- $new_serial = $current_date.'01';
- }
- $app->db->query("UPDATE dns_soa SET serial = '".$new_serial."' WHERE id = ".$zone_id);
- }
-
- // PTR
- if($conf['auto_create_ptr'] == 1 && trim($conf['default_ns']) != '' && trim($conf['default_mbox']) != ''){
- if($rr['type'] == 'A' || $rr['type'] == 'AAAA'){
- list($a, $b, $c, $d) = explode('.', $rr['data']);
- $ptr_soa = $c.'.'.$b.'.'.$a.'.in-addr.arpa.';
- if(substr($rr['name'], -1) == '.'){
- $ptr_soa_rr_data = $rr['name'];
- } else {
- $ptr_soa_rr_data = $rr['name'].(trim($rr['name']) == '' ? '' : '.').$soa['origin'];
- }
- if($ptr_soa_exist = $app->db->queryOneRecord("SELECT * FROM dns_soa WHERE origin = '".$ptr_soa."'")){
- if($ptr_soa_rr_exist = $app->db->queryOneRecord("SELECT * FROM dns_rr WHERE zone = '".$ptr_soa_exist['id']."' AND name = '".$d."' AND type = 'PTR' AND data = '".$ptr_soa_rr_data."'")){
- $app->db->query("DELETE FROM rr WHERE id = ".$ptr_soa_rr_exist['id']);
- // is there another A/AAAA record with that IP address?
- if($other_rr = $app->db->queryOneRecord("SELECT * FROM dns_rr WHERE (type = 'A' OR type = 'AAAA') AND data = '".$rr['data']."' AND id != ".$rr['id'])){
- $other_soa = $app->db->queryOneRecord("SELECT * FROM dns_soa WHERE id = ".$other_rr['zone']);
- if(substr($other_rr['name'], -1) == '.'){
- $other_ptr_soa_rr_data = $other_rr['name'];
- } else {
- $other_ptr_soa_rr_data = $other_rr['name'].(trim($other_rr['name']) == '' ? '' : '.').$other_soa['origin'];
- }
- $app->db->query("INSERT INTO dns_rr (zone, name, type, data, aux, ttl, sys_userid, sys_groupid, sys_perm_user, sys_perm_group, sys_perm_other) VALUES ('".$ptr_soa_exist['id']."', '".$d."', 'PTR', '".$other_ptr_soa_rr_data."', '0', '".$conf['default_ttl']."', '".$_SESSION['s']['user']['sys_userid']."', '".$_SESSION['s']['user']['sys_groupid']."', '".$_SESSION['s']['user']['sys_perm_user']."', '".$_SESSION['s']['user']['sys_perm_group']."', '".$_SESSION['s']['user']['sys_perm_other']."')");
- }
-
- // if no more records exist for the ptr_soa, delete it
- if(!$ptr_soa_rr = $app->db->queryOneRecord("SELECT * FROM dns_rr WHERE zone = '".$ptr_soa_exist['id']."'")){
- $app->db->query("DELETE FROM dns_soa WHERE id = ".$ptr_soa_exist['id']);
- } else { // increment serial
- $serial_date = substr($ptr_soa_exist['serial'], 0, 8);
- $count = intval(substr($ptr_soa_exist['serial'], 8, 2));
- $current_date = date("Ymd");
- if($serial_date == $current_date){
- $count += 1;
- $count = str_pad($count, 2, "0", STR_PAD_LEFT);
- $new_serial = $current_date.$count;
- } else {
- $new_serial = $current_date.'01';
- }
- $app->db->query("UPDATE dns_soa SET serial = '".$new_serial."' WHERE id = ".$ptr_soa_exist['id']);
- }
- }
- }
- }
- }
-
-
- parent::onDelete();
- }
-
-}
-
-$app->tform_actions = new page_action;
-$app->tform_actions->onDelete();
-
-
-?>
\ No newline at end of file
diff --git a/interface/web/dns_old/rr_edit.php b/interface/web/dns_old/rr_edit.php
deleted file mode 100644
index 369183c..0000000
--- a/interface/web/dns_old/rr_edit.php
+++ /dev/null
@@ -1,186 +0,0 @@
-<?php
-/*
-Copyright (c) 2005, Till Brehm, Falko Timme, projektfarm Gmbh
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
- * Neither the name of ISPConfig nor the names of its contributors
- may be used to endorse or promote products derived from this software without
- specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-
-/******************************************
-* Begin Form configuration
-******************************************/
-
-$tform_def_file = "form/rr.tform.php";
-
-/******************************************
-* End Form configuration
-******************************************/
-
-require_once('../../lib/config.inc.php');
-require_once('../../lib/app.inc.php');
-
-// Checking module permissions
-if(!stristr($_SESSION["s"]["user"]["modules"],$_SESSION["s"]["module"]["name"])) {
- header("Location: ../index.php");
- exit;
-}
-
-// Loading classes
-$app->uses('tpl,tform,tform_actions');
-$app->load('tform_actions');
-
-class page_action extends tform_actions {
-
-
- function onSubmit() {
- global $app, $conf;
-
- if($this->dataRecord['id'] > 0){
- if(!$app->tform->checkPerm($this->dataRecord['id'],'u')) $app->error($app->tform->wordbook['error_no_permission']);
- } else {
- if(!$app->tform->checkPerm($this->dataRecord['id'],'i')) $app->error($app->tform->wordbook['error_no_permission']);
- }
-
- $this->dataRecord["zone"] = $_SESSION['s']['list']['rr']['parent_id'];
-
- $app->uses('validate_dns');
- $app->tform->errorMessage .= $app->validate_dns->validate_rr($this->dataRecord);
-
- $increased_serials[] = -1;
- if($app->tform->errorMessage == ''){
- // update serial
- $soa = $app->db->queryOneRecord("SELECT * FROM dns_soa WHERE id = ".$this->dataRecord["zone"]);
- $serial = $soa['serial'];
- $update = 0;
- if($old_record = $app->db->queryOneRecord("SELECT * FROM dns_rr WHERE id = ".$this->dataRecord["id"])){
- foreach($old_record as $key => $val){
- if($this->dataRecord[$key] != $val && isset($this->dataRecord[$key])) $update += 1;
- }
- } else { // new record
- $update = 1;
- }
-
- if($update > 0 && !in_array($soa['id'], $increased_serials)){
- $new_serial = $app->validate_dns->increase_serial($serial);
- $increased_serials[] = $soa['id'];
- $app->db->query("UPDATE dns_soa SET serial = '".$new_serial."' WHERE id = ".$this->dataRecord["zone"]);
- }
-
- // PTR
- if($conf['auto_create_ptr'] == 1 && trim($conf['default_ns']) != '' && trim($conf['default_mbox']) != ''){
- if($this->dataRecord['type'] == 'A' || $this->dataRecord['type'] == 'AAAA'){
- list($a, $b, $c, $d) = explode('.', $this->dataRecord['data']);
- $ptr_soa = $c.'.'.$b.'.'.$a.'.in-addr.arpa.';
- if(substr($this->dataRecord['name'], -1) == '.'){
- $ptr_soa_rr_data = $this->dataRecord['name'];
- } else {
- $ptr_soa_rr_data = $this->dataRecord['name'].(trim($this->dataRecord['name']) == '' ? '' : '.').$soa['origin'];
- }
-
- if(!$ptr_soa_exist = $app->db->queryOneRecord("SELECT * FROM dns_soa WHERE origin = '".$ptr_soa."'")){
- $app->db->query("INSERT INTO dns_soa (origin, ns, mbox, serial, refresh, retry, expire, minimum, ttl, active, sys_userid, sys_groupid, sys_perm_user, sys_perm_group, sys_perm_other) VALUES ('".$ptr_soa."', '".trim($conf['default_ns'])."', '".trim($conf['default_mbox'])."', '".date("Ymd").'01'."', '".$conf['default_refresh']."', '".$conf['default_retry']."', '".$conf['default_expire']."', '".$conf['default_minimum_ttl']."', '".$conf['default_ttl']."', 'Y', '".$_SESSION['s']['user']['sys_userid']."', '".$_SESSION['s']['user']['sys_groupid']."', '".$_SESSION['s']['user']['sys_perm_user']."', '".$_SESSION['s']['user']['sys_perm_group']."', '".$_SESSION['s']['user']['sys_perm_other']."')");
- $ptr_soa_id = $app->db->insertID();
- $app->db->query("INSERT INTO dns_rr (zone, name, type, data, aux, ttl, sys_userid, sys_groupid, sys_perm_user, sys_perm_group, sys_perm_other) VALUES ('".$ptr_soa_id."', '".$d."', 'PTR', '".$ptr_soa_rr_data."', '0', '".$conf['default_ttl']."', '".$_SESSION['s']['user']['sys_userid']."', '".$_SESSION['s']['user']['sys_groupid']."', '".$_SESSION['s']['user']['sys_perm_user']."', '".$_SESSION['s']['user']['sys_perm_group']."', '".$_SESSION['s']['user']['sys_perm_other']."')");
- } else {
- if($ptr_soa_exist['active'] != 'Y') $app->db->query("UPDATE dns_soa SET active = 'Y' WHERE id = ".$ptr_soa_exist['id']);
- if(!$ptr_soa_rr_exist = $app->db->queryOneRecord("SELECT * FROM dns_rr WHERE zone = '".$ptr_soa_exist['id']."' AND name = '".$d."' AND type = 'PTR'")){
- $app->db->query("INSERT INTO dns_rr (zone, name, type, data, aux, ttl, sys_userid, sys_groupid, sys_perm_user, sys_perm_group, sys_perm_other) VALUES ('".$ptr_soa_exist['id']."', '".$d."', 'PTR', '".$ptr_soa_rr_data."', '0', '".$conf['default_ttl']."', '".$_SESSION['s']['user']['sys_userid']."', '".$_SESSION['s']['user']['sys_groupid']."', '".$_SESSION['s']['user']['sys_perm_user']."', '".$_SESSION['s']['user']['sys_perm_group']."', '".$_SESSION['s']['user']['sys_perm_other']."')");
- // increase serial of PTR SOA
- if(!in_array($ptr_soa_exist['id'], $increased_serials)){
- $ptr_soa_new_serial = $app->validate_dns->increase_serial($ptr_soa_exist['serial']);
- $increased_serials[] = $ptr_soa_exist['id'];
- $app->db->query("UPDATE dns_soa SET serial = '".$ptr_soa_new_serial."' WHERE id = ".$ptr_soa_exist['id']);
- }
- }
- }
-
- // if IP address changes, delete/change old PTR record
- if(!empty($old_record)){
-
-
-
-
- list($oa, $ob, $oc, $od) = explode('.', $old_record['data']);
- $old_ptr_soa = $oc.'.'.$ob.'.'.$oa.'.in-addr.arpa.';
- $old_ptr_soa_exist = $app->db->queryOneRecord("SELECT * FROM dns_soa WHERE origin = '".$old_ptr_soa."'");
- if(substr($old_record['name'], -1) == '.'){
- $old_ptr_soa_rr_data = $old_record['name'];
- } else {
- $old_ptr_soa_rr_data = $old_record['name'].(trim($old_record['name']) == '' ? '' : '.').$soa['origin'];
- }
- if(!$app->db->queryOneRecord("SELECT * FROM dns_rr WHERE zone = '".$old_ptr_soa_exist['id']."' AND name = '".$od."' AND type = 'PTR' AND data = '".$old_ptr_soa_rr_data."'")){
- parent::onSubmit();
- return true;
- }
-
- if($old_record['data'] == $this->dataRecord['data']){
- $a_rr_with_same_ip = $this->dataRecord;
- $a_rr_with_same_ip['origin'] = $soa['origin'];
- } else {
- $a_rr_with_same_ip = $app->db->queryOneRecord("SELECT dns_rr.*, dns_soa.origin FROM dns_rr, dns_soa WHERE dns_rr.type = 'A' AND dns_rr.data = '".$old_record['data']."' AND dns_rr.zone = dns_soa.id AND dns_soa.active = 'Y' AND dns_rr.id != ".$this->dataRecord["id"]);
- }
-
- if($a_rr_with_same_ip){
- if(substr($a_rr_with_same_ip['name'], -1) == '.'){
- $new_ptr_soa_rr_data = $a_rr_with_same_ip['name'];
- } else {
- $new_ptr_soa_rr_data = $a_rr_with_same_ip['name'].(trim($a_rr_with_same_ip['name']) == '' ? '' : '.').$a_rr_with_same_ip['origin'];
- }
- $app->db->query("UPDATE dns_rr SET data = '".$new_ptr_soa_rr_data."' WHERE zone = '".$old_ptr_soa_exist['id']."' AND name = '".$od."' AND type = 'PTR'");
- // increase serial
- if(!in_array($old_ptr_soa_exist['id'], $increased_serials)){
- $new_serial = $app->validate_dns->increase_serial($old_ptr_soa_exist['serial']);
- $increased_serials[] = $old_ptr_soa_exist['id'];
- $app->db->query("UPDATE dns_soa SET serial = '".$new_serial."' WHERE id = ".$old_ptr_soa_exist['id']);
- }
- } else {
- $app->db->query("DELETE FROM dns_rr WHERE zone = '".$old_ptr_soa_exist['id']."' AND name = '".$od."' AND type = 'PTR'");
- if(!$app->db->queryOneRecord("SELECT * FROM dns_rr WHERE zone = '".$old_ptr_soa_exist['id']."'")){
- $app->db->query("DELETE FROM dns_soa WHERE id = ".$old_ptr_soa_exist['id']);
- } else {
- // increase serial
- if(!in_array($old_ptr_soa_exist['id'], $increased_serials)){
- $new_serial = $app->validate_dns->increase_serial($old_ptr_soa_exist['serial']);
- $increased_serials[] = $old_ptr_soa_exist['id'];
- $app->db->query("UPDATE dns_soa SET serial = '".$new_serial."' WHERE id = ".$old_ptr_soa_exist['id']);
- }
- }
- }
- }
-
- }
- }
- }
-
-
- parent::onSubmit();
- }
-
-}
-
-$app->tform_actions = new page_action;
-$app->tform_actions->onLoad();
-
-?>
\ No newline at end of file
diff --git a/interface/web/dns_old/rr_list.php b/interface/web/dns_old/rr_list.php
deleted file mode 100644
index 2c19b27..0000000
--- a/interface/web/dns_old/rr_list.php
+++ /dev/null
@@ -1,55 +0,0 @@
-<?php
-/*
-Copyright (c) 2005, Till Brehm, Falko Timme, projektfarm Gmbh
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
- * Neither the name of ISPConfig nor the names of its contributors
- may be used to endorse or promote products derived from this software without
- specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-require_once('../../lib/config.inc.php');
-require_once('../../lib/app.inc.php');
-
-/******************************************
-* Begin Form configuration
-******************************************/
-
-$list_def_file = "list/rr.list.php";
-
-/******************************************
-* End Form configuration
-******************************************/
-
-// Checking module permissions
-if(!stristr($_SESSION["s"]["user"]["modules"],$_SESSION["s"]["module"]["name"])) {
- header("Location: ../index.php");
- exit;
-}
-
-$app->uses('listform_actions');
-
-// Generate the page
-$app->listform_actions->onLoad();
-
-
-?>
\ No newline at end of file
diff --git a/interface/web/dns_old/soa_del.php b/interface/web/dns_old/soa_del.php
deleted file mode 100644
index 049bbef..0000000
--- a/interface/web/dns_old/soa_del.php
+++ /dev/null
@@ -1,122 +0,0 @@
-<?php
-
-/*
-Copyright (c) 2005, Till Brehm, Falko Timme, projektfarm Gmbh
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
- * Neither the name of ISPConfig nor the names of its contributors
- may be used to endorse or promote products derived from this software without
- specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-/******************************************
-* Begin Form configuration
-******************************************/
-
-$list_def_file = "list/soa.list.php";
-$tform_def_file = "form/soa.tform.php";
-
-/******************************************
-* End Form configuration
-******************************************/
-
-require_once('../../lib/config.inc.php');
-require_once('../../lib/app.inc.php');
-
-// Checke Berechtigungen f�r Modul
-if(!stristr($_SESSION["s"]["user"]["modules"],$_SESSION["s"]["module"]["name"])) {
- header("Location: ../index.php");
- exit;
-}
-
-// Loading classes
-$app->load('tform_actions');
-
-class page_action extends tform_actions {
-
- function onDelete() {
- global $app, $conf;
-
- $app->uses('tform');
- if(!$soa = $app->db->queryOneRecord("SELECT * FROM dns_soa WHERE id = ".$_REQUEST['id']." AND ".$app->tform->getAuthSQL('d'))) $app->error($app->tform->wordbook['error_no_permission']);
-
- // PTR
- if($conf['auto_create_ptr'] == 1 && trim($conf['default_ns']) != '' && trim($conf['default_mbox']) != ''){
- //$soa = $app->db->queryOneRecord("SELECT * FROM soa WHERE id = ".$_REQUEST['id']);
- $rrs = $app->db->queryAllRecords("SELECT * FROM dns_rr WHERE zone = '".$_REQUEST['id']."' AND (type = 'A' OR type = 'AAAA')");
- if(!empty($rrs)){
- foreach($rrs as $rr){
- list($a, $b, $c, $d) = explode('.', $rr['data']);
- $ptr_soa = $c.'.'.$b.'.'.$a.'.in-addr.arpa.';
- if(substr($rr['name'], -1) == '.'){
- $ptr_soa_rr_data = $rr['name'];
- } else {
- $ptr_soa_rr_data = $rr['name'].(trim($rr['name']) == '' ? '' : '.').$soa['origin'];
- }
- if($ptr_soa_exist = $app->db->queryOneRecord("SELECT * FROM dns_soa WHERE origin = '".$ptr_soa."'")){
- if($ptr_soa_rr_exist = $app->db->queryOneRecord("SELECT * FROM dns_rr WHERE zone = '".$ptr_soa_exist['id']."' AND name = '".$d."' AND type = 'PTR' AND data = '".$ptr_soa_rr_data."'")){
- $app->db->query("DELETE FROM dns_rr WHERE id = ".$ptr_soa_rr_exist['id']);
- // is there another A/AAAA record with that IP address?
- if($other_rr = $app->db->queryOneRecord("SELECT * FROM dns_rr WHERE (type = 'A' OR type = 'AAAA') AND data = '".$rr['data']."' AND id != ".$rr['id']." AND zone != ".$rr['zone'])){
- $other_soa = $app->db->queryOneRecord("SELECT * FROM dns_soa WHERE id = ".$other_rr['zone']);
- if(substr($other_rr['name'], -1) == '.'){
- $other_ptr_soa_rr_data = $other_rr['name'];
- } else {
- $other_ptr_soa_rr_data = $other_rr['name'].(trim($other_rr['name']) == '' ? '' : '.').$other_soa['origin'];
- }
- $app->db->query("INSERT INTO dns_rr (zone, name, type, data, aux, ttl, sys_userid, sys_groupid, sys_perm_user, sys_perm_group, sys_perm_other) VALUES ('".$ptr_soa_exist['id']."', '".$d."', 'PTR', '".$other_ptr_soa_rr_data."', '0', '".$conf['default_ttl']."', '".$_SESSION['s']['user']['sys_userid']."', '".$_SESSION['s']['user']['sys_groupid']."', '".$_SESSION['s']['user']['sys_perm_user']."', '".$_SESSION['s']['user']['sys_perm_group']."', '".$_SESSION['s']['user']['sys_perm_other']."')");
- }
-
- // if no more records exist for the ptr_soa, delete it
- if(!$ptr_soa_rr = $app->db->queryOneRecord("SELECT * FROM dns_rr WHERE zone = '".$ptr_soa_exist['id']."'")){
- $app->db->query("DELETE FROM dns_soa WHERE id = ".$ptr_soa_exist['id']);
- } else { // increment serial
- $serial_date = substr($ptr_soa_exist['serial'], 0, 8);
- $count = intval(substr($ptr_soa_exist['serial'], 8, 2));
- $current_date = date("Ymd");
- if($serial_date == $current_date){
- $count += 1;
- $count = str_pad($count, 2, "0", STR_PAD_LEFT);
- $new_serial = $current_date.$count;
- } else {
- $new_serial = $current_date.'01';
- }
- $app->db->query("UPDATE dns_soa SET serial = '".$new_serial."' WHERE id = ".$ptr_soa_exist['id']);
- }
- }
- }
- }
- }
- }
-
- // delete associated records
- $app->db->query("DELETE FROM dns_rr WHERE zone = ".$_REQUEST['id']);
-
- parent::onDelete();
- }
-
-}
-
-$app->tform_actions = new page_action;
-$app->tform_actions->onDelete();
-
-?>
\ No newline at end of file
diff --git a/interface/web/dns_old/soa_edit.php b/interface/web/dns_old/soa_edit.php
deleted file mode 100644
index d7dfd38..0000000
--- a/interface/web/dns_old/soa_edit.php
+++ /dev/null
@@ -1,231 +0,0 @@
-<?php
-/*
-Copyright (c) 2005, Till Brehm, Falko Timme, projektfarm Gmbh
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
- * Neither the name of ISPConfig nor the names of its contributors
- may be used to endorse or promote products derived from this software without
- specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-
-/******************************************
-* Begin Form configuration
-******************************************/
-
-$tform_def_file = "form/soa.tform.php";
-
-/******************************************
-* End Form configuration
-******************************************/
-
-require_once('../../lib/config.inc.php');
-require_once('../../lib/app.inc.php');
-
-// Checking module permissions
-if(!stristr($_SESSION["s"]["user"]["modules"],$_SESSION["s"]["module"]["name"])) {
- header("Location: ../index.php");
- exit;
-}
-
-// Loading classes
-$app->uses('tpl,tform,tform_actions');
-$app->load('tform_actions');
-
-class page_action extends tform_actions {
-
- function onSubmit() {
- global $app, $conf;
-
- if($app->tform->getCurrentTab() == 'rr'){
- parent::onSubmit();
- return true;
- }
-
- if($this->dataRecord['id'] > 0){
- if(!$app->tform->checkPerm($this->dataRecord['id'],'u')) $app->error($app->tform->wordbook['error_no_permission']);
- } else {
- if(!$app->tform->checkPerm($this->dataRecord['id'],'i')) $app->error($app->tform->wordbook['error_no_permission']);
- }
-
- $app->uses('validate_dns');
- $app->tform->errorMessage .= $app->validate_dns->validate_soa($this->dataRecord);
-
- $increased_serials[] = -1;
- // update serial
- $soa = $app->db->queryOneRecord("SELECT * FROM dns_soa WHERE id = ".$this->dataRecord["id"]);
- $serial = $soa['serial'];
- $update = 0;
- if($soa){
- foreach($soa as $key => $val){
- if($this->dataRecord[$key] != $val && $key != 'active' && isset($this->dataRecord[$key])) $update += 1;
- }
- } else { // new record
- $update = 1;
- }
- if(strlen($this->dataRecord["serial"]) == 10 && intval($this->dataRecord["serial"]) == $this->dataRecord["serial"] && $this->dataRecord["serial"] != $serial){
- $update = 0;
- $increased_serials[] = $soa['id'];
- }
- if($update > 0){
- $new_serial = $app->validate_dns->increase_serial($serial);
- $increased_serials[] = $soa['id'];
- $this->dataRecord["serial"] = $new_serial;
- }
-
- if($soa){
- // update rr if origin has changed
- if($soa['origin'] != $this->dataRecord['origin']){
-
- if($rrs = $app->db->queryAllRecords("SELECT * FROM dns_rr")){
- $update_soas = array();
- foreach($rrs as $rr){
- if($soa['origin'] == substr($rr['name'], -(strlen($soa['origin']))) || $soa['origin'] == substr($rr['data'], -(strlen($soa['origin'])))) $update_soas[] = $rr['zone'];
- //$update_soas[] = $app->db->queryAllRecords("SELECT DISTINCT zone FROM rr WHERE name LIKE '%".$soa['origin']."' OR data LIKE '%".$soa['origin']."'");
-
- $app->db->query("UPDATE dns_rr SET name = '".substr($rr['name'], 0, -(strlen($this->dataRecord['origin']))).$this->dataRecord['origin']."' WHERE name LIKE '%".$soa['origin']."' AND type != 'PTR' AND id = ".$rr['id']);
-
- $app->db->query("UPDATE dns_rr SET data = '".substr($rr['data'], 0, -(strlen($this->dataRecord['origin']))).$this->dataRecord['origin']."' WHERE data LIKE '%".$soa['origin']."' AND type != 'PTR' AND id = ".$rr['id']);
-
- if($conf['auto_create_ptr'] == 1 && trim($conf['default_ns']) != '' && trim($conf['default_mbox']) != ''){
- $app->db->query("UPDATE dns_rr SET name = '".substr($rr['name'], 0, -(strlen($this->dataRecord['origin']))).$this->dataRecord['origin']."' WHERE name LIKE '%".$soa['origin']."' AND type = 'PTR' AND id = ".$rr['id']);
-
- $app->db->query("UPDATE dns_rr SET data = '".substr($rr['data'], 0, -(strlen($this->dataRecord['origin']))).$this->dataRecord['origin']."' WHERE data LIKE '%".$soa['origin']."' AND type = 'PTR' AND id = ".$rr['id']);
-
- }
- }
-
- // increase serial
- if(!empty($update_soas)){
- $update_soas = array_unique($update_soas);
- foreach($update_soas as $update_soa){
- $u_soa = $app->db->queryOneRecord("SELECT * FROM dns_soa WHERE id = ".$update_soa);
- if(!in_array($u_soa['id'], $increased_serials)){
- $new_serial = $app->validate_dns->increase_serial($u_soa['serial']);
- if($conf['auto_create_ptr'] == 1 && trim($conf['default_ns']) != '' && trim($conf['default_mbox']) != ''){
- $app->db->query("UPDATE dns_soa SET serial = '".$new_serial."' WHERE id = ".$update_soa);
- } else {
- $app->db->query("UPDATE dns_soa SET serial = '".$new_serial."' WHERE id = ".$update_soa." AND origin NOT LIKE '%.in-addr.arpa.'");
- }
- $increased_serials[] = $u_soa['id'];
- }
- }
- }
- }
- }
-
-
- // PTR
- if($conf['auto_create_ptr'] == 1 && trim($conf['default_ns']) != '' && trim($conf['default_mbox']) != ''){
-
- if($soa['active'] = 'Y' && $this->dataRecord['active'][0] == 'N'){
-
- if($soa_rrs = $app->db->queryAllRecords("SELECT * FROM dns_rr WHERE zone = ".$this->dataRecord['id']." AND type = 'A'")){
- foreach($soa_rrs as $soa_rr){
- if(substr($soa_rr['name'], -1) == '.'){
- $fqdn = $soa_rr['name'];
- } else {
- $fqdn = $soa_rr['name'].(trim($soa_rr['name']) == '' ? '' : '.').$this->dataRecord['origin'];
- }
- list($a, $b, $c, $d) = explode('.', $soa_rr['data']);
- $ptr_soa = $c.'.'.$b.'.'.$a.'.in-addr.arpa.';
- if($ptr = $app->db->queryOneRecord("SELECT dns_soa.id, dns_soa.serial FROM dns_soa, dns_rr WHERE dns_rr.type = 'PTR' AND dns_rr.data = '".$fqdn."' AND dns_rr.zone = dns_soa.id AND dns_soa.origin = '".$ptr_soa."'")){
- ############
- if($a_rr_with_same_ip = $app->db->queryOneRecord("SELECT dns_rr.*, dns_soa.origin FROM dns_rr, dns_soa WHERE dns_rr.type = 'A' AND dns_rr.data = '".$soa_rr['data']."' AND dns_rr.zone = dns_soa.id AND dns_soa.active = 'Y' AND dns_rr.id != ".$soa_rr["id"]." AND dns_rr.zone != '".$this->dataRecord['zone']."'")){
- if(substr($a_rr_with_same_ip['name'], -1) == '.'){
- $new_ptr_soa_rr_data = $a_rr_with_same_ip['name'];
- } else {
- $new_ptr_soa_rr_data = $a_rr_with_same_ip['name'].(trim($a_rr_with_same_ip['name']) == '' ? '' : '.').$a_rr_with_same_ip['origin'];
- }
- $app->db->query("UPDATE dns_rr SET data = '".$new_ptr_soa_rr_data."' WHERE zone = '".$ptr['id']."' AND name = '".$d."' AND type = 'PTR'");
- } else {
- $app->db->query("DELETE FROM dns_rr WHERE zone = '".$ptr['id']."' AND name = '".$d."' AND type = 'PTR'");
-
- if(!$app->db->queryOneRecord("SELECT * FROM dns_rr WHERE zone = '".$ptr['id']."'")){
- $app->db->query("DELETE FROM dns_soa WHERE id = ".$ptr['id']);
- } else {
- // increase serial
- if(!in_array($ptr['id'], $increased_serials)){
- $new_serial = $app->validate_dns->increase_serial($ptr['serial']);
- $app->db->query("UPDATE dns_soa SET serial = '".$new_serial."' WHERE id = ".$ptr['id']);
- $increased_serials[] = $ptr['id'];
- }
- }
- }
- ############
- }
- }
- }
-
- /* */
-
-
- }
-
- if($soa['active'] = 'N' && $this->dataRecord['active'][0] == 'Y'){
-
- if($soa_rrs = $app->db->queryAllRecords("SELECT * FROM dns_rr WHERE zone = ".$this->dataRecord['id']." AND type = 'A'")){
- foreach($soa_rrs as $soa_rr){
- #################
- list($a, $b, $c, $d) = explode('.', $soa_rr['data']);
- $ptr_soa = $c.'.'.$b.'.'.$a.'.in-addr.arpa.';
- if(substr($soa_rr['name'], -1) == '.'){
- $ptr_soa_rr_data = $soa_rr['name'];
- } else {
- $ptr_soa_rr_data = $soa_rr['name'].(trim($soa_rr['name']) == '' ? '' : '.').$this->dataRecord['origin'];
- }
-
- if(!$ptr_soa_exist = $app->db->queryOneRecord("SELECT * FROM dns_soa WHERE origin = '".$ptr_soa."'")){
- $app->db->query("INSERT INTO dns_soa (origin, ns, mbox, serial, refresh, retry, expire, minimum, ttl, active, sys_userid, sys_groupid, sys_perm_user, sys_perm_group, sys_perm_other) VALUES ('".$ptr_soa."', '".trim($conf['default_ns'])."', '".trim($conf['default_mbox'])."', '".date("Ymd").'01'."', '".$conf['default_refresh']."', '".$conf['default_retry']."', '".$conf['default_expire']."', '".$conf['default_minimum_ttl']."', '".$conf['default_ttl']."', 'Y', '".$_SESSION['s']['user']['sys_userid']."', '".$_SESSION['s']['user']['sys_groupid']."', '".$_SESSION['s']['user']['sys_perm_user']."', '".$_SESSION['s']['user']['sys_perm_group']."', '".$_SESSION['s']['user']['sys_perm_other']."')");
- $ptr_soa_id = $app->db->insertID();
- $app->db->query("INSERT INTO dns_rr (zone, name, type, data, aux, ttl, sys_userid, sys_groupid, sys_perm_user, sys_perm_group, sys_perm_other) VALUES ('".$ptr_soa_id."', '".$d."', 'PTR', '".$ptr_soa_rr_data."', '0', '".$conf['default_ttl']."', '".$_SESSION['s']['user']['sys_userid']."', '".$_SESSION['s']['user']['sys_groupid']."', '".$_SESSION['s']['user']['sys_perm_user']."', '".$_SESSION['s']['user']['sys_perm_group']."', '".$_SESSION['s']['user']['sys_perm_other']."')");
- } else {
- if($ptr_soa_exist['active'] != 'Y') $app->db->query("UPDATE dns_soa SET active = 'Y' WHERE id = ".$ptr_soa_exist['id']);
- if(!$ptr_soa_rr_exist = $app->db->queryOneRecord("SELECT * FROM dns_rr WHERE zone = '".$ptr_soa_exist['id']."' AND name = '".$d."' AND type = 'PTR'")){
- $app->db->query("INSERT INTO dns_rr (zone, name, type, data, aux, ttl, sys_userid, sys_groupid, sys_perm_user, sys_perm_group, sys_perm_other) VALUES ('".$ptr_soa_exist['id']."', '".$d."', 'PTR', '".$ptr_soa_rr_data."', '0', '".$conf['default_ttl']."', '".$_SESSION['s']['user']['sys_userid']."', '".$_SESSION['s']['user']['sys_groupid']."', '".$_SESSION['s']['user']['sys_perm_user']."', '".$_SESSION['s']['user']['sys_perm_group']."', '".$_SESSION['s']['user']['sys_perm_other']."')");
- // increase serial of PTR SOA
- if(!in_array($ptr_soa_exist['id'], $increased_serials)){
- $ptr_soa_new_serial = $app->validate_dns->increase_serial($ptr_soa_exist['serial']);
- $increased_serials[] = $ptr_soa_exist['id'];
- $app->db->query("UPDATE dns_soa SET serial = '".$ptr_soa_new_serial."' WHERE id = ".$ptr_soa_exist['id']);
- }
- }
- }
- ################
- }
- }
-
-
- }
- }
- }
-
-
- parent::onSubmit();
- }
-
-}
-
-$app->tform_actions = new page_action;
-$app->tform_actions->onLoad();
-
-?>
\ No newline at end of file
diff --git a/interface/web/dns_old/soa_list.php b/interface/web/dns_old/soa_list.php
deleted file mode 100644
index 1607788..0000000
--- a/interface/web/dns_old/soa_list.php
+++ /dev/null
@@ -1,54 +0,0 @@
-<?php
-/*
-Copyright (c) 2005, Till Brehm, Falko Timme, projektfarm Gmbh
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
- * Neither the name of ISPConfig nor the names of its contributors
- may be used to endorse or promote products derived from this software without
- specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-require_once('../../lib/config.inc.php');
-require_once('../../lib/app.inc.php');
-
-/******************************************
-* Begin Form configuration
-******************************************/
-
-$list_def_file = "list/soa.list.php";
-
-/******************************************
-* End Form configuration
-******************************************/
-
-// Checking module permissions
-if(!stristr($_SESSION["s"]["user"]["modules"],$_SESSION["s"]["module"]["name"])) {
- header("Location: ../index.php");
- exit;
-}
-
-$app->uses('listform_actions');
-
-$app->listform_actions->onLoad();
-
-
-?>
\ No newline at end of file
diff --git a/interface/web/dns_old/templates/rr_edit.htm b/interface/web/dns_old/templates/rr_edit.htm
deleted file mode 100644
index 77bcaee..0000000
--- a/interface/web/dns_old/templates/rr_edit.htm
+++ /dev/null
@@ -1,40 +0,0 @@
-<table width="500" border="0" cellspacing="0" cellpadding="2">
- <!--<tr>
- <td width="126" class="frmText11">{tmpl_var name='zone_txt'}:</td>
- <td width="366" class="frmText11"><input name="zone" type="text" class="text" value="{tmpl_var name='zone'}" size="30" maxlength="255"></td>
- </tr>//-->
- <tr>
- <td width="126" class="frmText11">{tmpl_var name='name_txt'}:</td>
- <td width="366" class="frmText11"><input name="name" type="text" class="text" value="{tmpl_var name='name'}" size="30" maxlength="255"></td>
- </tr>
- <tr>
- <td width="126" class="frmText11">{tmpl_var name='type_txt'}:</td>
- <td width="366" class="frmText11">
- <select name="type" class="text">
- {tmpl_var name='type'}
- </select>
- </td>
- </tr>
- <tr>
- <td width="126" class="frmText11">{tmpl_var name='data_txt'}:</td>
- <td width="366" class="frmText11"><input name="data" type="text" class="text" value="{tmpl_var name='data'}" size="30" maxlength="255"></td>
- </tr>
- <tr>
- <td width="126" class="frmText11">{tmpl_var name='aux_txt'}:</td>
- <td width="366" class="frmText11"><input name="aux" type="text" class="text" value="{tmpl_var name='aux'}" size="30" maxlength="255"></td>
- </tr>
- <tr>
- <td width="126" class="frmText11">{tmpl_var name='ttl_txt'}:</td>
- <td width="366" class="frmText11"><input name="ttl" type="text" class="text" value="{tmpl_var name='ttl'}" size="30" maxlength="255"></td>
- </tr> <tr>
- <td class="frmText11"> </td>
- <td class="frmText11"> </td>
- </tr>
- <tr>
- <td> </td>
- <td><input name="btn_save" type="submit" class="button" value="{tmpl_var name='btn_save_txt'}">
- <input name="btn_cancel" type="button" class="button" value="{tmpl_var name='btn_cancel_txt'}" onClick="self.location.href='rr_list.php';">
- </td>
- </tr>
-</table>
-<input type="hidden" name="id" value="{tmpl_var name='id'}">
\ No newline at end of file
diff --git a/interface/web/dns_old/templates/rr_list.htm b/interface/web/dns_old/templates/rr_list.htm
deleted file mode 100644
index 3b42652..0000000
--- a/interface/web/dns_old/templates/rr_list.htm
+++ /dev/null
@@ -1,45 +0,0 @@
-<script language="JavaScript">
-<!--
-
-function del_record(link) {
- if(window.confirm("<tmpl_var name='delete_confirmation'>")) {
- location.href = link;
- }
-}
-
-//-->
-</script>
-<div class="frmTextHead"><tmpl_var name="list_head_txt"></div><br />
-<input type="button" value="{tmpl_var name="add_new_record_txt"}" onClick="location.href='rr_edit.php'" /><br /><br />
-<table width="100%" border="0" cellspacing="0" cellpadding="4">
- <tr>
- <td class="tblHead"><tmpl_var name="name_txt"></td>
- <td class="tblHead"><tmpl_var name="type_txt"></td>
- <td class="tblHead"><tmpl_var name="data_txt"></td>
- <td class="tblHead"><tmpl_var name="aux_txt"></td>
- <td class="tblHead"><tmpl_var name="ttl_txt"></td>
- <td class="tblHead"> </td>
- </tr>
- <tr>
- <td class="frmText11"><input type="text" name="search_name" value="{tmpl_var name='search_name'}" class="text" /></td>
- <td class="frmText11"><select name="search_type" onChange="changeTab('rr');">{tmpl_var name='search_type'}</select></td>
- <td class="frmText11"><input type="text" name="search_data" value="{tmpl_var name='search_data'}" class="text" /></td>
- <td class="frmText11"><input type="text" name="search_aux" value="{tmpl_var name='search_aux'}" class="text" /></td>
- <td class="frmText11"><input type="text" name="search_ttl" value="{tmpl_var name='search_ttl'}" class="text" /></td>
- <td class="frmText11" align="right"><input name="Filter" type="button" id="Filter" value="{tmpl_var name="filter_txt"}" onClick="changeTab('rr');"></td>
- </tr>
- <tmpl_loop name="records">
- <tr bgcolor="{tmpl_var name="bgcolor"}">
- <td class="frmText11"><a href="rr_edit.php?id={tmpl_var name='id'}" class="frmText11">{tmpl_var name="name"}</a></td>
- <td class="frmText11"><a href="rr_edit.php?id={tmpl_var name='id'}" class="frmText11">{tmpl_var name="type"}</a></td>
- <td class="frmText11"><a href="rr_edit.php?id={tmpl_var name='id'}" class="frmText11">{tmpl_var name="data"}</a></td>
- <td class="frmText11"><a href="rr_edit.php?id={tmpl_var name='id'}" class="frmText11">{tmpl_var name="aux"}</a></td>
- <td class="frmText11"><a href="rr_edit.php?id={tmpl_var name='id'}" class="frmText11">{tmpl_var name="ttl"}</a></td>
- <td class="frmText11" align="right">[<a href="javascript: del_record('rr_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}');" class="frmText11">{tmpl_var name='delete_txt'}</a>]</td>
- </tr>
- </tmpl_loop>
-
- <tr>
- <td colspan="6" height="40" align="center" class="tblFooter"><tmpl_var name="paging"></td>
- </tr>
-</table>
\ No newline at end of file
diff --git a/interface/web/dns_old/templates/soa_edit.htm b/interface/web/dns_old/templates/soa_edit.htm
deleted file mode 100644
index adc0cc9..0000000
--- a/interface/web/dns_old/templates/soa_edit.htm
+++ /dev/null
@@ -1,56 +0,0 @@
-<table width="500" border="0" cellspacing="0" cellpadding="2">
- <tr>
- <td width="126" class="frmText11">{tmpl_var name='origin_txt'}:</td>
- <td width="366" class="frmText11"><input name="origin" type="text" class="text" value="{tmpl_var name='origin'}" size="30" maxlength="255"></td>
- </tr>
- <tr>
- <td width="126" class="frmText11">{tmpl_var name='ns_txt'}:</td>
- <td width="366" class="frmText11"><input name="ns" type="text" class="text" value="{tmpl_var name='ns'}" size="30" maxlength="255"></td>
- </tr>
- <tr>
- <td width="126" class="frmText11">{tmpl_var name='mbox_txt'}:</td>
- <td width="366" class="frmText11"><input name="mbox" type="text" class="text" value="{tmpl_var name='mbox'}" size="30" maxlength="255"></td>
- </tr>
- <tr>
- <td width="126" class="frmText11">{tmpl_var name='serial_txt'}:</td>
- <td width="366" class="frmText11"><input name="serial" type="text" class="text" value="{tmpl_var name='serial'}" size="30" maxlength="255"></td>
- </tr>
- <tr>
- <td width="126" class="frmText11">{tmpl_var name='refresh_txt'}:</td>
- <td width="366" class="frmText11"><input name="refresh" type="text" class="text" value="{tmpl_var name='refresh'}" size="30" maxlength="255"></td>
- </tr>
- <tr>
- <td width="126" class="frmText11">{tmpl_var name='retry_txt'}:</td>
- <td width="366" class="frmText11"><input name="retry" type="text" class="text" value="{tmpl_var name='retry'}" size="30" maxlength="255"></td>
- </tr>
- <tr>
- <td width="126" class="frmText11">{tmpl_var name='expire_txt'}:</td>
- <td width="366" class="frmText11"><input name="expire" type="text" class="text" value="{tmpl_var name='expire'}" size="30" maxlength="255"></td>
- </tr>
- <tr>
- <td width="126" class="frmText11">{tmpl_var name='minimum_txt'}:</td>
- <td width="366" class="frmText11"><input name="minimum" type="text" class="text" value="{tmpl_var name='minimum'}" size="30" maxlength="255"></td>
- </tr>
- <tr>
- <td width="126" class="frmText11">{tmpl_var name='ttl_txt'}:</td>
- <td width="366" class="frmText11"><input name="ttl" type="text" class="text" value="{tmpl_var name='ttl'}" size="30" maxlength="255"></td>
- </tr>
- <tr>
- <td width="126" class="frmText11" valign="top">{tmpl_var name='active_txt'}:</td>
- <td width="366" class="frmText11">{tmpl_var name='active'}</td>
- </tr>
- <tr>
- <td width="126" class="frmText11">{tmpl_var name='xfer_txt'}:</td>
- <td width="366" class="frmText11"><input name="xfer" type="text" class="text" value="{tmpl_var name='xfer'}" size="30" maxlength="255"></td>
- </tr> <tr>
- <td class="frmText11"> </td>
- <td class="frmText11"> </td>
- </tr>
- <tr>
- <td> </td>
- <td><input name="btn_save" type="submit" class="button" value="{tmpl_var name='btn_save_txt'}">
- <input name="btn_cancel" type="button" class="button" value="{tmpl_var name='btn_cancel_txt'}" onClick="self.location.href='soa_list.php';">
- </td>
- </tr>
-</table>
-<input type="hidden" name="id" value="{tmpl_var name='id'}">
\ No newline at end of file
diff --git a/interface/web/dns_old/templates/soa_edit_rr.htm b/interface/web/dns_old/templates/soa_edit_rr.htm
deleted file mode 100644
index 6475580..0000000
--- a/interface/web/dns_old/templates/soa_edit_rr.htm
+++ /dev/null
@@ -1,10 +0,0 @@
-<table width="500" border="0" cellspacing="0" cellpadding="2">
- <tr>
- <td class="frmText11" colspan="2">{tmpl_var name='rr_list'}</td>
- </tr>
- <tr>
- <td class="frmText11"> </td>
- <td class="frmText11"> </td>
- </tr>
-</table>
-<input type="hidden" name="id" value="{tmpl_var name='id'}">
\ No newline at end of file
diff --git a/interface/web/dns_old/templates/soa_list.htm b/interface/web/dns_old/templates/soa_list.htm
deleted file mode 100644
index a1af2d7..0000000
--- a/interface/web/dns_old/templates/soa_list.htm
+++ /dev/null
@@ -1,64 +0,0 @@
-<div class="frmTextHead"><tmpl_var name="list_head_txt"></div><br />
-<input type="button" value="{tmpl_var name="add_new_record_txt"}" onClick="location.href='soa_edit.php'" /><br /><br />
-<table width="100%" border="0" cellspacing="0" cellpadding="4">
- <tr>
- <td class="tblHead"><tmpl_var name="origin_txt"></td>
- <td class="tblHead"><tmpl_var name="ns_txt"></td>
- <!--
- <td class="tblHead"><tmpl_var name="mbox_txt"></td>
- <td class="tblHead"><tmpl_var name="serial_txt"></td>
- <td class="tblHead"><tmpl_var name="refresh_txt"></td>
- <td class="tblHead"><tmpl_var name="retry_txt"></td>
- <td class="tblHead"><tmpl_var name="expire_txt"></td>
- <td class="tblHead"><tmpl_var name="minimum_txt"></td>
- //-->
- <td class="tblHead"><tmpl_var name="ttl_txt"></td>
- <td class="tblHead"><tmpl_var name="active_txt"></td>
- <!--
- <td class="tblHead"><tmpl_var name="xfer_txt"></td>
- //-->
- <td class="tblHead"> </td>
- </tr>
- <tr>
- <td class="frmText11"><input type="text" name="search_origin" value="{tmpl_var name='search_origin'}" class="text" /></td>
- <td class="frmText11"><input type="text" name="search_ns" value="{tmpl_var name='search_ns'}" class="text" /></td>
- <!--
- <td class="frmText11"><input type="text" name="search_mbox" value="{tmpl_var name='search_mbox'}" class="text" /></td>
- <td class="frmText11"><input type="text" name="search_serial" value="{tmpl_var name='search_serial'}" class="text" /></td>
- <td class="frmText11"><input type="text" name="search_refresh" value="{tmpl_var name='search_refresh'}" class="text" /></td>
- <td class="frmText11"><input type="text" name="search_retry" value="{tmpl_var name='search_retry'}" class="text" /></td>
- <td class="frmText11"><input type="text" name="search_expire" value="{tmpl_var name='search_expire'}" class="text" /></td>
- <td class="frmText11"><input type="text" name="search_minimum" value="{tmpl_var name='search_minimum'}" class="text" /></td>
- //-->
- <td class="frmText11"><input type="text" name="search_ttl" value="{tmpl_var name='search_ttl'}" class="text" /></td>
- <td class="frmText11"><select name="search_active" onChange="document.myform.submit();">{tmpl_var name='search_active'}</select></td>
- <!--
- <td class="frmText11"><input type="text" name="search_xfer" value="{tmpl_var name='search_xfer'}" class="text" /></td>
- //-->
- <td class="frmText11" align="right"><input name="Filter" type="submit" id="Filter" value="{tmpl_var name="filter_txt"}"></td>
- </tr>
- <tmpl_loop name="records">
- <tr bgcolor="{tmpl_var name="bgcolor"}">
- <td class="frmText11"><a href="soa_edit.php?id={tmpl_var name='id'}" class="frmText11">{tmpl_var name="origin"}</a></td>
- <td class="frmText11"><a href="soa_edit.php?id={tmpl_var name='id'}" class="frmText11">{tmpl_var name="ns"}</a></td>
- <!--
- <td class="frmText11"><a href="soa_edit.php?id={tmpl_var name='id'}" class="frmText11">{tmpl_var name="mbox"}</a></td>
- <td class="frmText11"><a href="soa_edit.php?id={tmpl_var name='id'}" class="frmText11">{tmpl_var name="serial"}</a></td>
- <td class="frmText11"><a href="soa_edit.php?id={tmpl_var name='id'}" class="frmText11">{tmpl_var name="refresh"}</a></td>
- <td class="frmText11"><a href="soa_edit.php?id={tmpl_var name='id'}" class="frmText11">{tmpl_var name="retry"}</a></td>
- <td class="frmText11"><a href="soa_edit.php?id={tmpl_var name='id'}" class="frmText11">{tmpl_var name="expire"}</a></td>
- <td class="frmText11"><a href="soa_edit.php?id={tmpl_var name='id'}" class="frmText11">{tmpl_var name="minimum"}</a></td>
- //-->
- <td class="frmText11"><a href="soa_edit.php?id={tmpl_var name='id'}" class="frmText11">{tmpl_var name="ttl"}</a></td>
- <td class="frmText11"><a href="soa_edit.php?id={tmpl_var name='id'}" class="frmText11">{tmpl_var name="active"}</a></td>
- <!--
- <td class="frmText11"><a href="soa_edit.php?id={tmpl_var name='id'}" class="frmText11">{tmpl_var name="xfer"}</a></td>
- //-->
- <td class="frmText11" align="right">[<a href="javascript: del_record('soa_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}');" class="frmText11">{tmpl_var name='delete_txt'}</a>]</td>
- </tr>
- </tmpl_loop>
-
- <tr>
- <td colspan="5" height="40" align="center" class="tblFooter"><tmpl_var name="paging"></td>
- </tr>
-</table>
\ No newline at end of file
--
Gitblit v1.9.1