inc/toolkit.inc.php
changeset 164 4c6adb48dcfd
parent 148 362a952b0a12
child 176 18905ae8cca3
equal deleted inserted replaced
163:32d4c63c50c9 164:4c6adb48dcfd
    86 // $rtypes - array of possible record types
    86 // $rtypes - array of possible record types
    87 $rtypes = array('A', 'AAAA', 'CNAME', 'HINFO', 'MX', 'NAPTR', 'NS', 'PTR', 'SOA', 'SRV', 'TXT');
    87 $rtypes = array('A', 'AAAA', 'CNAME', 'HINFO', 'MX', 'NAPTR', 'NS', 'PTR', 'SOA', 'SRV', 'TXT');
    88 
    88 
    89 // If fancy records is enabled, extend this field.
    89 // If fancy records is enabled, extend this field.
    90 if($dns_fancy) {
    90 if($dns_fancy) {
    91         $rtypes[10] = 'URL';
    91         $rtypes[12] = 'URL';
    92         $rtypes[11] = 'MBOXFW';
    92         $rtypes[13] = 'MBOXFW';
    93 }
    93 }
    94 
    94 
    95 // $template - array of records that will be applied when adding a new zone file
    95 // $template - array of records that will be applied when adding a new zone file
    96 $template = array(
    96 $template = array(
    97                 array(
    97                 array(