Skip to content

Commit

Permalink
Language direction is important. Changed as: <b>AVS Result:</b> $a
Browse files Browse the repository at this point in the history
merged from 16_stable.
  • Loading branch information
ethem committed May 13, 2006
1 parent 36e2232 commit 6e6c37e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions enrol/authorize/action.php
@@ -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');
Expand Down Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion lang/en_utf8/enrol_authorize.php
Expand Up @@ -49,7 +49,7 @@
$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';
Expand Down

0 comments on commit 6e6c37e

Please sign in to comment.