26 require_once(
"../class/config.php");
27 include_once(
"head.php");
31 "sub_domain_id" => array (
"request",
"integer", 0),
39 if (!
$r=
$dom->get_sub_domain_all($sub_domain_id)) {
40 echo
$msg->msg_html_all();
41 include_once(
'foot.php');
48 include_once(
'foot.php');
54 $msg->raise(
"ERROR",
"dom", _(
"This page is restricted to authorized staff"));
55 include(
"dom_edit.php");
62 if (
$msg->has_msgs(
"ERROR")) {
63 include_once(
"dom_edit.php");
68 __(
"Editing subdomain");
69 echo
" http://";
ecif(
$r[
'name'],
$r[
'name'].
"."); echo
$r[
'domain'].
"</h3>";
71 echo
$msg->msg_html_all();
78 require_once(
'dom_edit.inc.php');
81 include_once(
"foot.php");
sub_domains_edit($domain, $sub_domain_id=false)
Form to edit / add subdomains, using domaine_type table to show a synamic form.
if(!isset($noread)||! $noread) if(! $r) $dt
$fields
Form to edit subdomains informations.
if(! $isinvited && $dt[strtolower($r['type'])]["enable"] !="ALL") $domroot
getFields($fields, $requestOnly=false)
Get the Fields of the posted form from $_REQUEST or POST or GET and check their type.
ecif($test, $tr, $fa="", $affiche=1)