26 require_once(
"../class/config.php");
27 include_once(
"head.php");
30 "sub_domain_id" => array (
"post",
"integer",
""),
35 $r=
$dom->get_sub_domain_all($sub_domain_id);
40 $msg->raise(
"ERROR",
"dom", _(
"This page is restricted to authorized staff"));
41 echo
$msg->msg_html_all();
47 $r=
$dom->get_sub_domain_all($sub_domain_id);
48 $dom->del_sub_domain($sub_domain_id);
52 <h3><?php echo sprintf(_(
"Deleting the subdomain %s:"),((
$r[
'name'])?
$r[
'name'].
".":
$r[
'name']).
$r[
'domain']); ?></h3>
56 if (
$msg->has_msgs(
"ERROR")) {
57 echo
$msg->msg_html_all();
58 include_once(
"foot.php");
63 $msg->raise(
"INFO",
"dom", _(
"The modifications will take effect at %s. Server time is %s."), array(date(
'H:i:s', (
$t-(
$t%300)+300)), date(
'H:i:s',
$t)));
64 echo
$msg->msg_html_all();
67 <p><span
class=
"ina"><a href=
"dom_edit.php?domain=<?php echo urlencode($r['domain']) ?>"><?php
__(
"Click here to continue"); ?></a></span></p>
68 <?php include_once(
"foot.php"); ?>
$fields
After confirmation of a subdomain deletion, do it here.
getFields($fields, $requestOnly=false)
Get the Fields of the posted form from $_REQUEST or POST or GET and check their type.
foreach($domaines_user as $domaine) $t