Alternc
3.2
Alternc logiel libre pour l'hébergement
Main Page
Related Pages
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Pages
adm_domstypedoedit.php
Go to the documentation of this file.
1
<?php
2
require_once(
"../class/config.php"
);
3
if
(!$admin->enabled) {
4
__
(
"This page is restricted to authorized staff"
);
5
exit
();
6
}
7
8
$fields
= array (
9
"name"
=> array (
"post"
,
"string"
,
""
),
10
"description"
=> array (
"post"
,
"string"
,
""
),
11
"target"
=> array (
"post"
,
"string"
,
""
),
12
"entry"
=> array (
"post"
,
"string"
,
""
),
13
"compatibility"
=> array (
"post"
,
"string"
,
""
),
14
"enable"
=> array (
"post"
,
"string"
,
""
),
15
"only_dns"
=> array (
"post"
,
"string"
,
""
),
16
"need_dns"
=> array (
"post"
,
"string"
,
""
),
17
"advanced"
=> array (
"post"
,
"string"
,
""
),
18
"create_tmpdir"
=> array (
"post"
,
"string"
,
""
),
19
"create_targetdir"
=> array (
"post"
,
"string"
,
""
),
20
);
21
getFields
(
$fields
);
22
23
if
( !
$dom
->domains_type_update($name, $description, $target, $entry, $compatibility, $enable, $only_dns, $need_dns, $advanced,$create_tmpdir,$create_targetdir) ) {
24
die(
$err
->errstr());
25
}
else
{
26
include(
"adm_domstype.php"
);
27
}
28
29
?>
30
31
code
alternc
bureau
admin
adm_domstypedoedit.php
Generated on Mon Mar 24 2014 17:14:20 for Alternc by
1.8.1.2