diff --git a/bureau/admin/dom_dodel.php b/bureau/admin/dom_dodel.php index 5ddf93f3..88942d27 100644 --- a/bureau/admin/dom_dodel.php +++ b/bureau/admin/dom_dodel.php @@ -32,7 +32,8 @@ include_once("head.php"); $fields = array ( "domain" => array ("request", "string", ""), - "del_confirm" => array ("post", "string", ""), + "del_confirm" => array ("post", "string", ""), + "del_cancel" => array ("request", "string", ""), ); getFields($fields); @@ -46,6 +47,17 @@ if ($del_confirm=="y") } $dom->unlock(); + +if (! empty($del_cancel)) { + $dom->del_domain_cancel($domain); + // The link to this function is disable : the del_domain_cancel function need some modification + __("Deletion have been successfully cancelled");?>
+

+ +

+ @@ -61,8 +73,7 @@ if ($del_confirm!="y") { " /> - " onclick="history.back()" /> - - diff --git a/bureau/admin/dom_edit.php b/bureau/admin/dom_edit.php index 46c066cc..d1446759 100644 --- a/bureau/admin/dom_edit.php +++ b/bureau/admin/dom_edit.php @@ -70,6 +70,25 @@ function dnsoff() { } ?>
+ +

+ +

+&del_cancel=true"> +*/ +?> +