| | |
| | | if(stristr($this->dataRecord["mbox"],'@')) { |
| | | $this->dataRecord["mbox"] = str_replace('@','.',$this->dataRecord["mbox"]); |
| | | } |
| | | |
| | | |
| | | //* Check if a secondary zone with the same name already exists |
| | | $tmp = $app->db->queryOneRecord("SELECT count(id) as number FROM dns_slave WHERE origin = \"".$this->dataRecord["origin"]."\" AND server_id = \"".$this->dataRecord["server_id"]."\""); |
| | | if($tmp["number"] > 0) { |
| | | $app->error($app->tform->wordbook["origin_error_unique"]); |
| | | } |
| | | |
| | | parent::onSubmit(); |
| | | } |
| | |
| | | $page = new page_action; |
| | | $page->onLoad(); |
| | | |
| | | ?> |
| | | ?> |