fix for .fj handler
This commit is contained in:
parent
ba6db8e48b
commit
afadc2471d
3 changed files with 8 additions and 16 deletions
|
@ -2,7 +2,7 @@
|
|||
- added handler for gandi (request #3155752)
|
||||
- added handler for .cl
|
||||
- corrected utf-8 support for .hu, .br and ripe
|
||||
- fixes for .pl, .org.za, .be, .cz, .de handlers
|
||||
- fixes for .pl, .org.za, .be, .cz, .de, .fj handlers
|
||||
|
||||
2011/06/24
|
||||
- fixed .be handler (bug #3307363)
|
||||
|
|
|
@ -41,40 +41,32 @@ class fj_handler
|
|||
$items = array(
|
||||
'owner' => 'Registrant:',
|
||||
'domain.status' => 'Status:',
|
||||
'domain.name' => 'Domain name:',
|
||||
'domain.expires' => 'Expires:',
|
||||
'domain.nserver' => 'Domain servers:'
|
||||
);
|
||||
|
||||
$r['regrinfo'] = get_blocks($data_str['rawdata'], $items);
|
||||
|
||||
if (!empty($r['regrinfo']['domain']['name']))
|
||||
if (!empty($r['regrinfo']['domain']['status']))
|
||||
{
|
||||
$r['regrinfo'] = get_contacts($r['regrinfo']);
|
||||
|
||||
$r['regrinfo']['domain']['name'] = $r['regrinfo']['domain']['name'][0];
|
||||
|
||||
date_default_timezone_set("Pacific/Fiji");
|
||||
|
||||
if (isset($r['regrinfo']['domain']['expires']))
|
||||
$r['regrinfo']['domain']['expires'] = strftime("%Y-%m-%d",strtotime($r['regrinfo']['domain']['expires']));
|
||||
|
||||
$r['regyinfo'] = array(
|
||||
'referrer' => 'http://www.domains.fj',
|
||||
'registrar' => 'FJ Domain Name Registry'
|
||||
);
|
||||
|
||||
$r['regrinfo']['registered'] = 'yes';
|
||||
}
|
||||
else
|
||||
{
|
||||
$r = '';
|
||||
$r['regrinfo']['registered'] = 'no';
|
||||
}
|
||||
|
||||
return ($r);
|
||||
$r['regyinfo'] = array(
|
||||
'referrer' => 'http://www.domains.fj',
|
||||
'registrar' => 'FJ Domain Name Registry'
|
||||
);
|
||||
return $r;
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
|
||||
|
|
|
@ -82,7 +82,7 @@ $this->WHOIS_SPECIAL = array(
|
|||
'bz' => 'whois2.afilias-grs.net',
|
||||
'cy' => '',
|
||||
'es' => '',
|
||||
//'fj' => 'whois.usp.ac.fj',
|
||||
'fj' => 'whois.usp.ac.fj',
|
||||
'fm' => 'http://www.dot.fm/query_whois.cfm?domain={domain}&tld=fm',
|
||||
'jobs' => 'jobswhois.verisign-grs.com',
|
||||
'ke' => 'kenic.or.ke',
|
||||
|
|
Loading…
Reference in a new issue