updated
This commit is contained in:
parent
e977e62a67
commit
ab6e35044f
1 changed files with 18 additions and 11 deletions
|
@ -37,20 +37,27 @@ class nicco_handler
|
||||||
{
|
{
|
||||||
|
|
||||||
$items = array(
|
$items = array(
|
||||||
'owner' => 'Registrant:',
|
'owner' => 'Holder Contact',
|
||||||
'admin' => 'Administrative Contact',
|
'admin' => 'Admin Contact',
|
||||||
'tech' => 'Technical Contact',
|
'tech' => 'Tech. Contact',
|
||||||
'domain.name' => 'Domain Name:',
|
'domain.nserver.' => 'Nameservers',
|
||||||
'domain.nserver.' => 'Name servers in listed order:',
|
'domain.created' => 'Creation Date:',
|
||||||
'domain.created' => 'Record created on',
|
'domain.expires' => 'Expiration Date:'
|
||||||
'domain.expires' => 'Record expires on',
|
|
||||||
'domain.changed' => 'Last Updated on:'
|
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$translate = array(
|
||||||
|
'city:' => 'address.city',
|
||||||
|
'org. name:' => 'organization',
|
||||||
|
'address1:' => 'address.street.',
|
||||||
|
'address2:' => 'address.street.',
|
||||||
|
'state:' => 'address.state',
|
||||||
|
'postal code:' => 'address.zip'
|
||||||
|
);
|
||||||
|
|
||||||
$r = get_blocks($data_str, $items, true);
|
$r = get_blocks($data_str, $items, true);
|
||||||
$r['owner'] = get_contact($r['owner']);
|
$r['owner'] = get_contact($r['owner'],$translate);
|
||||||
$r['admin'] = get_contact($r['admin'],false,true);
|
$r['admin'] = get_contact($r['admin'],$translate,true);
|
||||||
$r['tech'] = get_contact($r['tech'],false,true);
|
$r['tech'] = get_contact($r['tech'],$translate,true);
|
||||||
$r = format_dates($r, 'dmy');
|
$r = format_dates($r, 'dmy');
|
||||||
return ($r);
|
return ($r);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue