Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Commit

Permalink
Added .barcelona to additional fields.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikyKuroneko committed Jan 11, 2016
1 parent 8276e17 commit 8d32ac8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion additionaldomainfields.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@
$additionaldomainfields['.aero'][] = array('Name' => 'ID', 'LangVar' => 'aero_id', 'Type' => 'text', 'Size' => 50, 'Default' => '', 'Required' => true);
$additionaldomainfields['.aero'][] = array('Name' => 'Password', 'LangVar' => 'aero_pass', 'Type' => 'text', 'Size' => 50, 'Default' => '', 'Required' => true);

// .CAT, .PL, .SCOT, .EUS, .GAL, .QUEBEC
// .BARCELONA, .CAT, .PL, .SCOT, .EUS, .GAL, .QUEBEC
$additionaldomainfields['.barcelona'][] = array('Name' => 'Intended Use', 'LangVar' => 'barcelona_intendeduse','Type' => 'text', 'Size' => 50, 'Default' => '', 'Required' => true);
$additionaldomainfields['.cat'][] = array('Name' => 'Intended Use', 'LangVar' => 'cat_intendeduse', 'Type' => 'text', 'Size' => 50, 'Default' => '', 'Required' => true);
$additionaldomainfields['.pl'][] = array('Name' => 'Intended Use', 'LangVar' => 'pl_intendeduse', 'Type' => 'text', 'Size' => 50, 'Default' => '', 'Required' => true);
$additionaldomainfields['.scot'][] = array('Name' => 'Intended Use', 'LangVar' => 'scot_intendeduse', 'Type' => 'text', 'Size' => 50, 'Default' => '', 'Required' => true);
Expand Down
4 changes: 2 additions & 2 deletions lib/sdk/DonDominioAPI/Wrappers/DonDominioAPIModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ protected function validate(array $params = array(), array $map = array())
*/
case 'phone':
if(!preg_match('/^\+(\d+)\.(\d+)$/i', $value)){
$errors[] = 'Parameter "' . $parameter['name'] . '" must be a valid phone number, in +DD.DDDDDDDD... format';
$errors[] = 'Parameter "' . $parameter['name'] . '" must be a valid phone number, in +DD.DDDDDDDDD... format';
}

break;
Expand Down Expand Up @@ -374,4 +374,4 @@ protected function cname($cname)
}
}

?>
?>
Binary file modified logo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions version.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"version": "1.6",
"releaseDate": "2016-01-08"
"version": "1.6.1",
"releaseDate": "2016-01-11"
}

0 comments on commit 8d32ac8

Please sign in to comment.