equal
deleted
inserted
replaced
66 if ($_POST["commit"]) { |
66 if ($_POST["commit"]) { |
67 if ( $zone_type == "SLAVE" || $perm_content_edit == "none" || $perm_content_edit == "own" && $user_is_zone_owner == "0" ) { |
67 if ( $zone_type == "SLAVE" || $perm_content_edit == "none" || $perm_content_edit == "own" && $user_is_zone_owner == "0" ) { |
68 error(ERR_PERM_ADD_RECORD); |
68 error(ERR_PERM_ADD_RECORD); |
69 } else { |
69 } else { |
70 if ( add_record($zone_id, $name, $type, $content, $ttl, $prio)) { |
70 if ( add_record($zone_id, $name, $type, $content, $ttl, $prio)) { |
71 success(_('The record was succesfully added.')); |
71 success(_('The record was successfully added.')); |
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 |