Alternc  3.2
Alternc logiel libre pour l'h├ębergement
 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 );
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