diff -r 7be4525290cc -r 2ff220cfde13 delete_domain.php --- a/delete_domain.php Sun Apr 22 16:27:45 2007 +0000 +++ b/delete_domain.php Mon Jun 04 18:43:11 2007 +0000 @@ -1,23 +1,5 @@ trancer nl> | -// | Sjeemz sjeemz nl> | -// +--------------------------------------------------------------------+ - -// -// $Id: delete_domain.php,v 1.6 2002/12/18 01:13:10 azurazu Exp $ -// - require_once("inc/toolkit.inc.php"); if (!level(5)) @@ -35,12 +17,30 @@ } include_once("inc/header.inc.php"); $info = get_domain_info_from_id($_GET["id"]); - ?>

""

- :
- :

-

- &confirm=1'" VALUE=""> &confirm=0'" VALUE=""> + ?>

""

"); + } + print (_('Type') . ": " . strtolower($info["type"]) . "
"); + print (_('Number of records in zone') . ": " . $info["numrec"] . "
"); + if($info["type"] == "SLAVE") + { + $slave_master = get_domain_slave_master($_GET["id"]); + if(supermaster_exists($slave_master)) + { + print (""); + printf(_('You are about to delete a slave zone of which the master nameserver, %s, is a supermaster. Deleting the zone now, will result in temporary removal only. Whenever the supermaster sends a notification for this zone, it will be added again!'), $slave_master); + print ("
"); + } + } + ?> + +

+ &confirm=1'" value=""> + &confirm=0'" value=""> +