26 require_once(
"../class/config.php");
27 include_once(
"head.php");
30 "domain" => array (
"request",
"string",
""),
31 "del_confirm" => array (
"post",
"string",
""),
32 "del_cancel" => array (
"post",
"string",
""),
36 if ($del_confirm==
"y") {
38 include(
"dom_edit.php");
43 if (! empty($del_cancel)) {
49 $msg->raise(
"INFO",
"dom", _(
"Deletion have been successfully cancelled"));
50 echo
$msg->msg_html_all();
53 <span
class=
"ina"><a href=
"main.php" target=
"_parent"><?php
__(
"Click here to continue"); ?></a></span>
58 if ($del_confirm!=
"y") {
61 <h3><?php printf(_(
"Confirm the deletion of domain %s"),
$domain); ?></h3>
64 <p
class=
"alert alert-warning"><?php
__(
"WARNING"); ?><br /><?php printf(_(
"Confirm the deletion of domain %s"),
$domain); ?><br />
66 <?php
__(
"This will delete the related sub-domains too."); ?></p>
67 <form method=
"post" action=
"dom_dodel.php" id=
"main">
70 <input type=
"hidden" name=
"del_confirm" value=
"y" />
71 <input type=
"hidden" name=
"domain" value=
"<?php ehe($domain); ?>" />
72 <input type=
"submit" class=
"inb ok" name=
"submit" value=
"<?php __("Yes,
delete this domain name
"); ?>" />
73 <input type=
"button" class=
"inb cancel" name=
"non" value=
"<?php __("No, don
't delete this domain name"); ?>" onclick="history.back()" />
75 <?php include_once("foot.php");
79 <h3><?php printf(_("Domain %s deleted"),$domain); ?></h3>
83 $msg->raise("INFO", "dom", _("The domain %s has been successfully deleted."),$domain);
84 echo $msg->msg_html_all();
87 <span class="ina"><a href="main.php" target="_parent"><?php __("Click here to continue"); ?></a></span>
88 <?php $mem->show_help("del_domain"); ?>
90 <?php include_once("foot.php"); ?>
$fields
Delete a domain, confirm the deletion.
getFields($fields, $requestOnly=false)
Get the Fields of the posted form from $_REQUEST or POST or GET and check their type.
csrf_get($return=false)
Give a new CSRF uniq token for a form the session must be up since the CSRF is linked to the session ...