fixed .fr handler

This commit is contained in:
sparc 2008-06-11 15:09:37 +00:00
parent 6cfad1fcd4
commit 60119b6cf2
2 changed files with 13 additions and 6 deletions

View file

@ -1,5 +1,6 @@
2008/06/11
- fixed .cz handler registered date
- fixed .fr handler
2008/05/28
- added handler for .it

View file

@ -58,16 +58,22 @@ class fr_handler
'zone-c' => 'zone'
);
$r = generic_parser_a($data_str['rawdata'], $translate, $contacts, 'domain','dmY');
$reg = generic_parser_a($data_str['rawdata'], $translate, $contacts, 'domain','dmY');
if (isset($r['domain']['holder']))
if (isset($reg['domain']['holder']))
{
$r['owner']['organization'] = $r['domain']['holder'];
unset($r['domain']['holder']);
$r['owner']['address'] = $r['domain']['address'];
unset($r['domain']['address']);
$reg['owner']['organization'] = $reg['domain']['holder'];
unset($reg['domain']['holder']);
$reg['owner']['address'] = $reg['domain']['address'];
unset($reg['domain']['address']);
}
$r['regrinfo'] = $reg;
$r['regyinfo'] = array(
'referrer' => 'http://www.nic.fr',
'registrar' => 'AFNIC'
);
return ($r);
}
}