add_record.php
changeset 110 455405c757e1
parent 82 c255196bc447
child 119 f74e4f88b680
equal deleted inserted replaced
109:34b2d49f52c6 110:455405c757e1
    72 			unset($zone_id, $name, $type, $content, $ttl, $prio);
    72 			unset($zone_id, $name, $type, $content, $ttl, $prio);
    73 		}
    73 		}
    74 	}
    74 	}
    75 }
    75 }
    76 
    76 
    77 echo "    <h2>" . _('Add record in zone') . " " .  $zone_name . "</h2>\n";
    77 echo "    <h2>" . _('Add record to zone') . " " .  $zone_name . "</h2>\n";
    78 
    78 
    79 if ( $zone_type == "SLAVE" || $perm_content_edit == "none" || $perm_content_edit == "own" && $user_is_zone_owner == "0" ) {
    79 if ( $zone_type == "SLAVE" || $perm_content_edit == "none" || $perm_content_edit == "own" && $user_is_zone_owner == "0" ) {
    80 	error(ERR_PERM_ADD_RECORD); 
    80 	error(ERR_PERM_ADD_RECORD); 
    81 } else {
    81 } else {
    82 	echo "     <form method=\"post\">\n";
    82 	echo "     <form method=\"post\">\n";