Language direction is important. Changed as: <b>AVS Result:</b> $a

merged from 16_stable.
This commit is contained in:
ethem
2006-05-13 08:53:34 +00:00
parent 36e2232e27
commit 6e6c37e2be
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
<?php // $Id$
if (!defined('MOODLE_INTERNAL')) {
die('Direct access to this script is forbidden.'); /// It must be included from a Moodle page
die('Direct access to this script is forbidden.');
}
define('AN_APPROVED', '1');
@@ -294,7 +294,7 @@ function authorizenet_action(&$order, &$message, &$extra, $action=AN_ACTION_NONE
if (!empty($CFG->an_avs)) {
$avs = "avs" . strtolower($response[5]);
$stravs = get_string($avs, "enrol_authorize");
$message .= "<br />" . get_string("avsresult", "enrol_authorize") . $stravs;
$message .= "<br />" . get_string("avsresult", "enrol_authorize", $stravs);
}
return false;
}
+1 -1
View File
@@ -49,7 +49,7 @@ $string['avsg'] = 'Non-U.S. Card Issuing Bank';
$string['avsn'] = 'No match on address (street) nor postal code';
$string['avsp'] = 'Address Verification System not applicable';
$string['avsr'] = 'Retry - System unavailable or timed out';
$string['avsresult'] = 'AVS Result:';
$string['avsresult'] = '<b>AVS Result:</b> $a';
$string['avss'] = 'Service not supported by issuer';
$string['avsu'] = 'Address information is unavailable';
$string['avsw'] = '9 digit postal code matches, address (street) does not';