fixed sponsor detection on opensrsnet handler

This commit is contained in:
sparc 2006-02-27 07:43:56 +00:00
parent f8e1fe9889
commit 149482a2ca
2 changed files with 12 additions and 11 deletions

View file

@ -1,6 +1,7 @@
2006/02/27 David Saez <david@ols.es>
- minor fixes for non-existing .es domains
- fixed ip2long PHP5 compatibility
- fixed sponsor detection on opensrsnet handler
2006/02/13 David Saez <david@ols.es>
- fixed nserver detection in whois.es.php

View file

@ -28,8 +28,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
/* opensrsnet.whois 1.0 jeremiah bellomy 2000/04/06 */
/* opensrsnet.whois 2.1 david@ols.es 2003/02/15 */
if (!defined("__OPENSRSNET_HANDLER__"))
define("__OPENSRSNET_HANDLER__", 1);
if (!defined('__OPENSRSNET_HANDLER__'))
define('__OPENSRSNET_HANDLER__', 1);
require_once('whois.parser.php');
@ -40,15 +40,15 @@ class opensrsnet_handler
{
$items = array(
"owner" => "Registrant:",
"admin" => "Administrative Contact",
"tech" => "Technical Contact",
"domain.name" => "Domain name:",
"domain.sponsor" => "Registrar of Record:",
"domain.nserver" => "Domain servers in listed order:",
"domain.changed" => "Record last updated on",
"domain.created" => "Record created on",
"domain.expires" => "Record expires on"
'owner' => 'Registrant:',
'admin' => 'Administrative Contact',
'tech' => 'Technical Contact',
'domain.name' => 'Domain name:',
'domain.sponsor' => 'Registration Service Provider:',
'domain.nserver' => 'Domain servers in listed order:',
'domain.changed' => 'Record last updated on',
'domain.created' => 'Record created on',
'domain.expires' => 'Record expires on'
);
$r = get_blocks($data_str, $items);