equal
deleted
inserted
replaced
34 delete_domain($_GET["id"]); |
34 delete_domain($_GET["id"]); |
35 clean_page("index.php"); |
35 clean_page("index.php"); |
36 } |
36 } |
37 include_once("inc/header.inc.php"); |
37 include_once("inc/header.inc.php"); |
38 $info = get_domain_info_from_id($_GET["id"]); |
38 $info = get_domain_info_from_id($_GET["id"]); |
39 ?><h2><? echo _('Delete zone'); ?> "<? echo $info["name"] ?>"</h2> |
39 ?><h2><?php echo _('Delete zone'); ?> "<?php echo $info["name"] ?>"</h2> |
40 <? |
40 <?php |
41 if($info["owner"]) |
41 if($info["owner"]) |
42 { |
42 { |
43 print (_('Owner') . ": " . $info["owner"] . "<br>"); |
43 print (_('Owner') . ": " . $info["owner"] . "<br>"); |
44 } |
44 } |
45 print (_('Type') . ": " . strtolower($info["type"]) . "<br>"); |
45 print (_('Type') . ": " . strtolower($info["type"]) . "<br>"); |
53 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); |
53 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); |
54 print ("</font><br>"); |
54 print ("</font><br>"); |
55 } |
55 } |
56 } |
56 } |
57 ?> |
57 ?> |
58 <font class="warning"><? echo _('Are you sure?'); ?></font> |
58 <font class="warning"><?php echo _('Are you sure?'); ?></font> |
59 <br><br> |
59 <br><br> |
60 <input type="button" class="button" OnClick="location.href='<? echo $_SERVER["REQUEST_URI"] ?>&confirm=1'" value="<? echo _('Yes'); ?>"> |
60 <input type="button" class="button" OnClick="location.href='<?php echo $_SERVER["REQUEST_URI"] ?>&confirm=1'" value="<?php echo _('Yes'); ?>"> |
61 <input type="button" class="button" OnClick="location.href='<? echo $_SERVER["REQUEST_URI"] ?>&confirm=0'" value="<? echo _('No'); ?>"> |
61 <input type="button" class="button" OnClick="location.href='<?php echo $_SERVER["REQUEST_URI"] ?>&confirm=0'" value="<?php echo _('No'); ?>"> |
62 <? |
62 <?php |
63 } elseif ($_GET["edit"]) { |
63 } elseif ($_GET["edit"]) { |
64 include_once("inc/header.inc.php"); |
64 include_once("inc/header.inc.php"); |
65 } else { |
65 } else { |
66 include_once("inc/header.inc.php"); |
66 include_once("inc/header.inc.php"); |
67 echo _('Nothing to do!'); |
67 echo _('Nothing to do!'); |