Changeset 203 for branches/awmn/includes/pages/mynodes/mynodes_dnszone.php
- Timestamp:
- 09/24/2009 01:25:39 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/awmn/includes/pages/mynodes/mynodes_dnszone.php
r202 r203 4 4 * 5 5 * Copyright (C) 2005 Nikolaos Nikalexis <winner@cube.gr> 6 * Copyright (C) 2009 Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr> 6 7 * 7 8 * This program is free software; you can redistribute it and/or modify … … 77 78 $_POST['dns_zones__name'] = substr($_POST['dns_zones__name'], 0, -strlen($vars['dns']['root_zone'])-1); 78 79 } 80 $_POST['dns_zones__name'] = validate_zone($_POST['dns_zones__name']); 79 81 $form_zone = $this->form_zone(); 80 82 $ret = TRUE; … … 82 84 if (get('zone') == 'add') { 83 85 if ($_POST['dns_zones__name'] == '') { 84 $db->output_error_fields_required(array('dns_zones__name')); 86 if (is_null($_POST['dns_zones__name'])) $main->message->set_fromlang('error', 'zone_invalid_name'); 87 else $db->output_error_fields_required(array('dns_zones__name')); 85 88 return; 86 89 }
Note: See TracChangeset
for help on using the changeset viewer.
