diff --git a/web/api/app/View/Zones/json/add.ctp b/web/api/app/View/Zones/json/add.ctp new file mode 100644 index 000000000..1675fa9be --- /dev/null +++ b/web/api/app/View/Zones/json/add.ctp @@ -0,0 +1,2 @@ +echo json_encode($message); +echo json_encode($zone); diff --git a/web/api/app/View/Zones/json/edit.ctp b/web/api/app/View/Zones/json/edit.ctp new file mode 100644 index 000000000..1675fa9be --- /dev/null +++ b/web/api/app/View/Zones/json/edit.ctp @@ -0,0 +1,2 @@ +echo json_encode($message); +echo json_encode($zone); diff --git a/web/api/app/View/Zones/xml/add.ctp b/web/api/app/View/Zones/xml/add.ctp new file mode 100644 index 000000000..a8fcec73b --- /dev/null +++ b/web/api/app/View/Zones/xml/add.ctp @@ -0,0 +1,2 @@ +$xml = Xml::fromArray(array('response'=>$message, 'zone'=>$zone)); +echo $xml->asXML(); diff --git a/web/api/app/View/Zones/xml/edit.ctp b/web/api/app/View/Zones/xml/edit.ctp new file mode 100644 index 000000000..cb6f92f66 --- /dev/null +++ b/web/api/app/View/Zones/xml/edit.ctp @@ -0,0 +1,2 @@ +$xml = Xml::fromArray(array('response' => $message, 'zone'=>$zone)); +echo $xml->asXML();