delete_domain.php
changeset 2 9a485c41cfcf
parent 1 58094faf794d
child 3 64525a2eb098
equal deleted inserted replaced
1:58094faf794d 2:9a485c41cfcf
    33                 delete_domain($_GET["id"]);
    33                 delete_domain($_GET["id"]);
    34                 clean_page("index.php");
    34                 clean_page("index.php");
    35         }
    35         }
    36         include_once("inc/header.inc.php");
    36         include_once("inc/header.inc.php");
    37         $info = get_domain_info_from_id($_GET["id"]);
    37         $info = get_domain_info_from_id($_GET["id"]);
    38         ?><H2>Delete domain "<?= $info["name"] ?>"</H2>
    38         ?><H2><? echo _('Delete domain'); ?> "<?= $info["name"] ?>"</H2>
    39         Owner: <?= $info["owner"] ?><BR>
    39         <? echo _('Owner'); ?>: <?= $info["owner"] ?><BR>
    40         Number of records in zone: <?= $info["numrec"] ?><BR><BR>
    40         <? echo _('Number of records in zone'); ?>: <?= $info["numrec"] ?><BR><BR>
    41         <FONT CLASS="warning">Are you sure?</FONT><BR><BR>
    41         <FONT CLASS="warning"><? echo _('Are you sure'); ?>?</FONT><BR><BR>
    42         <INPUT TYPE="button" CLASS="button" OnClick="location.href='<?= $_SERVER["REQUEST_URI"] ?>&confirm=1'" VALUE="Yes"> <INPUT TYPE="button" CLASS="button" OnClick="location.href='<?= $_SERVER["REQUEST_URI"] ?>&confirm=0'" VALUE="No">
    42         <INPUT TYPE="button" CLASS="button" OnClick="location.href='<?= $_SERVER["REQUEST_URI"] ?>&confirm=1'" VALUE="<? echo _('Yes'); ?>"> <INPUT TYPE="button" CLASS="button" OnClick="location.href='<?= $_SERVER["REQUEST_URI"] ?>&confirm=0'" VALUE="<? echo _('No'); ?>">
    43         <?
    43         <?
    44 } elseif ($_GET["edit"]) {
    44 } elseif ($_GET["edit"]) {
    45         include_once("inc/header.inc.php");
    45         include_once("inc/header.inc.php");
    46 } else {
    46 } else {
    47         include_once("inc/header.inc.php");
    47         include_once("inc/header.inc.php");