Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
56b0b895
Commit
56b0b895
authored
Apr 02, 2009
by
Falko Timme
Browse files
- Added "serial" and "stamp" columns to the dns_rr table.
parent
830d119f
Changes
23
Expand all
Hide whitespace changes
Inline
Side-by-side
install/sql/ispconfig3.sql
View file @
56b0b895
This diff is collapsed.
Click to expand it.
interface/web/dns/dns_a_edit.php
View file @
56b0b895
...
...
@@ -100,6 +100,11 @@ class page_action extends tform_actions {
// Set the server ID of the rr record to the same server ID as the parent record.
$this
->
dataRecord
[
"server_id"
]
=
$soa
[
"server_id"
];
// Update the serial number and timestamp of the RR record
$soa
=
$app
->
db
->
queryOneRecord
(
"SELECT serial FROM dns_rr WHERE id = "
.
$this
->
id
);
$this
->
dataRecord
[
"serial"
]
=
$app
->
validate_dns
->
increase_serial
(
$soa
[
"serial"
]);
$this
->
dataRecord
[
"stamp"
]
=
date
(
'Y-m-d H:i:s'
);
parent
::
onSubmit
();
}
...
...
interface/web/dns/dns_aaaa_edit.php
View file @
56b0b895
...
...
@@ -100,6 +100,11 @@ class page_action extends tform_actions {
// Set the server ID of the rr record to the same server ID as the parent record.
$this
->
dataRecord
[
"server_id"
]
=
$soa
[
"server_id"
];
// Update the serial number and timestamp of the RR record
$soa
=
$app
->
db
->
queryOneRecord
(
"SELECT serial FROM dns_rr WHERE id = "
.
$this
->
id
);
$this
->
dataRecord
[
"serial"
]
=
$app
->
validate_dns
->
increase_serial
(
$soa
[
"serial"
]);
$this
->
dataRecord
[
"stamp"
]
=
date
(
'Y-m-d H:i:s'
);
parent
::
onSubmit
();
}
...
...
interface/web/dns/dns_alias_edit.php
View file @
56b0b895
...
...
@@ -100,6 +100,11 @@ class page_action extends tform_actions {
// Set the server ID of the rr record to the same server ID as the parent record.
$this
->
dataRecord
[
"server_id"
]
=
$soa
[
"server_id"
];
// Update the serial number and timestamp of the RR record
$soa
=
$app
->
db
->
queryOneRecord
(
"SELECT serial FROM dns_rr WHERE id = "
.
$this
->
id
);
$this
->
dataRecord
[
"serial"
]
=
$app
->
validate_dns
->
increase_serial
(
$soa
[
"serial"
]);
$this
->
dataRecord
[
"stamp"
]
=
date
(
'Y-m-d H:i:s'
);
parent
::
onSubmit
();
}
...
...
interface/web/dns/dns_cname_edit.php
View file @
56b0b895
...
...
@@ -100,6 +100,11 @@ class page_action extends tform_actions {
// Set the server ID of the rr record to the same server ID as the parent record.
$this
->
dataRecord
[
"server_id"
]
=
$soa
[
"server_id"
];
// Update the serial number and timestamp of the RR record
$soa
=
$app
->
db
->
queryOneRecord
(
"SELECT serial FROM dns_rr WHERE id = "
.
$this
->
id
);
$this
->
dataRecord
[
"serial"
]
=
$app
->
validate_dns
->
increase_serial
(
$soa
[
"serial"
]);
$this
->
dataRecord
[
"stamp"
]
=
date
(
'Y-m-d H:i:s'
);
parent
::
onSubmit
();
}
...
...
interface/web/dns/dns_hinfo_edit.php
View file @
56b0b895
...
...
@@ -100,6 +100,11 @@ class page_action extends tform_actions {
// Set the server ID of the rr record to the same server ID as the parent record.
$this
->
dataRecord
[
"server_id"
]
=
$soa
[
"server_id"
];
// Update the serial number and timestamp of the RR record
$soa
=
$app
->
db
->
queryOneRecord
(
"SELECT serial FROM dns_rr WHERE id = "
.
$this
->
id
);
$this
->
dataRecord
[
"serial"
]
=
$app
->
validate_dns
->
increase_serial
(
$soa
[
"serial"
]);
$this
->
dataRecord
[
"stamp"
]
=
date
(
'Y-m-d H:i:s'
);
parent
::
onSubmit
();
}
...
...
interface/web/dns/dns_mx_edit.php
View file @
56b0b895
...
...
@@ -100,6 +100,11 @@ class page_action extends tform_actions {
// Set the server ID of the rr record to the same server ID as the parent record.
$this
->
dataRecord
[
"server_id"
]
=
$soa
[
"server_id"
];
// Update the serial number and timestamp of the RR record
$soa
=
$app
->
db
->
queryOneRecord
(
"SELECT serial FROM dns_rr WHERE id = "
.
$this
->
id
);
$this
->
dataRecord
[
"serial"
]
=
$app
->
validate_dns
->
increase_serial
(
$soa
[
"serial"
]);
$this
->
dataRecord
[
"stamp"
]
=
date
(
'Y-m-d H:i:s'
);
parent
::
onSubmit
();
}
...
...
interface/web/dns/dns_ns_edit.php
View file @
56b0b895
...
...
@@ -100,6 +100,11 @@ class page_action extends tform_actions {
// Set the server ID of the rr record to the same server ID as the parent record.
$this
->
dataRecord
[
"server_id"
]
=
$soa
[
"server_id"
];
// Update the serial number and timestamp of the RR record
$soa
=
$app
->
db
->
queryOneRecord
(
"SELECT serial FROM dns_rr WHERE id = "
.
$this
->
id
);
$this
->
dataRecord
[
"serial"
]
=
$app
->
validate_dns
->
increase_serial
(
$soa
[
"serial"
]);
$this
->
dataRecord
[
"stamp"
]
=
date
(
'Y-m-d H:i:s'
);
parent
::
onSubmit
();
}
...
...
interface/web/dns/dns_ptr_edit.php
View file @
56b0b895
...
...
@@ -100,6 +100,11 @@ class page_action extends tform_actions {
// Set the server ID of the rr record to the same server ID as the parent record.
$this
->
dataRecord
[
"server_id"
]
=
$soa
[
"server_id"
];
// Update the serial number and timestamp of the RR record
$soa
=
$app
->
db
->
queryOneRecord
(
"SELECT serial FROM dns_rr WHERE id = "
.
$this
->
id
);
$this
->
dataRecord
[
"serial"
]
=
$app
->
validate_dns
->
increase_serial
(
$soa
[
"serial"
]);
$this
->
dataRecord
[
"stamp"
]
=
date
(
'Y-m-d H:i:s'
);
parent
::
onSubmit
();
}
...
...
interface/web/dns/dns_rp_edit.php
View file @
56b0b895
...
...
@@ -100,6 +100,11 @@ class page_action extends tform_actions {
// Set the server ID of the rr record to the same server ID as the parent record.
$this
->
dataRecord
[
"server_id"
]
=
$soa
[
"server_id"
];
// Update the serial number and timestamp of the RR record
$soa
=
$app
->
db
->
queryOneRecord
(
"SELECT serial FROM dns_rr WHERE id = "
.
$this
->
id
);
$this
->
dataRecord
[
"serial"
]
=
$app
->
validate_dns
->
increase_serial
(
$soa
[
"serial"
]);
$this
->
dataRecord
[
"stamp"
]
=
date
(
'Y-m-d H:i:s'
);
parent
::
onSubmit
();
}
...
...
interface/web/dns/dns_srv_edit.php
View file @
56b0b895
...
...
@@ -100,6 +100,11 @@ class page_action extends tform_actions {
// Set the server ID of the rr record to the same server ID as the parent record.
$this
->
dataRecord
[
"server_id"
]
=
$soa
[
"server_id"
];
// Update the serial number and timestamp of the RR record
$soa
=
$app
->
db
->
queryOneRecord
(
"SELECT serial FROM dns_rr WHERE id = "
.
$this
->
id
);
$this
->
dataRecord
[
"serial"
]
=
$app
->
validate_dns
->
increase_serial
(
$soa
[
"serial"
]);
$this
->
dataRecord
[
"stamp"
]
=
date
(
'Y-m-d H:i:s'
);
parent
::
onSubmit
();
}
...
...
interface/web/dns/dns_txt_edit.php
View file @
56b0b895
...
...
@@ -100,6 +100,11 @@ class page_action extends tform_actions {
// Set the server ID of the rr record to the same server ID as the parent record.
$this
->
dataRecord
[
"server_id"
]
=
$soa
[
"server_id"
];
// Update the serial number and timestamp of the RR record
$soa
=
$app
->
db
->
queryOneRecord
(
"SELECT serial FROM dns_rr WHERE id = "
.
$this
->
id
);
$this
->
dataRecord
[
"serial"
]
=
$app
->
validate_dns
->
increase_serial
(
$soa
[
"serial"
]);
$this
->
dataRecord
[
"stamp"
]
=
date
(
'Y-m-d H:i:s'
);
parent
::
onSubmit
();
}
...
...
interface/web/dns/form/dns_a.tform.php
View file @
56b0b895
...
...
@@ -132,6 +132,22 @@ $form["tabs"]['dns'] = array (
'default'
=>
'Y'
,
'value'
=>
array
(
0
=>
'N'
,
1
=>
'Y'
)
),
'stamp'
=>
array
(
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'TEXT'
,
'default'
=>
''
,
'value'
=>
''
,
'width'
=>
'30'
,
'maxlength'
=>
'255'
),
'serial'
=>
array
(
'datatype'
=>
'INTEGER'
,
'formtype'
=>
'TEXT'
,
'default'
=>
''
,
'value'
=>
''
,
'width'
=>
'10'
,
'maxlength'
=>
'10'
),
##################################
# ENDE Datatable fields
##################################
...
...
interface/web/dns/form/dns_aaaa.tform.php
View file @
56b0b895
...
...
@@ -132,6 +132,22 @@ $form["tabs"]['dns'] = array (
'default'
=>
'Y'
,
'value'
=>
array
(
0
=>
'N'
,
1
=>
'Y'
)
),
'stamp'
=>
array
(
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'TEXT'
,
'default'
=>
''
,
'value'
=>
''
,
'width'
=>
'30'
,
'maxlength'
=>
'255'
),
'serial'
=>
array
(
'datatype'
=>
'INTEGER'
,
'formtype'
=>
'TEXT'
,
'default'
=>
''
,
'value'
=>
''
,
'width'
=>
'10'
,
'maxlength'
=>
'10'
),
##################################
# ENDE Datatable fields
##################################
...
...
interface/web/dns/form/dns_alias.tform.php
View file @
56b0b895
...
...
@@ -134,6 +134,22 @@ $form["tabs"]['dns'] = array (
'default'
=>
'Y'
,
'value'
=>
array
(
0
=>
'N'
,
1
=>
'Y'
)
),
'stamp'
=>
array
(
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'TEXT'
,
'default'
=>
''
,
'value'
=>
''
,
'width'
=>
'30'
,
'maxlength'
=>
'255'
),
'serial'
=>
array
(
'datatype'
=>
'INTEGER'
,
'formtype'
=>
'TEXT'
,
'default'
=>
''
,
'value'
=>
''
,
'width'
=>
'10'
,
'maxlength'
=>
'10'
),
##################################
# ENDE Datatable fields
##################################
...
...
interface/web/dns/form/dns_cname.tform.php
View file @
56b0b895
...
...
@@ -132,6 +132,22 @@ $form["tabs"]['dns'] = array (
'default'
=>
'Y'
,
'value'
=>
array
(
0
=>
'N'
,
1
=>
'Y'
)
),
'stamp'
=>
array
(
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'TEXT'
,
'default'
=>
''
,
'value'
=>
''
,
'width'
=>
'30'
,
'maxlength'
=>
'255'
),
'serial'
=>
array
(
'datatype'
=>
'INTEGER'
,
'formtype'
=>
'TEXT'
,
'default'
=>
''
,
'value'
=>
''
,
'width'
=>
'10'
,
'maxlength'
=>
'10'
),
##################################
# ENDE Datatable fields
##################################
...
...
interface/web/dns/form/dns_hinfo.tform.php
View file @
56b0b895
...
...
@@ -131,6 +131,22 @@ $form["tabs"]['dns'] = array (
'default'
=>
'Y'
,
'value'
=>
array
(
0
=>
'N'
,
1
=>
'Y'
)
),
'stamp'
=>
array
(
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'TEXT'
,
'default'
=>
''
,
'value'
=>
''
,
'width'
=>
'30'
,
'maxlength'
=>
'255'
),
'serial'
=>
array
(
'datatype'
=>
'INTEGER'
,
'formtype'
=>
'TEXT'
,
'default'
=>
''
,
'value'
=>
''
,
'width'
=>
'10'
,
'maxlength'
=>
'10'
),
##################################
# ENDE Datatable fields
##################################
...
...
interface/web/dns/form/dns_mx.tform.php
View file @
56b0b895
...
...
@@ -132,6 +132,22 @@ $form["tabs"]['dns'] = array (
'default'
=>
'Y'
,
'value'
=>
array
(
0
=>
'N'
,
1
=>
'Y'
)
),
'stamp'
=>
array
(
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'TEXT'
,
'default'
=>
''
,
'value'
=>
''
,
'width'
=>
'30'
,
'maxlength'
=>
'255'
),
'serial'
=>
array
(
'datatype'
=>
'INTEGER'
,
'formtype'
=>
'TEXT'
,
'default'
=>
''
,
'value'
=>
''
,
'width'
=>
'10'
,
'maxlength'
=>
'10'
),
##################################
# ENDE Datatable fields
##################################
...
...
interface/web/dns/form/dns_ns.tform.php
View file @
56b0b895
...
...
@@ -132,6 +132,22 @@ $form["tabs"]['dns'] = array (
'default'
=>
'Y'
,
'value'
=>
array
(
0
=>
'N'
,
1
=>
'Y'
)
),
'stamp'
=>
array
(
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'TEXT'
,
'default'
=>
''
,
'value'
=>
''
,
'width'
=>
'30'
,
'maxlength'
=>
'255'
),
'serial'
=>
array
(
'datatype'
=>
'INTEGER'
,
'formtype'
=>
'TEXT'
,
'default'
=>
''
,
'value'
=>
''
,
'width'
=>
'10'
,
'maxlength'
=>
'10'
),
##################################
# ENDE Datatable fields
##################################
...
...
interface/web/dns/form/dns_ptr.tform.php
View file @
56b0b895
...
...
@@ -134,6 +134,22 @@ $form["tabs"]['dns'] = array (
'default'
=>
'Y'
,
'value'
=>
array
(
0
=>
'N'
,
1
=>
'Y'
)
),
'stamp'
=>
array
(
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'TEXT'
,
'default'
=>
''
,
'value'
=>
''
,
'width'
=>
'30'
,
'maxlength'
=>
'255'
),
'serial'
=>
array
(
'datatype'
=>
'INTEGER'
,
'formtype'
=>
'TEXT'
,
'default'
=>
''
,
'value'
=>
''
,
'width'
=>
'10'
,
'maxlength'
=>
'10'
),
##################################
# ENDE Datatable fields
##################################
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment