From bd31066900b816065bdd106f8a41c48842a21da1 Mon Sep 17 00:00:00 2001 From: Alan Garcia Date: Fri, 30 Aug 2013 15:01:33 +0000 Subject: [PATCH] =?UTF-8?q?Avait=20oubli=C3=A9=20de=20commit=C3=A9=20ca=20?= =?UTF-8?q?:=20dump=20de=20la=20zone=20dispo=20:)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitattributes | 1 + bureau/admin/dom_dnsdump.php | 15 +++++++++++++++ bureau/admin/dom_edit.php | 35 ++++++++++++++++++++++++++++++++++- 3 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 bureau/admin/dom_dnsdump.php diff --git a/.gitattributes b/.gitattributes index db657df8..1e1c775f 100644 --- a/.gitattributes +++ b/.gitattributes @@ -98,6 +98,7 @@ bureau/admin/browseforfolder2.php -text bureau/admin/cron.php -text bureau/admin/dom_add.php -text bureau/admin/dom_defdel.php -text +bureau/admin/dom_dnsdump.php -text bureau/admin/dom_doadd.php -text bureau/admin/dom_dodel.php -text bureau/admin/dom_edit.inc.php -text diff --git a/bureau/admin/dom_dnsdump.php b/bureau/admin/dom_dnsdump.php new file mode 100644 index 00000000..5269a05a --- /dev/null +++ b/bureau/admin/dom_dnsdump.php @@ -0,0 +1,15 @@ + array ("get", "string", ""), +); +getFields($fields); + +if (empty($domain)) die(_("Error: no domain")); + +foreach ($dom->dump_axfr($domain) as $o ) { + echo "$o\n"; +} + +?> diff --git a/bureau/admin/dom_edit.php b/bureau/admin/dom_edit.php index d0b242d9..c4fdb589 100644 --- a/bureau/admin/dom_edit.php +++ b/bureau/admin/dom_edit.php @@ -117,6 +117,7 @@ if ($r['dns_action']=='UPDATE') {?>
  • +
  • @@ -257,6 +258,20 @@ if (!$r['noerase']) { + + +
    +

    + +

    + +
    
    +
    +
    +
    + +
    +


    @@ -270,6 +285,24 @@ if (!$r['noerase']) {